2022-02-23 17:16:47 +00:00
|
|
|
EVENT__start = 1
|
2022-02-15 17:25:00 +00:00
|
|
|
.scope Main
|
|
|
|
.zeropage
|
|
|
|
Xpos_x_b0:
|
|
|
|
.res 1
|
|
|
|
.res 1
|
|
|
|
.res 1
|
|
|
|
.res 1
|
|
|
|
.code
|
2022-02-19 22:53:19 +00:00
|
|
|
Main__INITDATA:
|
|
|
|
.byte 0
|
|
|
|
.byte 50
|
|
|
|
.byte 100
|
|
|
|
.byte 150
|
2022-02-15 17:25:00 +00:00
|
|
|
__Start:
|
2022-02-19 08:37:19 +00:00
|
|
|
|
2022-02-19 22:53:19 +00:00
|
|
|
ldy #4
|
|
|
|
: lda Main__INITDATA-1,y
|
|
|
|
sta Xpos_x_b0-1,y
|
|
|
|
dey
|
|
|
|
bne :-
|
|
|
|
|
2022-02-23 14:43:19 +00:00
|
|
|
;;; start action move__start__1
|
2022-02-15 17:25:00 +00:00
|
|
|
|
|
|
|
ldx #0
|
|
|
|
move__start__1____each:
|
|
|
|
|
|
|
|
lda Xpos_x_b0+2,x
|
|
|
|
|
|
|
|
inx
|
|
|
|
cpx #2
|
|
|
|
jne move__start__1____each
|
|
|
|
move__start__1____exit:
|
|
|
|
|
2022-02-23 14:43:19 +00:00
|
|
|
;;; end action move__start__1
|
2022-02-15 17:25:00 +00:00
|
|
|
|
|
|
|
.endscope
|
|
|
|
Main__Start = Main::__Start
|