Virgil Dupras
8fbbf5209a
Copy sdc driver to blkfs
2020-04-23 13:55:00 -04:00
Virgil Dupras
a19376df6c
Copy ACIA driver to blkfs
...
We can get rid of acia.z80, but not of acia.fs yet, we still need it.
2020-04-23 12:42:41 -04:00
Virgil Dupras
503dbe9a2c
Copy boot.z80 to blkfs
2020-04-22 21:19:12 -04:00
Virgil Dupras
338769a0a8
z80a: add PUSH0, PUSH1, PUSHZ, macros
2020-04-22 19:03:32 -04:00
Virgil Dupras
7a0e63746f
parse: don't validate 0x and 0b lengths
...
It doesn't serve much purpose and takes up many precious bytes. And,
after all, parsed didn't do it either...
2020-04-21 20:40:23 -04:00
Virgil Dupras
372524fd19
Move xcomp to blocks
2020-04-21 20:30:14 -04:00
Virgil Dupras
446ce574cd
Add words "'S" and "S0"
2020-04-21 07:45:23 -04:00
Virgil Dupras
0438cb92fe
Add word "ROLL"
2020-04-20 23:06:39 -04:00
Virgil Dupras
2de1eabaa6
z80a: add LDIR, LDDR, and friends
2020-04-20 21:36:29 -04:00
Virgil Dupras
41ed70f8cb
z80c: Add word "PICK"
2020-04-20 21:22:07 -04:00
Virgil Dupras
58c017448f
z80a: add JPccnn,
2020-04-20 21:18:33 -04:00
Virgil Dupras
d466c6d95d
emul: make stage2 load z80a from blkfs
...
This allows us to remove forth/z80a.fs. Another big step towards
self-hosting!
2020-04-19 21:31:41 -04:00
Virgil Dupras
0892193cbe
Copy z80a.fs to disk blocks
...
I don't remove z80a.fs yet because build process needs it, but that
will change shortly.
2020-04-19 20:36:13 -04:00
Virgil Dupras
f3c92684a0
link: improve reliability by never relinking last word
...
It's not possible to reliably determine its end and with some memory
initialization scenarios, it makes RLDICT fail.
2020-04-18 16:51:48 -04:00
Virgil Dupras
b062a9092a
parse: use "0<" instead of "0 <"
...
As I wrote in my "Clarify signed-ness" commit, "0 <" is broken.
Also, made this unit a bit more compact. The RC2014 stage1 can
really use some breathing room...
2020-04-18 09:18:09 -04:00
Virgil Dupras
66f65daa08
Add word LEAVE
2020-04-18 08:37:57 -04:00
Virgil Dupras
2cadae260d
editor: add "U" word
2020-04-17 07:51:59 -04:00
Virgil Dupras
9edab10a3a
blk: add dirty flag and auto write blocks on fetch
...
Also, fix some PSP leaks related to LOAD.
2020-04-16 20:59:20 -04:00
Virgil Dupras
79ce88c12c
tools: add blkunpack
...
and remove cfspack, which will not ever be used again.
2020-04-16 19:44:17 -04:00
Virgil Dupras
5cb4a7de9a
Add word "C@+"
2020-04-16 18:58:11 -04:00
Virgil Dupras
57e20f0532
Block explorer upgraded to block editor!
2020-04-16 15:59:43 -04:00
Virgil Dupras
5067d40e3b
Add CASE..OF words
2020-04-16 15:07:31 -04:00
Virgil Dupras
4eca827d36
First function application: Block explorer!
2020-04-15 22:39:14 -04:00
Virgil Dupras
5d4155aa32
Add words 1+ 2+ 1- 2- and consts 0 1 -1
...
Saves quite a few bytes in the final binary.
2020-04-15 21:29:39 -04:00
Virgil Dupras
0750e8d0c0
Use IY for IP instead of RAM+06
2020-04-15 17:01:15 -04:00
Virgil Dupras
d8de8a058a
Make word routine refs 1b instead of 2
...
Saves quite a bit of binary space. More than 300 bytes in forth1.bin
2020-04-15 15:16:11 -04:00
Virgil Dupras
22f132094a
Clarify signed-ness
...
And fix broken negative display in ".".
2020-04-15 12:29:47 -04:00
Virgil Dupras
2439f1ed86
Change SCMP for S=
...
Remove flagsToBC boot routine.
2020-04-15 12:19:58 -04:00
Virgil Dupras
415bd7a169
Support nested LOAD
2020-04-14 21:04:07 -04:00
Virgil Dupras
aec19e5c87
Add word "LOAD"
2020-04-14 18:15:07 -04:00
Virgil Dupras
a67101fb8b
Add word "EMPTY"
2020-04-14 16:07:07 -04:00
Virgil Dupras
b8dd86bd18
Move notes.txt in blk
2020-04-14 14:54:42 -04:00
Virgil Dupras
1efb2821e3
Make usage and dictionary documentation in-system
2020-04-14 10:04:09 -04:00
Virgil Dupras
d4cdb659b4
tools: add blkpack
2020-04-13 22:05:03 -04:00