Virgil Dupras
4f7a05e3b7
core: remove cpHLDE
It wasn't used much, so I replaced its use in the kernel with direct code
and moved the routine in apps/ed, the only other place where it was used.
преди 4 години
Virgil Dupras
c002c69208
Include tools/tests/shell/test.cfs in repo
The order in which cfspack includes its file depend on the platform. To have
tests that reliably pass, test.cfs has to be committed in.
преди 4 години
Virgil Dupras
9ab292a6d5
Add shell automated tests
преди 4 години
Virgil Dupras
43f4c5200e
basic: don't choke on ':' in '"' literals
преди 4 години
Virgil Dupras
5b155a5c15
tools: use BASIC's new while loop
Also, increase STDIO_BUFSIZE to 0x40 so that those while loops work.
преди 4 години
Virgil Dupras
3db38b0d89
basic: add while command
преди 4 години
Virgil Dupras
51c977f2ed
basic: allow multiple commands on the same line
преди 4 години
Virgil Dupras
5d33d165a2
cfspack: allow multiple patterns and multiple paths in args
Also, always end the CFS chain with a stop block.
fixes #55 #56 #57
преди 4 години
Virgil Dupras
888395d496
tools: replace tools for old shell with tools for new shell
ref #80
преди 4 години
Virgil Dupras
1710c865dc
doc: refer to the new BASIC shell in example
ref #80
преди 4 години
Virgil Dupras
25d25d017c
Replace old shell with BASIC shell
fixes #80
преди 4 години
Virgil Dupras
20151a97f8
recipes/rc2014/zasm: use BASIC shell
Also made Makefile actually portable.
преди 4 години
Virgil Dupras
880775ae69
recipes/rc2014/sdcard: use BASIC shell
преди 4 години
Virgil Dupras
7907687abf
tools/uploadb: make it much much faster
By uploading a BASIC loop and then run it, we can reduce the serial
communication to pure content which greatly reduces the overhead and make
the process much much faster.
преди 4 години
Virgil Dupras
b40b39f45c
tools: add blkdumpb
преди 4 години
Virgil Dupras
9ec71ecfee
tools/uploadb: rewrite in C
преди 4 години
Virgil Dupras
fcee98ee4e
tools: use the new "puth" BASIC command
преди 4 години
Virgil Dupras
fb93fcd6e6
recipes/rc2014/eeprom: add usr.asm
A little life saver if your target shell doesn't have a proper at28w.
преди 4 години
Virgil Dupras
beaea6f978
basic: add puth command
преди 4 години
Virgil Dupras
d9db0a824e
Make makefiles and shell scripts portable
It's no longer required to use `gmake` under OpenBSD and shell scripts
no longer require bash.
преди 4 години
Virgil Dupras
8ff4b18c51
tools: add memdumpb
In C this time. Python/Perl code is barely terser than C for these little
tools. Why bother with interpreted?
преди 4 години
Virgil Dupras
b56d6ca1c7
Rewrite uploadb.py in perl
I know, this is silly, but I'm moving tools to something a bit closer to the
system. I consider perl to be more system-like than python for a simple reason:
perl is part of the OpenBSD base system and python is not.
Also, I'm learning perl and using this as an opportunity.
преди 4 години
Virgil Dupras
5e0a548faa
kbd: squeeze out a few bytes
преди 4 години
Virgil Dupras
b9292eb8d0
recipes/rc2014/ps2: Use BASIC shell
преди 4 години
Virgil Dupras
3a68807cd4
kbd: make kbdGetC blocking
I forgot to update this when changing stdio GetC API.
преди 4 години
Virgil Dupras
08392fee60
recipes/rc2014/eeprom: use BASIC shell
преди 4 години
Virgil Dupras
0fb7995166
recipes/sms/romasm: add missing sentinel in .mycmds
преди 4 години
Virgil Dupras
30a0f69101
Fix broken uploadb.py
putc didn't work well with any byte value on most terminal configuration. It
was a bad idea...
преди 4 години
Virgil Dupras
270ad926c9
recipes/sms: use BASIC shell
преди 4 години
Virgil Dupras
66dacd1816
tools/emul: add "Min SP" debug value
This gives the maximum size of the stack at any given moment during the
execution of the program. It's useful to figure out if the stack gets
dangerously close to the heap.
преди 4 години
Virgil Dupras
2f07d849a8
tools/emul: deduplicate a little bit of C code
преди 4 години
Virgil Dupras
15e44ec524
doc: add TI83+/TI84+ doc page
преди 4 години
Virgil Dupras
105acedab8
basic: improve README
markdown formatting was broken. Also, don't mark it as WIP.
преди 4 години
Virgil Dupras
10864afa96
recipes/ti84: use the BASIC shell
преди 4 години
Virgil Dupras
572e3566eb
Add upload tooling for BASIC shell
преди 4 години
Virgil Dupras
4c07639808
basic: make cmd table more compact
This shaves off quite a few bytes from the binary.
преди 4 години
Virgil Dupras
4ba84dac5c
basic: add getc/putc commands
преди 4 години
Virgil Dupras
77485a0031
basic: change welcome prompt
This is becoming the new shell, it has to step up to its new responsibilities!
преди 4 години
Virgil Dupras
871b06fecf
bshell: adjust RAMSTART to avoid clashwith USER_CODE
With a 0x4000 RAMSTART, bshell's RAM usage clashed with USER_CODE, making
RAM-using userapp break everything.
преди 4 години
Virgil Dupras
fc23a7c4a1
basic: do registers-to-vars transfer after pgm hook call
преди 4 години
Virgil Dupras
264e72e0fd
basic: add fnew and fdel commands
преди 4 години
Virgil Dupras
817088f794
fs: fix broken "ensure Z" in fsIter
преди 4 години
Virgil Dupras
7c893dada1
basic: can now execute user apps!
Shell replacement sequence beginning in 3, 2, 1...
преди 4 години
Virgil Dupras
b29073b01d
basic: add fopen command
преди 4 години
Virgil Dupras
a0daed6812
basic: add usr command
преди 4 години
Virgil Dupras
12bc120375
basic: add bsel, bseek, getb, putb commands
преди 4 години
Virgil Dupras
8f1d942e5f
basic: add addr command
преди 4 години
Virgil Dupras
381d57a513
basic: make variable A the only input variable
Mechanism for assigning inputs to the specified variable is clumsy and uses
binary space. Always using A is much simpler and doesn't seem very limiting to
me. I do that because there's many more "input" commands I'd like to add.
преди 4 години
Virgil Dupras
e1df320d44
basic: add ldbas command
преди 4 години
Virgil Dupras
13f935aa88
basic: add fls command
Also, add the new `bshell` emulated tool. BASIC is on its way to replace the
shell.
преди 4 години