mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 15:18:05 +11:00
295b4b6e0a
Will be useful for assembling binaries for the TRS-80 which can't start at addr 0.
16 lines
303 B
Plaintext
16 lines
303 B
Plaintext
: JPccnn, SWAP <<3 0xc2 OR A, A,, ;
|
|
: BCALL, BIN( @ + CALLnn, ;
|
|
: BJP, BIN( @ + JPnn, ;
|
|
: BJPcc, BIN( @ + JPccnn, ;
|
|
|
|
: JPNEXT, 26 BJP, ; ( 26 == next )
|
|
|
|
: chkPS, 29 BCALL, ; ( 29 == chkPS )
|
|
|
|
: CODE ( same as CREATE, but with native word )
|
|
(entry)
|
|
23 C, ( 23 == nativeWord )
|
|
;
|
|
: ;CODE JPNEXT, ;
|
|
|