Virgil Dupras
948a06cb41
tools/tests: add missing doc about shell tests
4 years ago
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 years ago
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 years ago
Virgil Dupras
9ab292a6d5
Add shell automated tests
4 years ago
Virgil Dupras
43f4c5200e
basic: don't choke on ':' in '"' literals
4 years ago
Virgil Dupras
5b155a5c15
tools: use BASIC's new while loop
Also, increase STDIO_BUFSIZE to 0x40 so that those while loops work.
4 years ago
Virgil Dupras
3db38b0d89
basic: add while command
4 years ago
Virgil Dupras
51c977f2ed
basic: allow multiple commands on the same line
4 years ago
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 years ago
Virgil Dupras
888395d496
tools: replace tools for old shell with tools for new shell
ref #80
4 years ago
Virgil Dupras
1710c865dc
doc: refer to the new BASIC shell in example
ref #80
4 years ago
Virgil Dupras
25d25d017c
Replace old shell with BASIC shell
fixes #80
4 years ago
Virgil Dupras
20151a97f8
recipes/rc2014/zasm: use BASIC shell
Also made Makefile actually portable.
4 years ago
Virgil Dupras
880775ae69
recipes/rc2014/sdcard: use BASIC shell
4 years ago
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 years ago
Virgil Dupras
b40b39f45c
tools: add blkdumpb
4 years ago
Virgil Dupras
9ec71ecfee
tools/uploadb: rewrite in C
4 years ago
Virgil Dupras
fcee98ee4e
tools: use the new "puth" BASIC command
4 years ago
Virgil Dupras
fb93fcd6e6
recipes/rc2014/eeprom: add usr.asm
A little life saver if your target shell doesn't have a proper at28w.
4 years ago
Virgil Dupras
beaea6f978
basic: add puth command
4 years ago
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 years ago
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 years ago
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 years ago
Virgil Dupras
5e0a548faa
kbd: squeeze out a few bytes
4 years ago
Virgil Dupras
b9292eb8d0
recipes/rc2014/ps2: Use BASIC shell
4 years ago
Virgil Dupras
3a68807cd4
kbd: make kbdGetC blocking
I forgot to update this when changing stdio GetC API.
4 years ago
Virgil Dupras
08392fee60
recipes/rc2014/eeprom: use BASIC shell
4 years ago
Virgil Dupras
0fb7995166
recipes/sms/romasm: add missing sentinel in .mycmds
4 years ago
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 years ago
Virgil Dupras
270ad926c9
recipes/sms: use BASIC shell
4 years ago
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 years ago
Virgil Dupras
2f07d849a8
tools/emul: deduplicate a little bit of C code
4 years ago
Virgil Dupras
15e44ec524
doc: add TI83+/TI84+ doc page
4 years ago
Virgil Dupras
105acedab8
basic: improve README
markdown formatting was broken. Also, don't mark it as WIP.
4 years ago
Virgil Dupras
10864afa96
recipes/ti84: use the BASIC shell
4 years ago
Virgil Dupras
572e3566eb
Add upload tooling for BASIC shell
4 years ago
Virgil Dupras
4c07639808
basic: make cmd table more compact
This shaves off quite a few bytes from the binary.
4 years ago
Virgil Dupras
4ba84dac5c
basic: add getc/putc commands
4 years ago
Virgil Dupras
77485a0031
basic: change welcome prompt
This is becoming the new shell, it has to step up to its new responsibilities!
4 years ago
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 years ago
Virgil Dupras
fc23a7c4a1
basic: do registers-to-vars transfer after pgm hook call
4 years ago
Virgil Dupras
264e72e0fd
basic: add fnew and fdel commands
4 years ago
Virgil Dupras
817088f794
fs: fix broken "ensure Z" in fsIter
4 years ago
Virgil Dupras
7c893dada1
basic: can now execute user apps!
Shell replacement sequence beginning in 3, 2, 1...
4 years ago
Virgil Dupras
b29073b01d
basic: add fopen command
4 years ago
Virgil Dupras
a0daed6812
basic: add usr command
4 years ago
Virgil Dupras
12bc120375
basic: add bsel, bseek, getb, putb commands
4 years ago
Virgil Dupras
8f1d942e5f
basic: add addr command
4 years ago
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 years ago
Virgil Dupras
e1df320d44
basic: add ldbas command
4 years ago