Virgil Dupras
cdddfdefae
avra: add a layer of indirection to FLBL!
This will make it easier to fit BR* in there.
4 jaren geleden
Virgil Dupras
63dec372ce
sms/kbd: continue advancing on ps2ctl rewrite
Still binary matching. Next step is branching support.
4 jaren geleden
Virgil Dupras
177e70580f
sms/kbd: begin rewriting ps2ctl to Forth
So far, the resulting binary matches.
4 jaren geleden
Virgil Dupras
8c4c879a65
avra: begin implementing forward label system
4 jaren geleden
Virgil Dupras
212126d6d2
avra: add RJMP and RCALL
4 jaren geleden
Virgil Dupras
b5d42924ba
avra: add arg range checks
4 jaren geleden
Virgil Dupras
5227777b34
avra: add OPb and OPRdb instr classes
4 jaren geleden
Virgil Dupras
2e23b84fc1
avra: simplify OPRdRr
4 jaren geleden
Virgil Dupras
75a1b2d504
avra: add OPAb instr class
4 jaren geleden
Virgil Dupras
322be4d576
avra: add OPNA instr class
4 jaren geleden
Virgil Dupras
0f2d14ad8a
z80a: add BREAK, instruction
This allows us to remove a lot of labels usage in boot code. This
commit has no effect on forth.bin.
4 jaren geleden
Virgil Dupras
fd597d29d2
boot: remove spurious label usage
4 jaren geleden
Virgil Dupras
ee3407bf1c
avra: first steps
4 jaren geleden
Virgil Dupras
ed3bee787d
emul: add a zasm.sh wrapper around stage executable
4 jaren geleden
Virgil Dupras
863540f7c6
core: define H@ a bit sooner
4 jaren geleden
Virgil Dupras
bd38d80f9c
Move Cross-compiled core from B390 to B350
and renamed it "Core words". Also, reworded the presentation.
4 jaren geleden
Virgil Dupras
f2817870aa
sms: working on real hardware!
4 jaren geleden
Virgil Dupras
7ceff6144c
sms: implement pad button B ( next class )
4 jaren geleden
Virgil Dupras
b6c039589f
Don't emit BS when at beginning of input buffer
4 jaren geleden
Virgil Dupras
aad713c477
sms: implement backspace with pad button A
4 jaren geleden
Virgil Dupras
fdea069544
sms: implement button C and Start in Pad
4 jaren geleden
Virgil Dupras
ebc70be8e8
ti84: use dd instead of truncate
More portable
4 jaren geleden
Virgil Dupras
852c775b5b
sms: implement linefeed in VDP
4 jaren geleden
Virgil Dupras
f9a8e6f180
sms: Pad WIP
4 jaren geleden
Virgil Dupras
1597f1e131
Don't generalize XYPOS just yet
It was ill-advised.
4 jaren geleden
Virgil Dupras
db9885b8cf
Rename (find) to FIND
I hadn't noticed that this word was almost ANS compliant.
4 jaren geleden
Virgil Dupras
175b4bc497
sms: CollapseOS prompt!
4 jaren geleden
Virgil Dupras
ca60685067
Streamline initialization process
Instead of letting each configuration taking care of RDLN$ and
"CollapseOS" prompt, move this to BOOT to simplify xcomp units.
Initialization source code is now only for driver initialization.
4 jaren geleden
Virgil Dupras
0163af470a
Fix EOT behavior after QUIT
Previously, calling quit would break EOT behavior and not properly
quit Collapse OS.
4 jaren geleden
Virgil Dupras
43eabf566b
sms: WIP !
4 jaren geleden
Virgil Dupras
faa2576f83
CI: don't needlessly run tests twice
Verifying that forth.bin is stable is enough. Also, fix shebang.
4 jaren geleden
Virgil Dupras
87b51a6261
By default, allocate about 0x100 bytes for PSP+RSP
During "make updatebootstrap", we use less than 0x20 bytes on the
PSP side and less than 0x40 bytes on the RSP one. 0x100 bytes ought
to be enough for anybody.
4 jaren geleden
Virgil Dupras
bf289b0a67
z80a: de-variable-ize
Use straight VARIABLE instead of Z80MEM+. Initially, I used this
system to allow z80a to be embedded in a system binary, but now
I don't think it's worth it. Compiled, z80a is 2.5k. Sure, it's a
sizeable amount of RAM, but I think that even with it in RAM, I'll
manage a bootstrap within my most constrained machine, the SMS with
8K.
4 jaren geleden
Virgil Dupras
3fbae082f4
Remove INTJUMP mechanism
Not worth the trouble. Easier to set jump in binary directly.
4 jaren geleden
Virgil Dupras
a5269a1c7c
Make blk use system RAM
4 jaren geleden
Virgil Dupras
eec9549bde
Make rdln use system RAM
4 jaren geleden
Virgil Dupras
b606dbf9af
rc2014: move xcomp unit's contents to blkfs
4 jaren geleden
Virgil Dupras
a8e8204eba
trs80: adapt recipe to single stage xcomp
4 jaren geleden
Virgil Dupras
8a58449776
Add word ERR
4 jaren geleden
Virgil Dupras
303b34b483
ti84: adapt recipe to single stage xcomp
4 jaren geleden
Virgil Dupras
0703da928e
rc2014: adapt recipe to single stage xcomp
It's now much easier...
4 jaren geleden
Virgil Dupras
b0258f5bba
Fix tests
4 jaren geleden
Virgil Dupras
5446afd87d
emul: rename stage2 to stage
4 jaren geleden
Virgil Dupras
9d4d9de511
emul: remove stage1
4 jaren geleden
Virgil Dupras
e6bac985fa
Cross-compiles in a single stage!
Finally got rid of the XPACKed core and managed to cross-compile
all core words, which greatly simplifies the bootstrapping process.
4 jaren geleden
Virgil Dupras
68262f925b
Almost done De-XPACKing!
4 jaren geleden
Virgil Dupras
640e3321fc
Move a bunch of words from XPACKed core to xcomp core
4 jaren geleden
Virgil Dupras
4143e2a699
Improve late-stage xcomp
4 jaren geleden
Virgil Dupras
179c66be8a
Move a bunch of words from XPACKed core to xcomp core
4 jaren geleden
Virgil Dupras
74896051bb
Move BOOT, (boot<) and INTEPRET to high xcomp
Saves us an (ok) indirection and will save us more soon.
4 jaren geleden