Virgil Dupras
f023f9bcb4
Pack core words blks a bit tighter
With all this recent movements, we had a bit of a fragmentation
issue.
пре 4 година
Virgil Dupras
3373f53997
tidy up blk and fix tests
пре 4 година
Virgil Dupras
3d908cef3a
Move all parsing words to Inner core
This allows us to get rid of the (parse*) indirection.
пре 4 година
Virgil Dupras
8009270e79
Optimize parsing words
пре 4 година
Virgil Dupras
931c812394
Remove cmp
Not worth the complexity and space.
пре 4 година
Virgil Dupras
0b3a328e65
Add a layer of indirection for KEY
пре 4 година
Virgil Dupras
446a58006d
Remove one of the 2 indirection layers for EMIT
2 was overkill
пре 4 година
Virgil Dupras
443ed754e9
trs80: add missing blk
пре 4 година
Virgil Dupras
3a27479f2b
fix stupid typo
I don't believe this, one hour of my life I'll never get back.
пре 4 година
Virgil Dupras
b8d8007a3f
trs80: add *CL< and *CL>
пре 4 година
Virgil Dupras
2a578b3352
editor: implement F
пре 4 година
Virgil Dupras
86539d2a03
Fix tests
пре 4 година
Virgil Dupras
ecca70c7f3
Add layer of indirection to EMIT
This would allow things like temporary giving control to the *CL
line on the TRS-80. For example... A very far fetched example. Not
at all the only *raison d'etre* of the layer...
пре 4 година
Virgil Dupras
5bf3baff05
editor: add edit buffer
Also, add word "C!+" and fix PSP leak in FILL.
пре 4 година
Virgil Dupras
792c781614
editor: add cursor pos tracking and display
пре 4 година
Virgil Dupras
07f807edee
recipes/trs80: making progress on floppy drivers
пре 4 година
Virgil Dupras
65f359bda4
recipes/trs80: can write compiled version to floppy
пре 4 година
Virgil Dupras
f38de1c151
Introduce the notion of Extra words
пре 4 година
Virgil Dupras
0044011f06
Move AT28 and TRS80 drivers to higher blocknos
I'm reserving the 100-200 range for non-bootstrapping needs.
пре 4 година
Virgil Dupras
0cf26547ff
Add words FLUSH and COPY
пре 4 година
Virgil Dupras
581f04a4bc
Keep stage1 bootstrap bin instead of stage 0
XPACKed source needing to be kept in bootstrap bin didn't make
much sense. With the removal of stripfc, it makes more sense to keep
the compiled form of stage 1 in repository as a bootstrap binary.
Also, rename it to forth.bin.
пре 4 година
Virgil Dupras
b046aba7f9
recipes/trs80: running!
no floppy yet.
пре 4 година
Virgil Dupras
1b2c4b519e
icore: add BIN+
This allows us to write LATEST at proper offset in emul/stage1.fs in
cases where we set a nonzero BIN(.
пре 4 година
Virgil Dupras
fc67b88720
Make BIN( offsetted binaries closer to working at all
I have a working offset-by-0x100 stage0 now.
пре 4 година
Virgil Dupras
0b8c8c9ca0
recipes/trs80: still wip...
пре 4 година
Virgil Dupras
61b2e02351
xcomp: remove XOFF and use ORG and BIN( instead
пре 4 година
Virgil Dupras
838548843e
boot: apply BIN( to stray stable ABI references
With cross compiling and IMMEDIATE words, things get icky with stable
ABI references. For the same reason that EXIT, (br) and (br?) need to
stay at stable offsets, these word references will not have BIN(
properly applied at Inner core xcomp.
The solution for now is to adjust during EXECUTE, which is ugly and
inefficient, but I don't see a better solution right now.
пре 4 година
Virgil Dupras
4501313410
Add [IF] .. [THEN]
Will be useful as kinds of "#ifdef"s during xcomp.
пре 4 година
Virgil Dupras
f97df4614e
recipes/trs80: wip
пре 4 година
Virgil Dupras
b8ea515612
Add word WIPE
пре 4 година
Virgil Dupras
2b2ccad96c
Add word FILL
пре 4 година
Virgil Dupras
f605e2d85c
Give CASE's default branch access to its input value
ref #97
пре 4 година
Virgil Dupras
3b66aefcd1
block editor: fix broken B and N
fixes #97
пре 4 година
Virgil Dupras
295b4b6e0a
z80a: add BIN( parameter
Will be useful for assembling binaries for the TRS-80 which can't start
at addr 0.
пре 4 година
Virgil Dupras
ee79df225e
typo
пре 4 година
Virgil Dupras
efed0e249e
recipes/rc2014/selfhost: add verification instructions
пре 4 година
Virgil Dupras
6c51ea1ebb
recipes/rc2014/selfhost: complete instructions
I have yet to test the whole process on real hardware. Soon.
пре 4 година
Virgil Dupras
f690cb2e5b
recipes/rc2014/sdcard: use driver from blkfs
This completes the migration of all Collapse OS code into blkfs!
пре 4 година
Virgil Dupras
865f4f9256
Move AT28 driver to blkfs
And adjust rc2014/eeprom recipe
пре 4 година
Virgil Dupras
7c692c1111
recipes/rc2014: include readln directly in stage 1
XPACK is more efficient than stripfc was, we can pack more stuff in 8K.
We now have enough space to fit readln.
пре 4 година
Virgil Dupras
dee7eea497
Move link.fs to blkfs
пре 4 година
Virgil Dupras
4d8574c1fe
recipe/rc2014: use core libs from blkfs
пре 4 година
Virgil Dupras
a2f164ecc3
emul: bootstrap to stage2 from within Collapse OS!
Big bootstrapping change which greatly reduces the role of the modern
operating system in the bootstrapping process.
пре 4 година
Virgil Dupras
0e3cf7fa02
Add word ,"
пре 4 година
Virgil Dupras
4b7247a971
emul: use LATEST instead of binary size as start addr in stage
More reliable.
пре 4 година
Virgil Dupras
898684a795
emul: merge pre.fs and emul.fs into stage1.fs
пре 4 година
Virgil Dupras
bc3aabc84e
Update z80c.bin's LATEST during xcomp instead of using slatest
пре 4 година
Virgil Dupras
6f896caf7a
Copy core words to blkfs
пре 4 година
Virgil Dupras
6767012ebd
recipe/rc2014/selfhost: new recipe
пре 4 година
Virgil Dupras
13771d8c92
xcomp: add XPACK
пре 4 година