4cade/src/prelaunch/standard.a

21 lines
469 B
Plaintext
Raw Normal View History

2019-09-15 02:57:52 +00:00
;license:MIT
;(c) 2019 by qkumba
!cpu 6502
!to "build/PRELAUNCH/STANDARD",plain
*=$106
2019-12-05 05:11:58 +00:00
ldy $5A ; set up game entry point in stack page
ldx $59 ; (last ProRWTS load address - 1)
bne +
2019-09-15 02:57:52 +00:00
dey
2019-12-05 05:11:58 +00:00
+ dex
stx $1FE
2019-09-15 02:57:52 +00:00
sty $1FF
2019-09-17 05:19:15 +00:00
!source "src/prelaunch/common.a"
2019-09-15 02:57:52 +00:00
ldx #$FD ; Jump to game entry point via stack pop.
txs
rts