mirror of
https://github.com/a2-4am/pitch-dark.git
synced 2024-06-12 11:29:26 +00:00
16 lines
239 B
Plaintext
16 lines
239 B
Plaintext
|
PARAM = $00
|
||
|
|
||
|
!macro PARAMS_ON_STACK .bytes {
|
||
|
pla
|
||
|
sta PARAM
|
||
|
plx
|
||
|
stx PARAM+1
|
||
|
lda #.bytes
|
||
|
clc
|
||
|
adc PARAM
|
||
|
bcc +
|
||
|
inx
|
||
|
+ phx
|
||
|
pha
|
||
|
}
|