Virgil Dupras
7a38c3e228
Add word TUCK
4 vuotta sitten
Virgil Dupras
d5beeac96b
Add word NIP
4 vuotta sitten
Virgil Dupras
b08970ae8a
Add word ?DUP
4 vuotta sitten
Virgil Dupras
6f8cbadfb0
rc2014: fix misinformation in README
4 vuotta sitten
Virgil Dupras
d777a74be3
Forth takeover!
4 vuotta sitten
Virgil Dupras
0939241db1
Add bootstrap guide
4 vuotta sitten
Virgil Dupras
b5683f447b
sms/kbd: update instructions for Forth Collapse OS
The keyboard is a bit glitchy, but these are the same glitch as those
that were already present in Z80 Collapse OS. They still need fixing...
4 vuotta sitten
Virgil Dupras
b06cf09754
rc2014/ps2: update recipe to Forth's Collapse OS
4 vuotta sitten
Virgil Dupras
e9e3bd80f6
ps2: fix PS2_SHIFT check
4 vuotta sitten
Virgil Dupras
223cb94466
tools/upload: use C! instead of A!
Addressed devices are not included in Collapse OS by default. Let's
just accept that upload only works with memory.
4 vuotta sitten
Virgil Dupras
7d28637740
ps2: add shift support
4 vuotta sitten
Virgil Dupras
b874a1c175
ps2: wip
4 vuotta sitten
Virgil Dupras
c86d8a74a0
sms/kbd: PS/2 driver WIP
4 vuotta sitten
Virgil Dupras
aad6b5c2e5
avra: add global constants
4 vuotta sitten
Virgil Dupras
ac309bbd9e
avra: rename AGAIN, to AGAIN?,
AGAIN, becomes a shortcut for "' RJMP AGAIN?,"
4 vuotta sitten
Virgil Dupras
7a41c5c6f9
avra: add IF, .. THEN,
I decided to keep SKIP, .. TO, (renamed from AT,) around and limit
IF, .. THEN, to the simple BRNE case.
4 vuotta sitten
Virgil Dupras
8bbd29d37d
avra: add SKIP, .. AT,
Will change to IF, .. THEN, but I need a way to easily reverse a
BR op. But from this commit, the translation of sms/kbd/ps2ctl.asm
is complete! perfect binary match!
4 vuotta sitten
Virgil Dupras
8ca85abfbd
avra: add BEGIN, .. AGAIN,
4 vuotta sitten
Virgil Dupras
7b7e60ed4a
avra: implement LD/ST
Still making great progress on sms/kbd/ps2ctl. Still matching ref
binary.
4 vuotta sitten
Virgil Dupras
6a55a04f22
sms/kbd: still advancing on ps2ctl
next step: implement ST.
4 vuotta sitten
Virgil Dupras
e0bc14e55c
avra: implement BR*
Getting good! still advancing on ps2ctl in sms/kbd and still
matching reference binary.
4 vuotta sitten
Virgil Dupras
cdddfdefae
avra: add a layer of indirection to FLBL!
This will make it easier to fit BR* in there.
4 vuotta sitten
Virgil Dupras
63dec372ce
sms/kbd: continue advancing on ps2ctl rewrite
Still binary matching. Next step is branching support.
4 vuotta sitten
Virgil Dupras
177e70580f
sms/kbd: begin rewriting ps2ctl to Forth
So far, the resulting binary matches.
4 vuotta sitten
Virgil Dupras
8c4c879a65
avra: begin implementing forward label system
4 vuotta sitten
Virgil Dupras
212126d6d2
avra: add RJMP and RCALL
4 vuotta sitten
Virgil Dupras
b5d42924ba
avra: add arg range checks
4 vuotta sitten
Virgil Dupras
5227777b34
avra: add OPb and OPRdb instr classes
4 vuotta sitten
Virgil Dupras
2e23b84fc1
avra: simplify OPRdRr
4 vuotta sitten
Virgil Dupras
75a1b2d504
avra: add OPAb instr class
4 vuotta sitten
Virgil Dupras
322be4d576
avra: add OPNA instr class
4 vuotta sitten
Virgil Dupras
0f2d14ad8a
z80a: add BREAK, instruction
This allows us to remove a lot of labels usage in boot code. This
commit has no effect on forth.bin.
4 vuotta sitten
Virgil Dupras
fd597d29d2
boot: remove spurious label usage
4 vuotta sitten
Virgil Dupras
ee3407bf1c
avra: first steps
4 vuotta sitten
Virgil Dupras
ed3bee787d
emul: add a zasm.sh wrapper around stage executable
4 vuotta sitten
Virgil Dupras
863540f7c6
core: define H@ a bit sooner
4 vuotta sitten
Virgil Dupras
bd38d80f9c
Move Cross-compiled core from B390 to B350
and renamed it "Core words". Also, reworded the presentation.
4 vuotta sitten
Virgil Dupras
f2817870aa
sms: working on real hardware!
4 vuotta sitten
Virgil Dupras
7ceff6144c
sms: implement pad button B ( next class )
4 vuotta sitten
Virgil Dupras
b6c039589f
Don't emit BS when at beginning of input buffer
4 vuotta sitten
Virgil Dupras
aad713c477
sms: implement backspace with pad button A
4 vuotta sitten
Virgil Dupras
fdea069544
sms: implement button C and Start in Pad
4 vuotta sitten
Virgil Dupras
ebc70be8e8
ti84: use dd instead of truncate
More portable
4 vuotta sitten
Virgil Dupras
852c775b5b
sms: implement linefeed in VDP
4 vuotta sitten
Virgil Dupras
f9a8e6f180
sms: Pad WIP
4 vuotta sitten
Virgil Dupras
1597f1e131
Don't generalize XYPOS just yet
It was ill-advised.
4 vuotta sitten
Virgil Dupras
db9885b8cf
Rename (find) to FIND
I hadn't noticed that this word was almost ANS compliant.
4 vuotta sitten
Virgil Dupras
175b4bc497
sms: CollapseOS prompt!
4 vuotta sitten
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.
4 vuotta sitten
Virgil Dupras
0163af470a
Fix EOT behavior after QUIT
Previously, calling quit would break EOT behavior and not properly
quit Collapse OS.
4 vuotta sitten