Virgil Dupras
3373f53997
tidy up blk and fix tests
2020-05-02 21:25:35 -04:00
Virgil Dupras
86539d2a03
Fix tests
2020-05-01 20:09:51 -04:00
Virgil Dupras
f605e2d85c
Give CASE's default branch access to its input value
...
ref #97
2020-04-27 20:44:21 -04:00
Virgil Dupras
5219887ad7
sdc: implement _crc16 in z80
2020-04-24 20:46:01 -04:00
Virgil Dupras
8d78ca9dac
tests: add test_sdc
...
The SD card driver is a bit too slow to be bearable. I'll write
_crc16 in z80 and see how it goes.
2020-04-24 18:23:29 -04:00
Virgil Dupras
1bd191e86a
Move /emul/forth/* to /emul
...
Less noisy this way
2020-04-24 17:53:58 -04:00
Virgil Dupras
5067d40e3b
Add CASE..OF words
2020-04-16 15:07:31 -04:00
Virgil Dupras
22f132094a
Clarify signed-ness
...
And fix broken negative display in ".".
2020-04-15 12:29:47 -04:00
Virgil Dupras
400f0ab0b0
boot: fix flagsToBC
...
Why did I ever think that using CM was a good idea? any comparison
with numbers more than 0x8000 apart would be wrong...
2020-04-07 11:26:37 -04:00
Virgil Dupras
67d732c4be
cmp: add tests
2020-04-05 19:52:12 -04:00
Virgil Dupras
9235fa9223
Add /tools/slatest
...
To update LATEST offset more easily. Will be useful for recipes.
2020-04-02 23:20:47 -04:00
Virgil Dupras
6bf51ae57c
Forth reboot underway!
2020-04-02 20:44:29 -04:00
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.
2020-03-29 09:10:23 -04:00
Virgil Dupras
af5a97243a
forth: implement "0b" number parsing
2020-03-19 16:03:35 -04:00
Virgil Dupras
f0cbda1f2e
tests: add Forth tests
...
Modest first step
2020-03-19 15:43:48 -04:00
Virgil Dupras
97dcad9b15
recipes/sms/kbd: use Collapse OS' AVR assembler
2020-02-26 23:10:43 -05:00
Virgil Dupras
0f2b3aca24
zasm: allow zasm to omit its 3rd argument
...
A bug in rdWS made zasm error out when omiting its 3rd argument.
fixes #90
2020-02-18 15:46:55 -05:00
Virgil Dupras
eed67c4768
tests/shell: bring back the static test.cfs
...
I had forgotten about that ordering thing: depending on the platform
cfspack doesn't read files in a directory in the same order.
2019-12-31 15:17:22 -05:00
Virgil Dupras
097c677641
emul/zasm: use libcfs
...
This allows us to get rid of the zasm.sh wrapper.
2019-12-31 15:07:39 -05:00
Virgil Dupras
72357fec86
Move "emul" folder to root
2019-12-31 13:34:24 -05:00
Virgil Dupras
c5c6ef4c6c
Move "tests" folder to root
2019-12-31 13:07:05 -05:00