Virgil Dupras
b69ca4488e
Add emul_memdump() and stop automatically on ROM write
4 years ago
Virgil Dupras
6f082b0b13
Change DELW signature
4 years ago
Virgil Dupras
68f359d6c2
Add xcomp unit for cross compilation
Memory mapping is a dead end too, solution has to be at a higher
level. xcomp is my new approach.
4 years ago
Virgil Dupras
b5638d142a
Add word "DELW"
4 years ago
Virgil Dupras
2a2e3a64a4
Move IMMED? from z80c to icore
4 years ago
Virgil Dupras
a7a2f3d08b
Move IMMEDIATE from z80c to core
This makes IMMEDIATE affected by memory mappings.
4 years ago
Virgil Dupras
64e441d059
Move SCPY from z80c to icore
This way, it can be affected by memory mappers.
4 years ago
Virgil Dupras
05c38424c7
recipes/rc2014: stage2 WIP
4 years ago
Virgil Dupras
4515241318
drv/acia: fix broken buffer bounds
How did this ever work?
4 years ago
Virgil Dupras
79527976ab
recipes/rc2014: stage2 WIP
4 years ago
Virgil Dupras
6652125d47
Remove link.fs
This was a dead end.
4 years ago
Virgil Dupras
ba918d0fef
Add memory maps
4 years ago
Virgil Dupras
d4324292fb
Merge remote-tracking branch 'origin/master' into forth
4 years ago
Virgil Dupras
e37f4c2551
bin2c: add missing stdtypes.h
4 years ago
Byron A. Grobe
217df20d77
Moved tools/bin2c to single-level with other tools.
4 years ago
Virgil Dupras
521ff84ca4
Reserve some RAM for future features
4 years ago
Virgil Dupras
71d1350143
emul/hw/rc2014: add memdump command
Why didn't I think of adding it before?
4 years ago
Virgil Dupras
a09e552ccc
link: fix literal ASKIP
4 years ago
Virgil Dupras
400f0ab0b0
boot: fix flagsToBC
Why did I ever think that using CM was a good idea? any comparison
with numbers more than 0x8000 apart would be wrong...
4 years ago
Virgil Dupras
1c6e979028
link: new unit to relink dictionaries
Not quite functional yet, but works in toy situations. The goal is to
concatenate RC2014's bootstrapped dict to the boot binary.
4 years ago
Virgil Dupras
9a8c25ceb4
core: fix PSP leak in MOVE
4 years ago
Virgil Dupras
7cd9d29cd8
core: fix MOVE so it copies the right number of bytes
It copied one too much.
4 years ago
Virgil Dupras
058b85686f
core: add word "MOVE"
4 years ago
Virgil Dupras
6f9d0a98c4
fmt: fix stack leak in DUMP
4 years ago
Virgil Dupras
67d732c4be
cmp: add tests
4 years ago
Virgil Dupras
fca0e79da3
cmp: fix & and | logic
It simply didn't work before, except for =.
4 years ago
Virgil Dupras
74a32db5cc
Move forth/*.txt to root folder
4 years ago
Virgil Dupras
974018831e
Add chained comparison support
4 years ago
Byron A. Grobe
f65c189e9b
Replace bin2c.sh with a more portable implementation.
`xxd' is not available on all systems, and on others does not support
the `-i' flag. Since bin2c.sh relied on a tool that I can't seem to find
a compatible version of, I have included a simple, portable replacement in C.
Usage remains the same:
bin2c ARRAYNAME < inputfile > outputfile.
This change is also reflected in emul/Makefile.
4 years ago
Virgil Dupras
7b34268a9a
Add "DUMP" word
4 years ago
Virgil Dupras
7df7416e9e
fmt: add word ".x" and fix .X to 4 chars output
Simpler code, more predictable output.
4 years ago
Virgil Dupras
7390cb18ed
rc2014: a little cleanup
4 years ago
Virgil Dupras
58e88119ec
rc2014: Forth Collapse OS, fully operational!
4 years ago
Virgil Dupras
e5f22c7d91
rc2014: update README
4 years ago
Virgil Dupras
edb2771488
rc2014: bingo!
Interpreter is functional in the emulator!
4 years ago
Virgil Dupras
7b42bbde27
rc2014: aaalmost there...
Red 5 standing by.
4 years ago
Virgil Dupras
d1f4dc0ca3
rc2014: aaaalmost there....
4 years ago
Virgil Dupras
32b420b19c
readln: fix typo
4 years ago
Virgil Dupras
5be9b9cd3e
rc2014: we're almost getting there...
4 years ago
Virgil Dupras
435b4f452c
Move ASCII constants from str unit to print
4 years ago
Virgil Dupras
ba384bfa0f
Add stripfc tool
4 years ago
Virgil Dupras
2af959a13d
Don't use IMMEDIATE in icore
Since the fix of its RAM addr, we use the wrong CURRENT in every
usage of IMMEDIATE in icore. We therefore have to manually set the
flag for all 3 immediate words in that unit.
4 years ago
Virgil Dupras
c972c70ab1
Use proper RAM addr for CURRENT in IMMEDIATE
4 years ago
Virgil Dupras
41cefb7460
Extract EMIT-dependent routines from core
4 years ago
Virgil Dupras
d013c572ad
Use proper RAM addr for HERE in SCPY
4 years ago
Virgil Dupras
80891d7ec1
Add in-memory bootstrapping system
This should help with the bootstrapping of non-emulated environment.
For example, I have a problem with the RC2014: I can't send it
bootstrap info until the ACIA is up. I need to find a way...
4 years ago
Virgil Dupras
b575d7f863
Move (print) and (uflw) from icore to core
4 years ago
Virgil Dupras
c56386af02
wip
4 years ago
Virgil Dupras
9235fa9223
Add /tools/slatest
To update LATEST offset more easily. Will be useful for recipes.
4 years ago
Virgil Dupras
6bf51ae57c
Forth reboot underway!
4 years ago