Virgil Dupras
2439f1ed86
Change SCMP for S=
Remove flagsToBC boot routine.
4 years ago
Virgil Dupras
16d5cd91de
emul: don't segfault on quit when there is no blkfs
4 years ago
Virgil Dupras
c40f336959
icore: extract "_pdacc" from "(parsed)"
Makes boot binary a bit bigger, but that "_pdacc" word will be
reused in high level apps.
4 years ago
Virgil Dupras
79acf92b28
emul: fix Makefile
4 years ago
Virgil Dupras
415bd7a169
Support nested LOAD
4 years ago
Virgil Dupras
aec19e5c87
Add word "LOAD"
4 years ago
Virgil Dupras
a67101fb8b
Add word "EMPTY"
4 years ago
Virgil Dupras
add3b6629b
Make DO .. LOOP binary code more compact
Only a few bytes saved in forth1.bin, but the DO .. LOOP construct
isn't used much yet. It's still significant savings per LOOP call.
4 years ago
Virgil Dupras
b8dd86bd18
Move notes.txt in blk
4 years ago
Virgil Dupras
1efb2821e3
Make usage and dictionary documentation in-system
4 years ago
Virgil Dupras
f59cac0588
blk: first steps
4 years ago
Virgil Dupras
d4cdb659b4
tools: add blkpack
4 years ago
Virgil Dupras
7292d486dc
z80a: add stuctured flow words
Allow us to rely a little less on labels. We now only need 4.
4 years ago
Virgil Dupras
7d184b9e70
Use SUBHLss, macro more
4 years ago
Virgil Dupras
d919a10265
Remove runbin
It's not used
4 years ago
Virgil Dupras
b536d3bfd6
rc2014: complete the EEPROM recipe
4 years ago
Virgil Dupras
d0545d555f
upload: use A! instead of C!
It makes the tool much more versatile. I'll have adev being included
in all recipes, so it can be assumed.
4 years ago
Virgil Dupras
d08a9711c5
boot: make HERE point to RAMEND instead of CURRENT
The former was only used in the peculiar context of "/emul". The
regular case is actually HERE pointing to RAMEND on boot.
4 years ago
Virgil Dupras
509972b08c
tools: add exec and convert ./upload to Forth
4 years ago
Virgil Dupras
1e0b40a876
Add word "FORGET"
4 years ago
Virgil Dupras
4c7dfe0dfe
Add drv/at28
4 years ago
Virgil Dupras
76e4422796
Add adev unit
4 years ago
Virgil Dupras
d996dd8c9e
Add one layer of indirection in subsystem memory management
This allows optional subsystems to not needlessly reserve too much
system memory and it also reduces offsets bookkeeping.
4 years ago
Virgil Dupras
d4f65911c0
rc2014: add notes about stage3.bin
4 years ago
Virgil Dupras
420836276d
readln: rename (c<) to (rdln<)
so that it isn't picked up automatically at boot. Only when (c<$) is
called do we override (c<). This fixes tricky boot problems.
4 years ago
Virgil Dupras
d6c9ab3f32
tools/stripfc: strip a little bit more
4 years ago
Virgil Dupras
9548514ff0
rc2014: dictionary relinking now works!
4 years ago
Virgil Dupras
06d0a02c12
link: fix LITA processing
4 years ago
Virgil Dupras
9390479d49
link: minor tweaks
4 years ago
Virgil Dupras
bf447f58c5
link: handle doesWord
4 years ago
Virgil Dupras
13cf294201
rc2014/acia: adjust to latest developments
4 years ago
Virgil Dupras
3accc73f38
link: add LITA handling
4 years ago
Virgil Dupras
c515720e23
Revert "Remove link.fs"
Let's revisit the relinking approach, with LITA this time.
This reverts commit 6652125d47
.
4 years ago
Virgil Dupras
0c6cabfd33
doc improvement
4 years ago
Virgil Dupras
af3db1c3cf
Add word "LITA"
4 years ago
Virgil Dupras
3822182226
xcomp: shrink scope
It seems that xcomp can't manage to reliably compile core+ units.
Let's limit the role of xcomp to z80c+icore.
I'm getting a little desperate here. I'll revisit the link.fs approach
with a new idea I had...
4 years ago
Virgil Dupras
6368cc3bac
Remove (sysv)
Replace its usages with direct RAM+ offsets. The (sysv) mechanism was
incompatible with cross-compilation of a full interpreter.
4 years ago
Virgil Dupras
a6efb65010
emul: extract capture mark from icore into xstop.fs
4 years ago
Virgil Dupras
f62376bd0a
boot: remove _bend
It's not needed anymore now that the boot binary is built in one pass.
4 years ago
Virgil Dupras
7aa1be070b
emul: build boot binary in one pass
... instead of building boot.fs, and then z80c.fs/icore.fs in separate
passes. This strengten xcomp by making it support 2 completely separate
dicts (that is, the X dict is *not* connected to the system dict. The chain
now stops at EXIT def in boot.fs).
4 years ago
Virgil Dupras
c8c337fd58
xcomp: widen scope
We can now cross-compile core.fs.
4 years ago
Virgil Dupras
54929c2aa0
xcomp: simplify further
4 years ago
Virgil Dupras
e6d3638f4f
Add CURRENT* and simplify xcomp
4 years ago
Virgil Dupras
f1171c656c
xcomp: make (xfind) use _find instead of (find)
4 years ago
Virgil Dupras
1b6286dcfe
Make (find) 2-layered, the lower layer having CURRENT as a param
4 years ago
Virgil Dupras
66dc621919
xcomp: don't automatically shadow core words
4 years ago
Virgil Dupras
0c3067ed9a
icore: simplify definition of ":" and ";"
4 years ago
Virgil Dupras
784b109652
So, why was ":" an immediate again?
4 years ago
Virgil Dupras
afed423530
Remove memory maps
It was a dead end. my new tentative solution is xcomp.
4 years ago
Virgil Dupras
6c48c1b53c
parse: be a bit more graceful on parsing meta-failure
4 years ago