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
Virgil Dupras
b17bd4dca0
wip
4 jaren geleden
Virgil Dupras
40a756cf1c
Move a bunch of words from XPACKed core to xcomp core
4 jaren geleden
Virgil Dupras
51997533ff
Move a bunch of words from XPACKed core to xcomp core
4 jaren geleden
Virgil Dupras
80d730318a
Simplify LOAD's INTERPRET exit mechanism
4 jaren geleden
Virgil Dupras
2e9e7047bf
Make INTERPRET break on ASCII EOT
This should allow me to simplify LOAD's exit mechanism on block
end.
4 jaren geleden
Virgil Dupras
052d59a3a2
TOWORD: tiny optimization
My mind is getting forthy.
4 jaren geleden
Virgil Dupras
33d37d4ce9
WORD: don't overwrite RAM on words over 31 chars
This allows me to reclaim some RAM I hadn't even noticed I
needlessly monopolise.
4 jaren geleden
Virgil Dupras
bd1e76ec5b
Gather all RC2014 drivers into a single "RC2014 Recipe section"
4 jaren geleden
Virgil Dupras
9b85961093
Rename "Core words" to "XPACKed core"
Now that this section is so small, I think I can see a possibility
for cross-compiling Collapse OS entirely, which would be great
because we could get rid of the relinker.
4 jaren geleden
Virgil Dupras
76037ca1e7
Simplify boot process
That INIT thing is unnecessary.
4 jaren geleden
Virgil Dupras
bb77cd0759
xcomp: add overrides into a loadable block
Makes xcomp.fs units shorter.
4 jaren geleden
Virgil Dupras
0434d02818
xcomp: implement X[']
4 jaren geleden
Virgil Dupras
7c20501f27
Move core's blk to xcomp core (low and high)
TODO: implement X['] so that I can remove those XCURRENT patterns.
4 jaren geleden
Virgil Dupras
d956386e9b
Move core's readln to xcomp core (high)
4 jaren geleden
Virgil Dupras
029df00ad4
Free some space for xcomp core
4 jaren geleden
Virgil Dupras
56af516d07
Move core's fmt to xcomp core (high)
4 jaren geleden
Virgil Dupras
e2e9faef2c
Move a bunch of words from core to xcomp core
4 jaren geleden
Virgil Dupras
d6a3e79394
Free some space for xcomp core low
4 jaren geleden
Virgil Dupras
ddf23e3d02
Move a bunch of words from core to xcomp core
4 jaren geleden
Virgil Dupras
6a5ff3adcb
rc2014: unify SD Card driver
Now more low/high layers.
4 jaren geleden
Virgil Dupras
cbf5baf3b6
Pack core words a bit
This leaves space for xcomp-core which is growing.
4 jaren geleden
Virgil Dupras
dfe474ca0e
xcomp: add XCOMPILE and X[COMPILE]
This allows us to move words like ABORT" to xcomp-core, which is
I think the last roadblock before being able to unify all drivers
into a single xcomp layer.
4 jaren geleden
Virgil Dupras
44b065ff99
ti84: unify drivers
No more low/high
4 jaren geleden
Virgil Dupras
1094ec9c57
Make DO..LOOP stable
DO and LOOP now only compile words from stable ABI, which make them
suitable for xcomp. This will greatly simplify driver writing and
allow us to mostly avoid the low/high divide in drivers.
LEAVE is still xcomp-incompatible though.
This make us very very tight for "<0x100" limit for literal words.
Hopefully, we won't need more stuff in that area of the binary...
4 jaren geleden
Virgil Dupras
b760c2d353
SCPY: don't copy the NULL
This makes [entry] much simpler. Also, remove unused LITS word.
4 jaren geleden
Virgil Dupras
231d727598
Move a few words from core to xcomp core
4 jaren geleden
Virgil Dupras
9ad7ee7a4b
Rename Inner core to Cross-compiled core
And refreshed description.
4 jaren geleden
Virgil Dupras
6beb082e29
acia: make wholly cross compilable
4 jaren geleden
Virgil Dupras
da371451cc
Replace INITIAL_SP with PS_ADDR conf
Now I struggle to remember why I ever did things they way I did.
There must have been a reason...
4 jaren geleden
Virgil Dupras
73482e7ea1
Reword root block
Usage of "LIST" wasn't explicit enough for a complete newcomer. I
hope that with this wording, anyone can figure out how to navigate
blocks and learn the system.
4 jaren geleden
Virgil Dupras
73b6d9905e
Add 7x7 font
4 jaren geleden
Virgil Dupras
4e1fe916be
ti84: working!
4 jaren geleden
Virgil Dupras
2791dd992e
ti84: offset binary by 0x100 to free space for TI-specific stuff
Not yet tried on real hardware, but we should be getting pretty
close...
4 jaren geleden
Virgil Dupras
62ae1012df
ti84: allow case select during a-lock with 2nd mode
4 jaren geleden
Virgil Dupras
a6aba40327
ti84: fix a-lock debouncing bug
Yup, it was a deja vu. I remember now.
4 jaren geleden
Virgil Dupras
06a4674317
ti84: implement a-lock
There's a bug where the first char after a-lock isn't a-modded. I
have troubles figuring it out for now. It feels like deja vu. I
think I had the same problem with asm.
4 jaren geleden
Virgil Dupras
a476773813
Add words BIT@ and BIT!
4 jaren geleden
Virgil Dupras
244776a7eb
ti84: enable alpha key
4 jaren geleden
Virgil Dupras
abafd6d67b
ti84: fix glitches
4 jaren geleden
Virgil Dupras
e06d6c5345
ti84: we have a prompt
4 jaren geleden
Virgil Dupras
4ce0727c72
ti84: kbd driver wip
4 jaren geleden