Virgil Dupras
fb93fcd6e6
recipes/rc2014/eeprom: add usr.asm
A little life saver if your target shell doesn't have a proper at28w.
pirms 4 gadiem
Virgil Dupras
beaea6f978
basic: add puth command
pirms 4 gadiem
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.
pirms 4 gadiem
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?
pirms 4 gadiem
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.
pirms 4 gadiem
Virgil Dupras
5e0a548faa
kbd: squeeze out a few bytes
pirms 4 gadiem
Virgil Dupras
b9292eb8d0
recipes/rc2014/ps2: Use BASIC shell
pirms 4 gadiem
Virgil Dupras
3a68807cd4
kbd: make kbdGetC blocking
I forgot to update this when changing stdio GetC API.
pirms 4 gadiem
Virgil Dupras
08392fee60
recipes/rc2014/eeprom: use BASIC shell
pirms 4 gadiem
Virgil Dupras
0fb7995166
recipes/sms/romasm: add missing sentinel in .mycmds
pirms 4 gadiem
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...
pirms 4 gadiem
Virgil Dupras
270ad926c9
recipes/sms: use BASIC shell
pirms 4 gadiem
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.
pirms 4 gadiem
Virgil Dupras
2f07d849a8
tools/emul: deduplicate a little bit of C code
pirms 4 gadiem
Virgil Dupras
15e44ec524
doc: add TI83+/TI84+ doc page
pirms 4 gadiem
Virgil Dupras
105acedab8
basic: improve README
markdown formatting was broken. Also, don't mark it as WIP.
pirms 4 gadiem
Virgil Dupras
10864afa96
recipes/ti84: use the BASIC shell
pirms 4 gadiem
Virgil Dupras
572e3566eb
Add upload tooling for BASIC shell
pirms 4 gadiem
Virgil Dupras
4c07639808
basic: make cmd table more compact
This shaves off quite a few bytes from the binary.
pirms 4 gadiem
Virgil Dupras
4ba84dac5c
basic: add getc/putc commands
pirms 4 gadiem
Virgil Dupras
77485a0031
basic: change welcome prompt
This is becoming the new shell, it has to step up to its new responsibilities!
pirms 4 gadiem
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.
pirms 4 gadiem
Virgil Dupras
fc23a7c4a1
basic: do registers-to-vars transfer after pgm hook call
pirms 4 gadiem
Virgil Dupras
264e72e0fd
basic: add fnew and fdel commands
pirms 4 gadiem
Virgil Dupras
817088f794
fs: fix broken "ensure Z" in fsIter
pirms 4 gadiem
Virgil Dupras
7c893dada1
basic: can now execute user apps!
Shell replacement sequence beginning in 3, 2, 1...
pirms 4 gadiem
Virgil Dupras
b29073b01d
basic: add fopen command
pirms 4 gadiem
Virgil Dupras
a0daed6812
basic: add usr command
pirms 4 gadiem
Virgil Dupras
12bc120375
basic: add bsel, bseek, getb, putb commands
pirms 4 gadiem
Virgil Dupras
8f1d942e5f
basic: add addr command
pirms 4 gadiem
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.
pirms 4 gadiem
Virgil Dupras
e1df320d44
basic: add ldbas command
pirms 4 gadiem
Virgil Dupras
13f935aa88
basic: add fls command
Also, add the new `bshell` emulated tool. BASIC is on its way to replace the
shell.
pirms 4 gadiem
Virgil Dupras
aad8efeff7
recipes/rc2014/basic: new recipe
pirms 4 gadiem
Virgil Dupras
b7d4860acf
basic: add in/out commands
Also, fixed the cmd matching algo to not accept partial matches. For example,
to stop matching "input" when the command was "in".
pirms 4 gadiem
Virgil Dupras
7761cebb0a
basic: add sleep command
also fix broken "peek"
pirms 4 gadiem
Virgil Dupras
9602f9b983
basic: add peek/poke/deek/doke commands
pirms 4 gadiem
Virgil Dupras
585e9f3b6e
tools/emul: add troubleshooting instructions in README
fixes #79
pirms 4 gadiem
Virgil Dupras
a680fd3328
basic: add support for signed integers
pirms 4 gadiem
Virgil Dupras
43b450ca30
Update bootstrap binaries
pirms 4 gadiem
Virgil Dupras
501fe96e07
lib/expr: use the IX register a bit less
It's an awkward register to use and avoiding its use allows us to strip the
resulting binary significantly. parseEXPR keeps the same signature though.
pirms 4 gadiem
Virgil Dupras
2f71ad6d2f
lib/expr: add left/right shifting operators
pirms 4 gadiem
Virgil Dupras
a03c5ac700
lib/expr: add bitwise operators
pirms 4 gadiem
Virgil Dupras
972e8221f1
lib/expr: add division and modulo operators
pirms 4 gadiem
Virgil Dupras
1b01f13105
lib/expr: refactor for easier operator addition
pirms 4 gadiem
Virgil Dupras
fd5b2ab856
Put app-common documentation in apps/README.md
pirms 4 gadiem
Virgil Dupras
e17dc1e1e1
basic: add input command
pirms 4 gadiem
Virgil Dupras
982d20f895
basic: allow printing of quoted strings
pirms 4 gadiem
Virgil Dupras
704d32279a
basic: document better
pirms 4 gadiem
Virgil Dupras
7262993f14
basic: add if
pirms 4 gadiem