Virgil Dupras
8ef9e7d0da
forth: Forth-ify "@"
4 years ago
Virgil Dupras
f9c3a0444c
forth: Forth-ify "DROP"
4 years ago
Virgil Dupras
49994f09ce
forth: add word "2DROP"
4 years ago
Virgil Dupras
8186511727
forth: fix bootstrapping issues with "LITN" and "+"
4 years ago
Virgil Dupras
395eb04fac
forth: Forth-ify "C<"
4 years ago
Virgil Dupras
f6cba4b1cf
forth: Forth-ify "QUIT"
4 years ago
Virgil Dupras
da9f9f9899
forth: melt boot binary
4 years ago
Virgil Dupras
d09ec0d757
forth: Forth-ify "SWAP"
4 years ago
Virgil Dupras
cc4700e389
forth: Forth-ify "DUP"
4 years ago
Virgil Dupras
09cd25df29
forth: Forth-ify "OVER"
4 years ago
Virgil Dupras
9cfddea940
forth: Forth-ify "+"
4 years ago
Virgil Dupras
a2c258afba
forth: Forth-ify "CMP"
forth.asm under 1K lines!
4 years ago
Virgil Dupras
7c9d799d93
forth: Forth-ify "SCMP"
4 years ago
Virgil Dupras
400ef99b54
forth: fix dumb bug in (?br)
inc (hl) is 8 bit, inc (hl) is 8 bit, inc (hl) is 8 bit. Now I hope
I'll remember...
4 years ago
Virgil Dupras
d2dcd96ce1
emul: add useful emul_trace() debugging tool
4 years ago
Virgil Dupras
48078d9c9c
forth: Replace "SKIP?" with "(?br)"
There is an alternate git history where I continued the Forth-ification of
words, including "SKIP?", but that was a bad idea: because that word was
written by flow control immediates, I stepped into quicksands where stability
became necessary in z80c.fs and I couldn't gracefully get out of it.
I'm stepping back and take this opportunity to replace the shoddy SKIP? algo
with a more straightforward (?br) implementation.
(br) and (?br) will always stay in boot code where it's easier manage a stable
ABI.
4 years ago
Virgil Dupras
9fcfebd84c
forth: Forth-ify "WS?"
4 years ago
Virgil Dupras
a17da42021
forth: remove unused (fbr) and (bbr)
4 years ago
Virgil Dupras
c1693c6256
forth: Forth-ify "TOWORD"
4 years ago
Virgil Dupras
8b7947bc6a
forth: Forth-ify "WORD"
4 years ago
Virgil Dupras
6e3b47f4a4
forth: Replace "(fbr)" and "(bbr)" words by "(br)"
I can't get rid of "(fbr)" and "(bbr)" just yet, but soon...
4 years ago
Virgil Dupras
758ec025dc
forth: Forth-ify "LITN"
4 years ago
Virgil Dupras
1227ee7155
forth: Forth-ify "EMIT"
4 years ago
Virgil Dupras
2db6ebc247
forth: Forth-ify "BYE"
4 years ago
Virgil Dupras
e0eaa8ba63
forth: Forth-ify "ABORT"
4 years ago
Virgil Dupras
8d8e1d93da
forth: slightly improve assembler
4 years ago
Virgil Dupras
ab98e9bcd1
forth: Forth-ify "(uflw)"
4 years ago
Virgil Dupras
5471ef02a7
forth: Forth-ify "BOOT"
4 years ago
Virgil Dupras
408d93bd23
forth: Forth-ify "IMMED?"
4 years ago
Virgil Dupras
8f990ff954
forth: Forth-ify "IMMEDIATE"
4 years ago
Virgil Dupras
41cd8086d4
forth: don't use "(entry)" in dummy.fs
Because icore.fs defines it in a "not-for-runtime" manner, dummy.fs
executing it had ill effects. We use a workaround instead.
4 years ago
Virgil Dupras
409a9f87e5
forth: replace "ROUTINE" with "JTBL"
4 years ago
Virgil Dupras
26871be6f2
forth: Forth-ify "C,"
4 years ago
Virgil Dupras
29dcddb8cd
forth: improve assembler a bit
4 years ago
Virgil Dupras
49101915fb
forth: Forth-ify "(entry)"
4 years ago
Virgil Dupras
799ea72974
forth: Forth-ify ":"!!!
Lifting ourselves by the bootstraps!
4 years ago
Virgil Dupras
7967c654e0
forth: Un-IMMEDIATE "ROUTINE"
It's not needed anymore
4 years ago
Virgil Dupras
f40c14715e
forth: take advantage of the new [] mode
4 years ago
Virgil Dupras
684cb028ff
forth: add words "[" and "]"
4 years ago
Virgil Dupras
839021e0f8
forth: Forth-ify "(print)"
4 years ago
Virgil Dupras
edcd80e3a6
forth: Forth-ify "(parse)"
4 years ago
Virgil Dupras
941224be94
forth: Forth-ify "-"
4 years ago
Virgil Dupras
005dd98fc2
forth: Forth-ify "R>" and ">R"
4 years ago
Virgil Dupras
1e7e696e4a
forth: Forth-ify ";"!!!
Ain't that not self-bootstrapping enough to your taste? Whoa, I'm
getting dizzy...
4 years ago
Virgil Dupras
dad0081123
forth: Forth-ify "INTERPRET"!!!
Now we're seriously getting into real boostrapping territory...
4 years ago
Virgil Dupras
cb3e6469b8
forth: make "(parsed)" support negative literals
This limitation was becoming annoying...
4 years ago
Virgil Dupras
40eda1d933
forth: Forth-ify "*"
4 years ago
Virgil Dupras
e82f13acf1
forth: Forth-ify "I", "I'", "J"
4 years ago
Virgil Dupras
cf2f6703bb
forth: make forth/forth.asm spit whole binary
emul/forth/stage{0,1}.asm now only configure constants and append
binaries.
4 years ago
Virgil Dupras
966f6df0c5
forth: Forth-ify "KEY"
4 years ago