Virgil Dupras
e31527f5ac
Add word ROT>
There are many situations where it can be useful. Worth it.
3 jaren geleden
Virgil Dupras
69bb34ce7b
Add tests for MOVE* words
3 jaren geleden
Virgil Dupras
c912158744
Run "all" tests under the 8086 emulator
3 jaren geleden
Virgil Dupras
efe4b13a4e
Move /emul to /emul/z80
I'm planning on adding other subfolders. 8086 for example...
3 jaren geleden
Virgil Dupras
c072096909
tests: run "generic" tests under all Collapse OS architectures
There's no reason to run them only under CVM.
3 jaren geleden
Virgil Dupras
91f79d1131
Move z80a from B200 to B5
The idea is to consider assemblers as "runtime" apps instead of
placing them in the "bootstrap" section of the blocks. These apps
will be used for much more than bootstrapping.
Moved its documentation to doc/asm.txt and made its code blocks
more compact.
3 jaren geleden
Virgil Dupras
7a5744a4c3
Remove BROWSE and CASE
With the Visual Editor, BROWSE is of dubious value. Even before that,
it was of dubious value. It's the only user of the CASE word, which
is also of dubious value: too complicated for its own good.
The CMD pattern used in VE is much better.
3 jaren geleden
Virgil Dupras
9aa3ae4c6b
Fix tests
3 jaren geleden
Virgil Dupras
4b1a49c8cc
fix broken tests
3 jaren geleden
Virgil Dupras
293a561ab2
Fix SDC tests
4 jaren geleden
Virgil Dupras
785b375028
tests: separate tests that need to run on z80 vs those that don't
4 jaren geleden
Virgil Dupras
b0258f5bba
Fix tests
4 jaren geleden
Virgil Dupras
3373f53997
tidy up blk and fix tests
4 jaren geleden
Virgil Dupras
86539d2a03
Fix tests
4 jaren geleden
Virgil Dupras
f605e2d85c
Give CASE's default branch access to its input value
ref #97
4 jaren geleden
Virgil Dupras
5219887ad7
sdc: implement _crc16 in z80
4 jaren geleden
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.
4 jaren geleden
Virgil Dupras
1bd191e86a
Move /emul/forth/* to /emul
Less noisy this way
4 jaren geleden
Virgil Dupras
5067d40e3b
Add CASE..OF words
4 jaren geleden
Virgil Dupras
22f132094a
Clarify signed-ness
And fix broken negative display in ".".
4 jaren geleden
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...
4 jaren geleden
Virgil Dupras
67d732c4be
cmp: add tests
4 jaren geleden
Virgil Dupras
9235fa9223
Add /tools/slatest
To update LATEST offset more easily. Will be useful for recipes.
4 jaren geleden
Virgil Dupras
6bf51ae57c
Forth reboot underway!
4 jaren geleden
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 jaren geleden
Virgil Dupras
af5a97243a
forth: implement "0b" number parsing
4 jaren geleden
Virgil Dupras
f0cbda1f2e
tests: add Forth tests
Modest first step
4 jaren geleden
Virgil Dupras
97dcad9b15
recipes/sms/kbd: use Collapse OS' AVR assembler
4 jaren geleden
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
4 jaren geleden
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.
4 jaren geleden
Virgil Dupras
097c677641
emul/zasm: use libcfs
This allows us to get rid of the zasm.sh wrapper.
4 jaren geleden
Virgil Dupras
72357fec86
Move "emul" folder to root
4 jaren geleden
Virgil Dupras
c5c6ef4c6c
Move "tests" folder to root
4 jaren geleden