mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 20:08:07 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
414 B
Plaintext
17 lines
414 B
Plaintext
L3 BSET PC ORG @ 0x34 + ! ( execute )
|
|
EXDEHL, ( HL now points to wordref )
|
|
( We don't apply BIN( reliably on stable ABI stuff, we
|
|
might need to adjust addr. Ugly, but well... )
|
|
BIN( @ [IF]
|
|
A XORr, H ORr, IFZ, H BIN( @ 256 / LDrn, THEN,
|
|
[THEN]
|
|
E (HL) LDrr,
|
|
D BIN( @ 256 / LDrn,
|
|
EXDEHL,
|
|
( HL points to code pointer )
|
|
DE INCss,
|
|
( DE points to PFA )
|
|
JP(HL),
|
|
|
|
|