Virgil Dupras
ee3407bf1c
avra: first steps
2020-05-16 09:51:02 -04:00
Virgil Dupras
863540f7c6
core: define H@ a bit sooner
2020-05-15 22:59:38 -04:00
Virgil Dupras
bd38d80f9c
Move Cross-compiled core from B390 to B350
...
and renamed it "Core words". Also, reworded the presentation.
2020-05-15 22:44:49 -04:00
Virgil Dupras
f2817870aa
sms: working on real hardware!
2020-05-15 21:53:26 -04:00
Virgil Dupras
7ceff6144c
sms: implement pad button B ( next class )
2020-05-15 21:18:32 -04:00
Virgil Dupras
b6c039589f
Don't emit BS when at beginning of input buffer
2020-05-15 20:51:09 -04:00
Virgil Dupras
aad713c477
sms: implement backspace with pad button A
2020-05-15 20:32:04 -04:00
Virgil Dupras
fdea069544
sms: implement button C and Start in Pad
2020-05-15 17:46:18 -04:00
Virgil Dupras
852c775b5b
sms: implement linefeed in VDP
2020-05-15 16:08:27 -04:00
Virgil Dupras
f9a8e6f180
sms: Pad WIP
2020-05-15 15:41:06 -04:00
Virgil Dupras
1597f1e131
Don't generalize XYPOS just yet
...
It was ill-advised.
2020-05-15 14:09:31 -04:00
Virgil Dupras
db9885b8cf
Rename (find) to FIND
...
I hadn't noticed that this word was almost ANS compliant.
2020-05-15 12:50:14 -04:00
Virgil Dupras
175b4bc497
sms: CollapseOS prompt!
2020-05-15 12:46:25 -04:00
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.
2020-05-15 11:34:35 -04:00
Virgil Dupras
0163af470a
Fix EOT behavior after QUIT
...
Previously, calling quit would break EOT behavior and not properly
quit Collapse OS.
2020-05-15 10:19:39 -04:00
Virgil Dupras
43eabf566b
sms: WIP !
2020-05-14 22:15:31 -04:00
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.
2020-05-14 18:41:09 -04:00
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.
2020-05-14 15:29:22 -04:00
Virgil Dupras
3fbae082f4
Remove INTJUMP mechanism
...
Not worth the trouble. Easier to set jump in binary directly.
2020-05-14 15:13:16 -04:00
Virgil Dupras
a5269a1c7c
Make blk use system RAM
2020-05-14 14:51:20 -04:00
Virgil Dupras
eec9549bde
Make rdln use system RAM
2020-05-14 14:26:56 -04:00
Virgil Dupras
b606dbf9af
rc2014: move xcomp unit's contents to blkfs
2020-05-14 12:29:34 -04:00
Virgil Dupras
a8e8204eba
trs80: adapt recipe to single stage xcomp
2020-05-14 12:08:17 -04:00
Virgil Dupras
8a58449776
Add word ERR
2020-05-14 11:57:26 -04:00
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.
2020-05-14 10:17:38 -04:00
Virgil Dupras
68262f925b
Almost done De-XPACKing!
2020-05-14 09:58:48 -04:00
Virgil Dupras
640e3321fc
Move a bunch of words from XPACKed core to xcomp core
2020-05-14 09:54:33 -04:00
Virgil Dupras
4143e2a699
Improve late-stage xcomp
2020-05-14 09:45:42 -04:00
Virgil Dupras
179c66be8a
Move a bunch of words from XPACKed core to xcomp core
2020-05-14 08:50:43 -04:00
Virgil Dupras
74896051bb
Move BOOT, (boot<) and INTEPRET to high xcomp
...
Saves us an (ok) indirection and will save us more soon.
2020-05-14 08:45:01 -04:00
Virgil Dupras
b17bd4dca0
wip
2020-05-14 08:33:06 -04:00
Virgil Dupras
40a756cf1c
Move a bunch of words from XPACKed core to xcomp core
2020-05-14 08:18:53 -04:00
Virgil Dupras
51997533ff
Move a bunch of words from XPACKed core to xcomp core
2020-05-14 07:58:55 -04:00
Virgil Dupras
80d730318a
Simplify LOAD's INTERPRET exit mechanism
2020-05-13 22:55:52 -04:00
Virgil Dupras
2e9e7047bf
Make INTERPRET break on ASCII EOT
...
This should allow me to simplify LOAD's exit mechanism on block
end.
2020-05-13 21:44:46 -04:00
Virgil Dupras
052d59a3a2
TOWORD: tiny optimization
...
My mind is getting forthy.
2020-05-13 20:59:00 -04:00
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.
2020-05-13 20:39:53 -04:00
Virgil Dupras
bd1e76ec5b
Gather all RC2014 drivers into a single "RC2014 Recipe section"
2020-05-13 14:56:38 -04:00
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.
2020-05-13 14:31:56 -04:00
Virgil Dupras
76037ca1e7
Simplify boot process
...
That INIT thing is unnecessary.
2020-05-13 14:19:54 -04:00
Virgil Dupras
bb77cd0759
xcomp: add overrides into a loadable block
...
Makes xcomp.fs units shorter.
2020-05-13 13:33:24 -04:00
Virgil Dupras
0434d02818
xcomp: implement X[']
2020-05-13 13:24:58 -04:00
Virgil Dupras
7c20501f27
Move core's blk to xcomp core (low and high)
...
TODO: implement X['] so that I can remove those XCURRENT patterns.
2020-05-13 10:50:46 -04:00
Virgil Dupras
d956386e9b
Move core's readln to xcomp core (high)
2020-05-13 09:28:32 -04:00
Virgil Dupras
029df00ad4
Free some space for xcomp core
2020-05-13 09:11:57 -04:00
Virgil Dupras
56af516d07
Move core's fmt to xcomp core (high)
2020-05-13 09:02:44 -04:00
Virgil Dupras
e2e9faef2c
Move a bunch of words from core to xcomp core
2020-05-13 08:50:07 -04:00
Virgil Dupras
d6a3e79394
Free some space for xcomp core low
2020-05-13 08:00:49 -04:00
Virgil Dupras
ddf23e3d02
Move a bunch of words from core to xcomp core
2020-05-13 07:55:36 -04:00
Virgil Dupras
6a5ff3adcb
rc2014: unify SD Card driver
...
Now more low/high layers.
2020-05-12 21:48:29 -04:00