mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-06 12:28:45 +10:00
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
443 B
Plaintext
17 lines
443 B
Plaintext
L1 BSET PC ORG @ 0x0f + ! ( compiledWord )
|
|
( 1. Push current IP to RS
|
|
2. Set new IP to the second atom of the list
|
|
3. Execute the first atom of the list. )
|
|
IY PUSHqq, HL POPqq, ( <-- IP )
|
|
0x11 BCALL, ( 11 == pushRS )
|
|
EXDEHL, ( HL points to PFA )
|
|
( While we inc, dereference into DE for execute call later. )
|
|
LDDE(HL),
|
|
HL INCss,
|
|
HL PUSHqq, IY POPqq, ( --> IP )
|
|
JR, L3 BWR ( execute-B301 )
|
|
|
|
|
|
|
|
|