|
本帖最后由 yandagui 于 2016-11-19 23:11 编辑
7 {1 k( Y2 ]0 C0 v; p/ H9 a# E' j% s9 X1 q+ g; G: o7 Z, _
[FC][魂斗罗旋风终板END暂停显菜单] - ^9 `1 E1 J6 Y$ O% R+ M3 B
作者:FlameCyclone(flamecyclone.ys168.com)
' N' R3 Y+ ^2 l: ?% `4 q时间:2016/11/19 21:46:009 L( J) {7 O- {4 O! V9 k
更新日志:
) [' O& w/ h' m! n* J6 o- I2016.11.19:加入暂停显菜单(共5页).6 v* W0 j% s5 J4 |0 g
2016.11.12:加入无限跳跃.4 O- L5 G; `; E) f1 p
2016.11.12:加入速度调节.+ n0 C0 T% P$ a/ c0 d
2016.11.11:加入敌我子弹对消功能.+ w, ^7 V+ L( `1 V( j
2016.11.11:加入全屏闪灭功能.4 y! ]" R% r. F7 N; o" w
2016.06.08:加入全屏瞄准功能. O8 ~! ]; _1 ]& }: H0 g
2016.05.31:加入弹速调节功能.
. D1 h/ k+ x$ }' Z3 q' P3 s) D2 x; y2016.01.01:加入高难度模式.
/ W( I/ N* ?& i3 N$ `6 A! A2015.12.12:修复消除威胁不足,使得移动BOSS关卡(第2,4,5,6)正常通过.
& ]8 W9 q# ]5 E, _6 I* t2014.07.05:由于对打功能不完善,直接去除,更改为生命锁定.
2 q6 _# Q: ~1 }1 D( p' M6 k: h5 r2014.07.05:双人切换功能优化.
# y& ~8 E9 n- G2014.06.01:修复第三关浮空到BOSS前必须关闭浮空后跳跃才能见BOSS的麻烦.
D9 t/ Z$ c$ y" Z8 X% d2014.06.01:取消生命锁定,改为生命锁定模式下剩余生命不会少于一条.3 N" Z$ F7 r0 `
2014.01.18:修复GAME OVER字样只有G和O的错误,原来想拉大字母间距离,看来行不通.
5 u% B2 X$ C% G! f6 M, G2 d2014.01.18:浮空模式下,P2飞行高度未限制导致死亡,原来是指令本该用绝对X变址的被用成了绝对寻址.
# ~7 u- ]2 g1 n) A8 A) t2014.02.08:拿手机无聊时又发现一些错误,所以修正生命剩余勋章显示的错误(某天用读卡器插在DVD上测试发现机器读不了卡,原因是目录级数超过三级,只有刻录成光盘来测试,结果发现生命勋章的显示竟然无压力!)
- r( \ K5 w$ i2014.02.13:加入自动演示通关.0 e r% ~- m# v& A3 b
内容:
2 E# i1 _$ \8 y& @* J3 E23.暂停菜单: 暂停后,自动显示菜单,选择键翻页,方向键和BA键进行各种功能的开关操作.
, E1 B5 t5 B% U" h6 R. N' d22.无限跳跃: 暂停后,选择键4次,按下开启,开启后游戏时无限跳跃.% i; J8 ~( h4 C2 I5 x) m: K
21.速度调节: 暂停后,选择键4次,按左右调节行走速度(0-3级).; U; O1 V! b" H# u9 `
20.子弹对消: 暂停后,选择键4次,再按A键切换,此时敌人子弹可以打掉.
- M# v. y4 N* a5 {4 x$ o9 R7 P# t7 b19.全屏闪灭: 暂停后,选择键4次,再按B键切换,开启后游戏时按选择键屏幕内敌人闪灭.( Q0 e1 N" `# m6 Q/ w& D
18.全屏瞄准: 暂停后,选择键2次,再按B开启/关闭,子弹对消开启时无效.8 d- G( y9 W' S3 Z) R
17.弹速调节: 暂停后,选择键3次,下开启,非暂停时按选择键调节,默认为1级,共5级.8 q3 U' M8 R M+ ]5 B
16.困难模式: 暂停后,选择键3次,右键切换,我不相信你能够无伤通关.2 r2 Y8 \/ V/ O4 c) J$ T
01.子弹切换: 暂停后,选择键0次,上=快S,下=快L,左=快M,右=快F,B=快普通,A=取消当前子弹加速状态.8 B+ J `1 [; F8 ?- S: P
02.无敌锁定: 暂停后,选择键1次,上开启/关闭,不用讲了,金身无敌.4 t, I$ _" ]% u
03.生命锁定: 暂停后,选择键1次,下开启/关闭,生命锁定为16条.& }7 w% X B2 y$ [6 ?) k) L' t' i
04.角色双控: 暂停后,选择键1次,左开启/关闭,无非就是主机控制副机.
& ^* @- C& V! t/ e8 C05.生命底限: 暂停后,选择键1次,右开启/关闭,锁定剩余生命数不少于1条.4 F/ }% {( n" j9 h4 ]. u
06.一击必杀: 暂停后,选择键1次,再按B开启/关闭,即使是第8关BOSS,一发花生米依然要其老命.. v {1 k3 G2 {6 S: n
07.角色浮空: 暂停后,选择键1次,再按A开启/关闭,第三关浮空时按选择键向上卷画面轴.7 m; l% }' R; w7 l d& T8 @! M
08.弹数加强: 暂停后,选择键2次,上开启/关闭,此时所有子弹发射数为15发.
1 A& v1 d- {* X& P0 O, U09.皮肤更换: 暂停后,选择键2次,下开启/关闭,主机开启时橙黄色,副机开启时为蓝色. _9 Y# [5 S6 }; R* @" d) p% U! E: K
10.混合子弹: 暂停后,选择键2次,左开启/关闭,此时连射时所有子弹混合.
7 E' r7 {4 d \; |! i3 L% A F11.敌人锁定: 暂停后,选择键2次,右开启/关闭,此时敌人原位跑不动.
: T& E# V) T8 D) H12.跳过一关: 暂停后,选择键3次,再按B使用,使用后可以直接到下一关.$ v* Y/ `* Y3 z3 }, z' @
13.单双切换: 暂停后,选择键3次,再按A键切换单双人游戏模式.
6 c" R2 `$ f. }" ^14.子弹方向: 暂停后,选择键3次,上开启/关闭,开启后发射的子弹攻击方向会随着操作的方向按键变化,第二关和第四关的小关建议关闭(开启的话打中敌人太难了哦).
) n4 l! i* B$ b6 {15.消除威胁: 暂停后,选择键3次,左开启/关闭,此时游戏时按B键使得移动物体被消除。6 @' _* |9 g8 G
A.做了一些汉化(小字体),剧情,关卡名及通关后的文字未汉化.2 x8 g" B! R& N$ F, x' z: N# m
B.自动演示通关,双人合体打通关,演示时有背景音乐,通关后一样会有结尾及恐怖台词,之后游戏进入选关(相当于游戏自动开始了).注:通关后P1及P2会获得16条生命!也就是说看完演示自动开始后第一版有16条生命!/ ]" s) {! q2 X. X% L0 M' y, F1 ~' i
C.生命显示加强:最大显示15个剩余生命勋章!电脑端请开启精灵超过8个(这样勋章不会闪烁),手机端认命了,不过不影响正常操作.
) q9 n: t+ o3 N
: A4 O/ H3 x: Q5 x 如果有什么好的修改建议,恳请通过QQ(1490868135)联系我(也许我不在线,可以留言在QQ里)
. y2 n7 x9 e1 P% I2 f! X6 I! R欢迎大家转载,转载时必须注明出处.& D) A" ~1 | ^$ ?
. Z% r6 i. [" r& z% a" c/ P7 _" @2 B
8 J& R4 _8 {8 `5 I8 ^4 r9 I% Q% y+ \+ u
忙了一个星期,觉都没睡好,眼睛也疲惫不堪啊.终于找到解决方法了,目前VIRTUANES运行不了,请使用其他模拟器玩.) s; p6 y4 B7 V- N& v
这几天的劳动成果如下:- .ORG $B400
9 X. m/ o& u/ t* P0 ~( a: X - 6 u5 U; A. s0 S# w) ^+ u5 e
- ( B; @3 a" \" L/ J
- PROREG:: H$ q8 E7 o3 v. J; }$ ?
- PHA
" q6 F) ^% Z H: q# m - TXA
/ g, ` U( T* G I" i. R# e. h - PHA
{( R X2 k) l Z - TYA
* B% R! j* v9 I" M9 D. I - PHA, J z& W- i) U$ H. C4 {# M4 I
- LDA $25 n: Z# `- Q! J, t& \
- CMP #$018 W/ J3 U! J- i5 X7 I
- BNE RE) D) a$ p7 N0 G' |5 z
- LDA $010A
& F2 U% [& m! U @ - CMP #$00
; Q7 v* |& H% Q+ ^ - BEQ P17 i$ o+ F' d" _0 S% t( D7 J4 k5 }$ B k
- $ d; \! w* s; S8 n' |
- RE:6 Q+ E& _$ U! v2 B+ c* k
- JMP PPUWRITE
6 E H( s* u8 v G: R -
7 h1 M7 w; j C* q - P1: ; 条件判断* R3 R/ T$ b2 q* I. A* c
- LDA $7FFF" s9 m4 O5 U8 {/ v/ T
- CMP #$FF
5 g% L) m& }1 R6 d - BNE P1RP% P5 a% {3 W' S. d9 Y9 C
- LDA $7FA0
) K( U% }* c" h4 C- A# @ - CMP #$00
; ~% X- W: |6 ]% u5 q% \ - BNE P1CMP
3 D. i! H; }. X3 J. R - LDA $2001
* p9 u0 I# C) E& ` - PHA
+ B& K; n+ s \/ g) i3 S0 ~ - LDA #$00
7 B: z) }6 d4 h7 ^1 ^ - STA $2001
3 F- l) @( F# u - LDA #$FF- {6 q/ ~% o/ y! Z
- STA $7FA03 L# J3 c7 H7 l' t" H' p! {- m
- JSR CLEANA
9 f6 Q5 a, L* J1 i* ~$ B# D - PLA
4 R/ s1 C7 Y! r. s# C - STA $2001
3 }6 D, R2 H. K. v$ A( ^ - JMP PPUWRITE/ b3 x1 N% y/ b0 Z
- P1CMP:* R: K0 `) S) q+ D. `
- LDA $7FFF0 ^! e- M. K: ?3 W# v5 ^4 X
- CMP #$00 N# s$ @9 x3 V5 `
- BNE RE
& \/ I. x( t2 b8 D) Y - P1RP:
, a4 @. r% {5 q6 C3 a5 d% Y' v - LDA $20027 }5 c. d/ `1 u* T" O- M9 P( d
- LDA #$00, E$ k) e0 c, `0 o
- STA $2001
- l) I Y C& g2 T+ e4 K( S - LDA #$FF
2 {% |( h5 g# s - STA $7FFF
1 [* V2 c2 M. r/ U% i$ K - STA $7FA0$ e5 O/ v0 ]/ Z( T/ ~1 I$ \
- JSR COPYPPU
; M3 W% `7 U) a* f - PIRP2:/ b5 f2 x5 _$ q3 l- P! ]1 i5 Z
- JSR CLEANA, {: U$ `8 v" b
- JMP PPUWRITE. `' K' z3 A0 M: ^+ Y
- 1 t' q$ R8 l8 w$ k$ J4 @
- COPYPPU:/ q! }# H( o4 S
- L0:! c/ m0 m9 [" |( N$ p! X3 k! _; x
- LDA $30* X, k# A3 `' h1 m
- CMP #$022 i- E7 q8 L1 E* G& j1 [6 M; W+ ]- O
- BNE UNPROFC) R( c, U- y/ I8 @" O
- LDA $FC
; R" [/ `, L2 I/ ~' k+ f6 r. t3 C0 L - STA $7EFC$ U( g/ ]2 U! l- D* Q3 _ \0 Y* Z
- LDA #$00
1 d) g6 @! I3 y& ~ - STA $FC+ y2 m+ X: E J* z
- UNPROFC:
6 A, g! O/ d9 A+ |2 c/ m) D - LDA $FD
! @0 e3 _% ?# @7 u - STA $7EFD+ c; ?4 _3 p+ S" }: m, P1 r
- LDA $FF
4 v) [& J. P) F! q8 E - STA $7EFF% H; [4 ?% `( [6 m
- LDA #$002 d+ F2 U3 B$ G. `
- STA $FD
' D. D# h6 \" `# G" V$ ]: j - LDA #$B0: T U5 d9 Z8 z6 u
- STA $FF
2 O) P& m; y5 X6 E5 E* F4 r - LDA $07C1
: ^! D, W; L. t H0 D3 `9 Q! H g - STA $7FC1, c9 N2 C4 ]. _
- LDA #$3F9 J: t, A7 c5 R+ j5 _" w2 H. a0 L$ M+ u
- STA $2006' x0 I. O+ D0 s
- LDA #$01: [. G" `( j( B8 p7 q
- STA $2006( m; o; c3 j6 w
- LDA #$24
8 }8 n8 p0 Y3 U4 z - STA $2007
* L8 H! @* _4 X* ^( g q - LDA $07F6
/ L1 t: o; a/ d. h- F: H - STA $7FFE
# ]; W7 d {. Y8 D: H! b3 Y - LDA $00FE2 E: _$ N- i( m/ b$ R8 \/ l# F
- STA $7FFD
+ M% a+ H3 F8 i - LDX #$00( s* C ]2 ]# g1 Q5 `, S& ?
- LDY #$00
- }8 z* E3 ~) N - LDA $BD% C) U) M8 j1 w+ W( x0 m2 Y( [9 z7 \
- PHA
1 E* g9 A" z4 \7 ] - LDA $BC# H( @" T, [" F. ^9 @3 i
- PHA9 P9 m7 k) \4 j$ j7 T
- LDA $BB3 ~) p6 f, V l
- PHA# t7 K1 d* l: P
- LDA $BA
1 c4 W$ @# S; g } - PHA
5 K3 Q% I* O7 \3 J$ | - LDA $B9
7 H4 q# c! ~ I, D; n; Z - PHA! U) I4 A" |! Q0 ]' K. N) @) ?
- LDA $B81 Z- j* Z7 c, a$ b
- PHA
0 D* t) a* j1 q1 S0 A! I/ ~ - LDA #$00 b# Y' V5 ]4 [6 N/ S. R
- STA $B8) X5 k9 S0 a9 O
- STA $B9
% Q% k2 b- L- X - STA $BA
& O2 N. m7 _* n! b/ S - STA $BB9 N! N( Q+ l+ H5 U: F7 {+ Y- o/ u
- STA $BC
! M# X+ H8 Y2 S8 Y6 G% i" u1 O - STA $BD
6 S1 I5 h! m* w0 a0 S - LDA #$00
& F. b1 E. X [& b% V3 V1 Q+ r. U - STA $BA
4 p- ~" Z1 Q r( e; r; m2 e$ O - LDA #$205 p( u- ~& V9 }: U9 L2 w( U4 O, @$ f
- STA $BB/ r, Z- J0 M' o3 b
- LDA #$00# ]% b2 J/ z( D8 l9 f
- STA $BC' u2 n( [' q8 _9 r; e! ^
- LDA #$60 E* D/ z' N6 Y9 @ q$ k
- STA $BD
7 T7 l- \/ a/ _0 c. a - 2 R7 R$ M# ^( T; j% k+ ~
- L1: ; PPU复制# O# T) V2 `: t8 f
- LDA $BB
, }% R, \3 u* b - CMP #$30
9 `4 o/ u0 M9 K) A - BNE L2 \1 {5 ~6 S5 F* ?. n) M8 q
- LDA $BA
$ ~' ^7 ?+ b0 {5 P& l c4 [ - CMP #$00
6 _9 d2 ?6 R. N9 K' ~# j- u2 ? - BEQ PROADPLA
1 ~& P% {8 P; w. l: K - 2 u( G* i5 N) e" s0 m
- L2:
2 R1 |, L. A9 K) @' e& c - LDA $BB
5 T6 y: e) ~) p - STA $2006
& P) s% E7 H& c0 L" q+ e - LDA $BA
5 v) ~- ^) u7 Q - STA $2006* F7 K" z9 j; ]1 v
- ) M, u+ s1 M& A! S4 S* M
- L3:% i# g' h2 h* n% A$ }' p
- LDA $2007
7 x/ W/ w0 z; a) i l8 k - LDA $20072 q- v5 l @/ r
- STA ($BC),Y0 R/ h6 W& @1 _7 B
- 1 _4 B- d+ {! q; C+ Q
- L4:' i! H. X/ k9 B6 l1 V! W0 i
- LDA #$00+ C( A* o/ h6 ]" C7 o
- STA $2000' I; o6 s! O6 v* d6 y9 C. l$ M
- INX: g2 _" j' J; _2 _8 j1 ^0 [
- INC $BA
. x Y5 R. m- `3 ]0 X' o - INC $BC7 L2 r& ^# B2 J
- CPX #$00
7 x5 f+ `; c1 X _( W* {, ~ - BNE L1
4 f4 m% g6 `3 [7 a! H - INC $BB
0 o# q' Y& J. d7 F" x# g! w' { - INC $BD6 {* x6 k/ _) [& M( R1 O' W) ?
- JMP L1
5 z( q1 O8 z4 e% S( G4 Y( ^ - 0 N& B" u, ]" u% W/ R
- PROADPLA: ;出栈8 b) E; K2 [$ E; M2 F$ H
- PLA. c4 u1 a2 h% ^1 b
- STA $B8
) ~6 e) {( {/ q ]3 M" } - PLA
' J8 t/ V( {# d' d - STA $B9( R: ]+ {# Q% A( G9 J; O B
- PLA% v# h: u L; n0 i
- STA $BA- E* m2 ^- x, v% j$ ~
- PLA. E# [) k( A* d( P8 Z
- STA $BB
4 f5 @( A" \) T6 B$ u/ ^/ y. r ^( A - PLA
; j% }8 Z9 ?: h6 W5 x* t0 B+ T) Q, y - STA $BC. k/ `3 _/ k$ m
- PLA
2 }* g; O" a! W& Q8 F5 k0 W" o - STA $BD
" j- Y2 C* U9 o( T - CPRE:
\1 T3 r7 s. f. J - RTS
6 g! ?- {. g7 D" r' h/ {4 q1 p
0 `" O. }# S& Z4 W5 M& F9 T- CLEANA: ; PPU清空$ n7 d" ^+ f2 }* o8 J, f' f V
- LDA $BD) l7 ~& J8 N" \% n$ P5 J5 @
- PHA7 C, e& L7 l" Y3 X8 I/ |6 U7 [
- LDA $BC
6 |$ Y$ H) d# q/ W7 x9 S5 k+ u; ~ - PHA
" k7 i+ g; r1 m* T5 w: g" { - LDA $BB
0 \1 W9 c1 v- a+ p8 j1 K+ o, [# V - PHA
8 [' B& k( V6 i' U m - LDA $BA1 I, ?0 D: v) ]9 V8 S9 Y
- PHA
5 }/ O W+ ? T2 r) S - LDA $B9* e- c. d' c6 l3 Y) }, @
- PHA# x4 C' H; O2 k( e2 Y9 T
- LDA $B8
3 `# s3 C4 l$ }$ Y! H - PHA
" G2 C* b+ Y8 `' U - LDA #$00& Z1 V5 U' }: ~, A
- STA $B8" |( Z! k' S" w& t5 K% f, Y
- STA $B9
1 b1 u; h2 m/ {/ } - STA $BA
4 L" ]5 S7 H: ^! X1 B* {; ` - STA $BB9 @1 n" G g9 i- z# O) r+ ~
- STA $BC
; w' G, Y$ |0 K0 N - STA $BD
B; X3 t6 V& f4 M1 \( |1 P9 L - LDX #$009 V( m) G0 b4 }/ d5 ^. G
- LDY #$00
/ S' @! C0 M% `, N - LDA #$003 e" t, n3 k) L! G3 u$ k6 k% x5 K! N2 K
- STA $BA
M( O5 Y, r, p; `6 X* u: E; S - LDA #$20. y9 h4 i1 j L6 q p! W
- STA $BB
! e" y. P7 ]* w/ G/ ^ -
7 L( V% R H. ~# W7 W f - CL1:, c* B( h3 Q- W/ n
- LDA $BB
& {) [, c) |6 t3 U1 } - CMP #$30
# h- K2 e( X0 b - BNE CL2
! Y- `" [' \) x' r$ ] - LDA $BA
8 B6 p0 q8 p: T7 u - CMP #$00( a% n8 U0 F6 ?5 G3 n1 ]6 c9 b! @
- BEQ FREEWRIYE
+ n) C8 s& G5 G0 b: `; T -
7 w! E2 M) F5 z/ ? - CL2:
! }. e. _# u# M0 j* K( ^ - LDA $BB
4 q" ^: t" n' p0 }3 d# T% C - STA $2006% Q/ N$ {% V' X7 ]* ]: n
- LDA $BA
6 X6 V, l% o$ c- N9 F9 D - STA $2006
* _2 Q. \1 c5 a* x' [1 [9 `* O -
6 i% H" [; \' L5 l - CL3:: B; v- K! @' f. K8 J7 k
- LDA #$00
# V3 g" v7 Q+ p/ a6 h3 Z" u - STA $2007
* r0 t) |4 J: E' m - 0 o- M; O% K2 P
- CL4:1 O9 m. O4 j6 n! o- d
- LDA #$00
$ ]* j6 |4 {( h( ^: k - STA $2000
% f3 O2 b0 q( |! t' E, ]' _ - INX' p; M% S+ J/ n' ?; e/ f2 x8 y
- INC $BA
( j$ c' T5 d! [7 W8 G/ R3 A) ~- C7 K* P& e - CPX #$001 h" e9 ~; U" q6 f
- BNE CL1. D+ T) ]& Q) a6 m" u, D: x
- INC $BB
5 r( q$ s6 @) u+ D9 { - JMP CL1 3 j9 Q$ B1 P4 [8 t& g( E M# D. V
- 9 e$ s+ A# ]* k. X
- - C5 \8 G5 J! I8 f+ J' K2 A/ e
- FREEWRIYE:
/ p. e, n& Q1 E h' G" H - JSR FREE% p1 e. L: u% `, U
0 v1 \" M4 D5 [2 w- - r" \' w8 g4 m$ i3 Y, ]' B
6 H1 B Y( B; U+ b7 l0 |/ V- 1 M7 u$ V5 q( r# Y
. R6 z1 F1 c( c3 o. i: i6 l6 \- CLEANF: ; 恢复现场) e6 s" m Y# D. @; d9 j! F
- LDA #$08$ a& B0 c# i4 Q0 ~' L1 o2 Q; _4 }- U3 h
- STA $FE, m& R b2 o1 F, n
- LDA #$00
8 j: z; f* _$ D r3 M0 A - STA $07F63 e2 B% p2 V9 P4 Y; c; |
- LDA #$24
: v" L; n- A: d4 C: j - STA $7FC0/ l0 W" y ?6 L8 D# `
- PLA
; y6 l- ]1 T( Y3 C# p - STA $B8+ D& R0 b' C2 @+ \! @; q2 p1 ]
- PLA
: c( J$ `8 Q" [+ {# \9 a. B8 p - STA $B9
1 H& j- X2 E$ | l/ Z - PLA
, m- v' ]' q N, m8 R* w+ q - STA $BA
9 p1 o; m+ p: n! B. z5 d0 z. o - PLA e' q! ?4 \8 f
- STA $BB
3 {) l! o$ [4 x5 _( Z$ ^4 `& ] - PLA% x$ C2 M8 X: j
- STA $BC$ R+ f, ^0 q* G2 t$ t; x
- PLA
; g2 `* [* e. d' N u- I2 F. V - STA $BD
% E9 q7 `: T4 Z$ C - CLRF:2 z2 S; T0 V( N
- RTS$ R; I! H x* s J, ~7 k0 j
-
' L* ]" N7 z/ T: m! t; D - W_DATA:
0 b2 H: M. e4 C( I - .BYTE $00,$01,$02,$03,$04
: M) S$ r) |$ r' Y - ) h& V( V/ J3 S" X9 _
- W_PPU:
. x4 q( L: I* U( @# P - .BYTE $98,$97,$90,$9D,$96
P. l$ |6 I+ `# I8 }8 b, e, w; Z
3 @3 f$ r7 H- y* V( E4 E- P1_STRING:0 k( t* G( U8 o1 h. x4 l! z
- .BYTE $9A,$82,$00 ;"P1"
# ], g; g; x1 O6 X
+ D" M" W, u, z- ]- H% w( p" v- P2_STRING:
' n: a/ E! S& ?( ]: ` - .BYTE $9A,$83,$00 ;"P2"' ~) _) m1 q; Z4 y/ h; c9 }# E# B+ o
; c% E! D1 M& m! v- WEAPON_STRING:2 _4 }6 ~6 T5 f/ I6 p2 f1 N3 M
- .BYTE $A1,$8F,$8B,$9A,$99,$98,$00 ;"WEAPON" R, N1 q% V, f8 U! G6 W
- " S' K# z- D- h+ b2 m2 T/ J
- RELIFE_STRING:) e1 \5 w' l1 m( C9 O
- .BYTE $9C,$8F,$96,$93,$90,$8F,$00 ;"RELIFE"0 B$ L) n3 w) N4 x
; i6 ~3 g8 O% X- P1_PPU:. H4 j3 q# {% j; ]* Z/ x' P
- LDX #$00
+ l# `( H7 }, g2 w$ |: C7 X. ^0 E8 L
1 w( o) K8 j8 Z2 A$ E! H; J' m- P1_PPUW:
: T! Z3 h# o" n) J - JSR PPUADDR_PROCESS' O. T4 Z) y$ u. P
- LDA P1_STRING,X0 Y& I; m* N2 K% D6 U
- STA $2007+ {: ]3 P1 O! T% J5 p
- INX
/ \2 Z) U# Y% o( e7 E1 i - INC $BA& q: K/ c& V% X7 |- r! V8 |
- CPX #$03( r) V* D* w, h( \
- BCC P1_PPUW+ \* D4 N. [7 |3 h- v' [
- LDX #$003 r1 H$ }: G8 o3 B
- RTS& a/ V+ }4 O5 j, U+ c- t( W6 G
- ) Z. p! |9 k7 L M' E( f/ _
- P2_PPU:
+ V( `2 J: @" I& v) ]; ]6 ~6 f - LDX #$00
) | O) B# b7 L8 r- b, c4 } - ) D. l* o2 S/ ^- g c
- P2_PPUW:# J" k* i3 f% r1 r" w% P
- JSR PPUADDR_PROCESS, x# Q( a9 C7 o) h; n
- LDA P2_STRING,X) N. z5 H, q3 r; _" J, |! b; ^( x
- STA $2007% V; c# E3 H3 @" l* b/ H0 w& Q2 i
- INX! s( D3 D* a( }: b/ q
- INC $BA
4 N# m4 p4 ?9 z& l* h% L& K - CPX #$031 A P+ Z" d4 a
- BCC P2_PPUW
5 N1 t; i1 {, j# U4 X7 N4 Z - LDX #$003 {; h s9 y$ V% F6 |+ ~
- RTS
* s W! [1 D- p
8 s* G0 R1 d2 i5 ]. `- & k" ?2 G8 W6 g" @, F5 J; J+ V
- LDA $BB
' v3 {" ~. E5 {; M/ _, I4 t - STA $2006( U9 x5 Q( M& H6 h- G
- LDA $BA
* v. B7 T N- h& k ]3 p - STA $2006# D9 h# H+ ], a2 |. [" W( w
- RTS
3 K# u9 @0 d, r3 @
- A4 Z0 d4 _2 s: n, g-
* Q X) Y- V) L* @7 t( e -
6 @* [& }/ M& q! u. N- t - PLAYERLIFE:6 B$ \) H7 a {0 Z: Y
- JSR LIFETODEC8 Y# }/ B4 V" X0 G7 C' J
- LIFEPPU1:6 g1 k+ R; `& @
- LDX #$00+ i( B' R- |4 ?( `% |4 n
- LIFEPPU1RE:; F/ Q1 d; p( ^6 j/ P: k4 ^
- JSR PPUADDR_PROCESS. c' v1 Q% ]" X8 g3 }- a. E; s
- LDA RELIFE_STRING,X7 h+ C4 W3 P8 c& n% o3 L
- STA $20070 X r. d! N j: R0 D
- INX
# t3 b# L' A# j - INC $BA8 J- _; B% b" A
- CPX #$07
' P# `: ~" ?, ?7 T$ q" ~5 Y - BCC LIFEPPU1RE
3 t) F( v! a+ K; b# W, L: u
& P: C$ R7 X! j- LIFEDEC: ;生命显示写入
% Z+ a, J' _5 K. E4 k - LDX #$003 i9 n4 z5 l) h, T. t; b. p
- LIFEDECRE:+ g) _. q" r; [+ s
- LDA $7A03,X# Y) c6 [& n4 [$ M& R( x% c# D
- CLC& @7 {0 W1 k2 @, H9 C# M
- ADC #$81
8 F% G" q' B' D - STA $2007
+ }+ T+ M4 K: m/ v+ t - INX
5 q$ p2 v# I1 n. H* N( Y - INC $BA0 u5 B5 P4 P6 {0 }7 ^7 t6 ^
- CPX #$034 s" r& @1 V% r# ]8 }
- BCC LIFEDECRE
) E7 }8 a" b, J. V - LDX #$00
2 y) s7 x! I0 r1 Y7 }. d3 k- T - RTS
3 g3 ]- t; C2 G& N - ; @6 q3 Y; D6 L W3 P
- LIFETODEC: ;十进制转换# }) t( q% V9 R4 B: C: x0 r
- LIFEL1: ;initialise
( H2 Y0 U7 O4 ~- S, } - STA $7A00 ;$7A00=F3
s, t& `, T% v" K* L - LDA #$00
; F& \) W0 P$ Q% \8 c - STA $7A03 ;$7A03=00& q! `: E5 J6 ^* l: k! ]3 F/ ]& e
- STA $7A04 ;$7A04=00! V* k' \/ ?( L* S
- STA $7A05 ;$7A05=00* u4 e" v5 z; _. x- v% `( @- v
- LIFEL2: ;copy data $7A00 to 6001
' l7 w; j* v/ B+ Z$ \4 a - LDA $7A00
7 x: J, _5 F3 R - STA $7A010 C; G" U2 A2 @/ }) O4 z1 j# \
/ b7 n$ J. ]% e. G- e& \" a- LIFEL3: ;hundred4 e3 c p8 Q2 g0 r; p: n
- LDA $7A01- l, L6 v$ \6 k% @9 U( F, [
- CMP #$643 V; E; k: c7 C( h* {- [9 B! t* Q
- BCC LIFEL6 ;$7A01<100 goto L6+ G8 w% I- y+ F: Q. R. f
- LIFEL4:
- y A6 R( s% s - LDA $7A01, S0 i+ f& ~% s/ T* e
- SEC( X* |- `" G& {% p& X
- SBC #$64 ;$7A01=$7A01-100
$ a5 [3 }: G% S4 `! y9 m0 Q - STA $7A01& M, b$ p! A8 U1 \
- INC $7A03 ;hundred++( V% [, H5 c6 P* |, ~) M* U
- LIFEL5:
( b$ F) Z4 w& R - LDA $7A01
% x$ Z; `: f8 K3 h; J( Q6 F, n - CMP #$64
! ?0 z% L& p8 h8 j5 k8 u - BCS LIFEL4 ;$7A01>100 goto L4
2 Y0 G9 Z' ?& f - : e6 a5 E$ I$ Y a* \1 R
- LIFEL6: ;decade
6 M) L1 i' j8 G - LDA $7A01# N t n4 K. q4 K( y( s7 P4 C5 K
- CMP #$0A
0 E7 G( ?6 \3 o8 x1 m - BCC LIFEL9 ;$7A01<10 goto L9
; A5 T: D9 D. k8 j - LIFEL7:
v' D W! }6 r: U- | - LDA $7A010 v; V/ Q. m$ Y3 B0 ?, o) T. q
- SEC! S/ J3 S* S" Z. k- s
- SBC #$0A- o$ J' ]( ~2 {; F
- STA $7A01 ;$7A01=$7A01-10 N8 P: v- R% M) D) A
- INC $7A04 ;decade++
, t: @; p( }( M- }+ Y) L - LIFEL8:: k. j5 K, h F4 t+ z
- LDA $7A01) O# ?" W. L2 H& h/ l
- CMP #$0A
; P; w* p/ @8 S0 _6 s. v3 U" s* N - BCS LIFEL7 ;$7A01>10 goto L7* B4 E* C( ~& i% T4 ^
- ;unit% I p! ~/ `' y! C9 v0 m
- LIFEL9:
) t1 M0 q8 R* i6 B- ^& w - LDA $7A01 ;$7A05=$7A01, h) @$ P8 {$ c }0 j) Q* Y8 ?
- STA $7A05 ;unit" J4 o' j/ S) z
- RTS ;return& D* c3 e# h) P' y& P: E) F A
$ f4 q9 E7 v( Z b( V: h" C- / E) [3 C2 X J8 z% N
+ U. S! P% J; r: m/ z3 ]1 f' a- WEA: ;武器ppu写入3 E! F# S. _- m+ O
- LDX #$00
! A& m' z. `1 ~& i6 H - WEARE:1 v0 V4 f0 |8 G+ q2 Q
- JSR PPUADDR_PROCESS6 t2 i* B. r3 D* X9 F4 [9 o: X
- LDA WEAPON_STRING,X' M, W+ M8 I U, \6 y
- STA $2007
7 H+ f/ ?0 j% x - LDA #$00
9 |5 b/ Q5 i ]3 V1 R' a - STA $2000, P, h7 [/ {8 `# ^! n
- INX
/ L; o6 W1 N* R! Z2 Z5 R% \ - INC $BA t+ |8 w- g9 f m* ]
- CPX #$07- D1 m i: F% |9 R# U+ L( F
- BCC WEARE
# l; E) |) w5 i g& ?
/ ^' S0 T5 U5 Q3 H1 a% q- READ_WEA:8 T$ q, Z" H4 [& a
- LDA $B9
1 @" p0 W; C" B: U1 d/ p - AND #$100 @. A; S. w) |; o6 x7 Q, K
- BEQ NWEA
; K& n" F3 j" T0 X; H - SWEA:1 i; p$ U0 h* \7 p
- & P# Q8 j* r; v: D7 g
- LDA #$9D
* ~: E; S" G- ~ s - STA $2007
3 Y& Z, o( y4 ?6 v2 d3 ^/ E - LDA #$00* o: ^1 i: q `
- STA $2000$ m7 V* F2 V# s7 u; Y
- INC $BA
7 D; F8 m# c6 { c9 J/ c - LDX #$00. R/ x' [/ V1 r, l3 `
- JMP WEAREAD0 r& r( u ] w" F8 l. c- ~9 E
- NWEA:4 m4 q* B5 Z) h& g1 A
4 Z& ?% C+ i2 `) g% Q; y4 S, o2 _- LDA #$8D
6 O# B# W. I, m; J! U& a - STA $2007
, w( @- Y3 E8 G9 d: H) n- q - LDA #$00
7 L3 x7 d* h; z; F- \% W - STA $2000
0 c4 K2 ?" ~! Q7 o+ P4 g9 [ - INC $BA
3 r# K" l( ^7 ]) q$ l3 G$ X: u - LDX #$00
$ L: |8 Q# \! Q L- o - WEAREAD:
+ G# p L$ h6 E2 x - LDA $B9
$ n* S3 J- _9 r) p$ p) j: z - AND #$EF
" L3 X+ {9 j8 X+ b1 B3 [6 n - CMP W_DATA,X
$ T; ], G5 |; o - BNE WEACMP3 Z2 Y E" J6 u3 i9 a# `" p
- ! F: s" w+ b: h3 p
- LDA W_PPU,X
G) O7 I2 H7 L8 U2 h5 \0 x \ U - STA $2007% l# z0 }$ v% U" Z6 l
- LDA #$00
6 V0 ^, A2 {! m0 j - STA $20006 U* @' B/ [" c# R$ m
-
5 H5 B* F/ }0 {+ ` - WEACMP:
# H4 I; M7 E, P) D7 ` - INX
9 h6 \. f: r5 {7 {5 ^4 Z. W - CPX #$05
' C. x/ U7 r* F4 |. t - BCC WEAREAD: e) @ z4 h: p: p8 L
- RTS
' W |0 H0 g+ u# W" \
1 N7 y7 r e! \9 C
1 x( z4 [+ t6 ~8 t/ v- PPUWRITE:+ f9 X. Y- [/ @& \- A& D
- PLA9 ]. I: a0 V8 w1 x0 d
- TAY/ Y+ {% m0 s. p
- PLA! R( H$ h: d4 ]& _
- TAX# |) {3 x$ ?9 x# M) k
- PLA
! V! e! a2 k+ j' x* U4 T0 v - LDA $25
) H, n4 S2 v9 W9 K - CMP #$00
8 l+ W# |' ]: z3 Z - BEQ WP1! G( L! X6 u: a
- LDA $25
1 v( S* L& [7 H1 p5 J& m - CMP #$011 r& Q; U. F: F" x; Q' h
- BNE WRE H2 M. l& P' r) m- h
- LDA $F5,X4 Z, M6 Q# [. t) U. G8 {
- AND #$EF
! t( W8 m* {) ^4 x* h) v, ? - BEQ WRE7 K3 n, n$ ], a2 J% D% P
- LDA #$000 J3 b& G/ g# n; p
- STA $7FA0
, F& V- ` Y+ Z4 ^# H: Q -
% f5 e* @/ w- ]2 {: a7 G - WRE:
0 R/ E) N* o7 K% O( R1 V - JMP $A000
1 R8 m( ^) U7 ]; L. D% e( a
* O# p/ d: Y% G- WP1:
4 p, f5 |; K+ Q% |/ n! P - LDA $7FFF! t$ J. F$ y' Z
- CMP #$FF
8 t( n3 N7 b2 g" c; D3 d+ n! G - BNE WRE6 P& Y% L" V. H; K, S
- LDA #$00
R5 T2 x7 c2 v3 I - STA $2001
! @# d% t* h$ s, A+ C& C& {5 ^ - LDA $BD: w1 g9 H O9 d- v! g4 r B
- PHA+ w- M* a* S1 D9 {
- LDA $BC5 I- U, d8 c. N6 Q
- PHA5 h( X D. q. D2 v% J
- LDA $BB
- a0 b" _6 o, c; k: y - PHA
8 ?1 a3 s! ^, e! @. C. B( x - LDA $BA+ f0 S1 W! e# e8 v! E4 u
- PHA
+ R4 k7 b3 Y/ Q - LDA $B95 }, D# S7 t8 _% ~( g: Z) x
- PHA7 s, X: ~1 ^' a3 X3 F
- LDA $B8' x$ h3 s* T4 M
- PHA
2 q4 C1 s ~% w: `/ w, o' Y - LDA #$00
6 v0 k! W7 Y3 Q4 j7 A9 z; _ - STA $B8
+ S0 }+ G2 y8 h0 A: E4 y( s - STA $B9
/ F0 s3 j5 z6 j4 L9 P - STA $BA
4 f$ L2 L' u5 T' w' x - STA $BB
+ }# U7 Q) {) x3 Q' u G) W2 t/ h$ k - STA $BC
/ F& H0 T3 y* _8 \$ ]; f5 c* f - STA $BD
& V$ Z5 B4 h: u1 q8 U j - LDA #$007 ^% r6 Q% l: o, {
- STA $7FFF
( u" V$ M9 `5 N* C& P9 ~- W' C - LDA $30# H8 F! J8 p4 K; c( Y7 F% i
- CMP #$02
& b. V* a" n3 x! K+ q: t - BNE UNPROCPL
9 g Z# Y8 F- n9 ?6 j - LDA $7EFC" ~- V: S7 V8 @3 a' C4 L
- STA $FC7 J* I9 W" \1 ^) Q5 Q* x4 U4 l
- LDA #$006 Y" p/ t. U: N7 Z
- STA $A4' K7 c$ e4 F \+ R0 o
- STA $A5$ T1 P& v+ q/ m5 _. m
- UNPROCPL:: y$ Q* k/ L& J, m% |( m
- LDA $7EFD" p u# T3 `, V% Q$ P5 I. L
- STA $FD% W# c% ^: a& t2 r, J h/ k* `: A
- LDA $7EFF; Z* N1 U8 K2 i7 C
- STA $FF
' `- I9 @. h1 u ?. g -
- F, s2 f7 r4 o: E - WL0:
1 a, p. n2 D* x6 R, i - LDX #$00
9 _$ T& K* N+ w; d - LDY #$002 J Z( |6 i0 d6 Q/ Z
- LDA #$00
. y( k" R/ Z: p/ t% l5 p - STA $BA6 F1 `/ o5 b8 D4 [4 ?0 p) ^. D& r$ V
- LDA #$20
( g9 D+ {$ ~* C1 b6 i& G - STA $BB
0 I1 P3 {8 ?( L* J" F - LDA #$00
4 O! X/ D( P6 }% e6 c' L$ ]1 b2 L - STA $BC
7 N1 l& G5 O. \( Z5 ~0 ] - LDA #$60
- e4 B. Q; H8 b% r! G6 m - STA $BD
8 C) z) O5 C7 ] - , K9 U. A5 t7 G) W6 ]6 d+ N
- WL1:
& }& q) s j, z/ A# Q - LDA $BD
" F$ I" ^& s: F6 h0 `' r* E @ - CMP #$70
0 D/ o2 X9 e4 O$ O( n - BNE WL2
+ b, l: Q( V* e# X/ C& Y - LDA $BC
9 @7 p% z) j/ C+ h+ F# ~ - CMP #$00. g2 A& r/ ]8 B4 z- ` e
- BEQ WLR# S! c8 x2 a- q) R( R& i. e
-
; F- J# Y2 R$ T0 [2 b0 h - WL2:% @4 d& s6 [- q! `7 Q4 _
- LDA $BD
w5 V j, h3 c* l6 L - STA $2006
1 V$ \' h; f1 d0 j1 M Q! I - LDA $BC
! T2 v/ d& G. `. E; q9 k0 R$ m+ s) D: ^ - STA $20069 x! {$ e$ x! p; a
- 5 _* |8 Q0 s( k; M
- WL3:- }6 D6 u" ?% k; x o$ v: T' M; T7 U
- LDA ($BC),Y
- x3 I9 E8 j: T" Q9 j8 z - STA $2007
, s S+ z, V# b - 2 P9 g \4 R7 U+ Q
- WL4:+ w. c% Q; ^0 S& S0 z l- ?
- LDA #$00
8 T) T6 J: O4 e - STA $20005 Z6 Q% ]% ]% Q7 [( Q+ M: _+ I! p/ e! V
- INX9 ?; J0 d6 s- ~5 J
- INC $BA
* ]& [; f$ ]9 Z; ^; ^ - INC $BC0 J# ^$ c! D z' `7 z) Z
- CPX #$002 O+ Y% L/ I7 \8 F
- BNE WL17 c4 F" X+ ?5 v
- INC $BB# f9 |0 U: ?% b
- INC $BD" o& \& I% o O& n2 G- f
- JMP WL1
1 d [9 y, ^( X! E' H$ N) F% v" @/ G - 9 k q6 O6 i4 p0 J( N' l+ D3 G3 U
- WLR:2 e' K, Z( v' T$ j. G( t
- LDA $7FFE, o+ N8 W3 U, ]! F& U/ @
- STA $07F6
+ ~; V8 k2 t5 a9 \ - LDA $7FFD
& t* ^( s T( a6 l$ ], l- M - STA $00FE
; ~9 W- B* l4 W! Y" r! G - LDA $7FC10 R% `; \3 _/ L; _1 k {
- STA $07C17 v* U( A) X: Z7 S% r: t, k$ N+ ^ p0 T
- LDA #$3F
7 S: T& I5 A5 X& r - STA $2006$ K6 T8 ~' x3 K! V# e0 B! t% Z
- LDA #$012 O( ]- a) ?$ Y% y$ u; ]3 i
- STA $2006
" z/ i' z7 f% H8 s2 ]2 @! n - LDA $07C1
. c' h1 \% u0 D' x8 u - STA $2007
2 z9 R8 Y# p( [ - LDA #$00
) w2 Y+ n# V* x4 S. x - STA $20007 Q. C1 \8 b0 S1 T" V
- PLA
v7 s6 b' ~. w- R - STA $B8
/ M/ M0 T, p/ P - PLA
+ n9 v1 t! S; U) \ - STA $B9/ J2 T% d' w: [; X: O
- PLA
- I) y2 o& d% Z- H: v - STA $BA
2 _; e( ^7 A5 T8 m) S - PLA' F4 g" Z5 F/ M9 h! X; O0 ~
- STA $BB6 @& H: Q2 J8 q6 c1 L
- PLA) F* O2 m. c$ v5 P p' U6 a
- STA $BC4 A! l, g# f$ H$ p8 @3 A6 r
- PLA3 _) C/ S, r, c( z; ~8 G. m
- STA $BD! s3 s# e) e: |8 [; j5 T
- JMP $A000
- w1 {& ?! Z. v9 F( n& C - 5 {& H6 s+ |, {/ c1 p
- FREE: ; 暂存器保护+ v' Q0 n, V' L8 C
- LDA $BD
" s+ t/ [/ P4 R) ~ - PHA. e/ k8 Y* o2 h0 t- m
- LDA $BC
% f7 e" M7 i( Q* s6 o - PHA
- L- }' ~( B" {" z) ?. t- r - LDA $BB
/ S# ^- _' J% ` - PHA% }0 O( j6 [0 e' }
- LDA $BA9 {( u% S. C2 @+ Q
- PHA6 y' N0 ^4 H2 J; L" K; S) n4 W4 F
- LDA $B9/ c# [! P5 @7 g& c
- PHA" M3 j2 j% j' ~) C
- LDA $B83 a0 K7 s8 Z' o& m* w% L p# l* _
- PHA
! A! [+ M/ P. G5 ?" E - LDA #$00& N2 B9 _( A! O. P8 R" J
- STA $B8
) w; ?( }* q/ l: I - STA $B9# z4 ?0 y1 v/ p @3 d$ `
- STA $BA3 b$ w- U. q0 w9 a _" G' \% E( l. k$ D
- STA $BB' g* r+ k% w! x
- STA $BC
7 `; b' k! }( g; B8 o& p+ I - STA $BD
1 X+ q! B% q8 O% o: h - % K. W7 l; N: G$ U
- WEAWRITE: ;武器ppu写入
& q; p. `6 A* b1 l# F1 _# }2 U - LDX #$00
7 n% Q& K& a, s! c - LDA $AA
. k9 N, a" J% @ - STA $B9' i8 [: U0 D9 g7 x1 O! m% _/ t
- WEAINI: ;地值初始化1 L) Q7 |3 f/ i, f/ `# M3 {4 A
- LDA #$A4
+ f% E5 M' _/ M! d9 ^5 v - STA $BA# F' C2 Q7 Z3 P) Z
- LDA #$20" J6 p9 U* W; j9 w# K+ X5 t
- STA $BB
: V% Z& {; q( G
- n" ]7 M) {( h. P- G
1 L& Y' `' w7 b$ _/ \2 Q- JSR WEA
% ^. \5 S# G' O - LDX #$00 ;武器ppu写入0 z) _( `; Z. M. V
- LDA $AB; D3 X3 _" y$ B1 z
- STA $B9
0 }- f2 i6 z8 N6 R) i, Q; x - LDA #$B3
r6 {6 [# ^) R+ z - STA $BA* j4 b* y) _5 y- I6 n! ?! O3 B
- LDA #$20. {5 m0 d9 ~& v2 p" p: f/ }$ H
- STA $BB
$ ~$ i% Y* j4 b$ i. ]7 B
0 s! U9 w3 s9 v) F) u+ U
3 x/ r# g0 Y; R- JSR WEA/ A3 ?! c( p2 _8 b1 ?
- 4 g% |! {8 `2 y9 t6 l! d) y
- LDX #$00
i/ w( t. R* z - LDA #$E45 Z; H% Q8 B, O! ]) X/ Q
- STA $BA. p W$ J f( a
- LDA #$20
3 H& v: K+ r% ]# Q - STA $BB0 V- [( _: r s9 r2 p9 U
- 9 y' A6 r1 @* V; {$ f
- . W; b* \4 @" a4 N0 c
- LDA $32
/ ]! z. Z1 s3 G% j+ R5 f! l2 p( ? - JSR PLAYERLIFE9 d( A$ p: X' M( o6 l
-
0 z! i% o6 S& [; b5 Y! m6 I - LDX #$00
( {1 ?% V+ R( s1 ^6 Z3 h! B* A - LDA #$F37 S* M/ M3 P# A2 D" x: X: u3 x
- STA $BA" q7 t E h7 I( W5 j
- LDA #$202 Q( K4 B* |' [$ g3 Q' c
- STA $BB
1 K5 n+ \* y% G5 c8 k: ? - 7 I* O/ |0 q4 k
; b+ V$ L8 [" `& J% v$ N7 {- LDA $33& G, x! X, p5 G- R; \
- JSR PLAYERLIFE
/ ^$ h! R. A( \, `$ k0 n7 w -
. \" N7 ?$ L" _0 e3 a -
; z. I! u- r6 g$ F8 R9 S0 k- V$ ~ - JSR PLAYER_01_PPU0 }% c9 z( |5 x8 ~; H+ L9 y
- JSR PLAYER_02_PPU0 R* @ D+ b( h) i; w
- # K2 x2 |9 n- L' s- q
-
. F$ V( L7 g1 q6 p* i - JSR PAGE_PPU
* {7 g" M, A% i$ R% ^7 l - JSR PAGESELECT/ D8 ]5 }) j7 T$ X) z
-
: N3 s9 d" Y1 ?+ a& `3 Z4 } - 3 |2 ~$ m8 d8 x2 b% S! Q M
- 5 \2 W8 j6 q2 i% [
-
) e2 r8 F6 h5 }0 `- g( A8 @( P - i7 O$ E3 u9 l, Q- O9 ^4 C$ A
- 5 R0 |" f6 W( i% J2 g
- 8 H3 P" v) l% n8 C; j* w
-
- K p4 d Y2 L - ( D6 I9 w: W9 f. @8 O& B- g
-
2 j4 B5 ]" ?5 t - ; T+ {$ _+ M! `7 u' U
-
0 V1 a' l1 v! E* N -
/ x/ I+ x4 q: Z6 h0 _1 D; f+ O. [ - PLAPRO: ;恢复现场# u+ K5 L5 F3 a% @
- PLA
2 r8 S: l) y+ D; f0 x8 ] - STA $B87 Z' ]( P2 w0 x2 Y2 j x5 _
- PLA
6 _% t. _8 M r# Q - STA $B9
; Y0 ?1 E" H% _/ m! _) M1 Z. \ - PLA: C/ ^3 [* t- B8 ~
- STA $BA
' J' Y9 k+ _0 U. D) ? R2 u1 q9 ]$ P - PLA) X% h& W+ X1 i
- STA $BB
; ?: P/ K3 h* q - PLA0 S1 r) Z: `/ }9 R, J3 Q* H
- STA $BC9 [, E$ h; i y: z
- PLA( ~- e J' H! l0 t. F
- STA $BD6 ]/ ^3 |0 P. C6 X2 @
- FREERTS:
- I0 p5 L) w5 u: t* l' c$ s+ w' N - RTS
$ _0 A' ?. A3 C- V# h" U8 F
* ]0 c3 E9 _# K# i+ K$ a- INVINC_STRING: ;invincible
% A$ r8 h4 @0 T4 W - .BYTE $93,$98,$A0,$93,$98,$8D,$80
. Q& e5 }; ^' t7 j - : x$ e; a$ \+ ^( k: z7 i* K: S
- INVINC_PPU:% @+ j$ h8 @6 u/ Q
- LDX #$00, @& |. M7 i1 q$ j8 I+ A [, c
- LDA #$625 ?" u! ]1 K3 I" c7 W, ^6 x! R
- STA $BA0 ? a4 K" r0 t- p
- LDA #$216 e; z. a" E: t) T
- STA $BB; R+ j. P$ o; t" d' {
9 i4 `8 `/ f5 Z6 E m- 0 U6 s: q2 r9 T7 q
- JSR UP_PPU
" h% @3 U. T. n9 P! U1 ^8 B: k+ y - JSR INVINC_WRITE
; n) k# F! _! `- o8 c" @ - LDX #$00
3 k O% k; a1 S - LDA $07A0
- Z7 K9 @9 g; @- U - AND #$01
# g& A+ {7 v% ?/ D9 p7 Z - JSR ON_OFF_PPU8 _0 I$ j4 c+ B+ B& a$ K
- LDX #$00
' S) a u9 z8 j$ p- z" E - LDA #$71
/ T1 P w# a- m$ U1 {: q - STA $BA0 L6 B% A1 q; a: a! A' n) o+ G
- LDA #$21
+ @1 m" o7 Q( Y* D J - STA $BB
, p0 z; e2 z# g) i8 ^
1 p+ @3 k& T7 h- ; O! B( j: E# F j: P3 A. G
- JSR UP_PPU9 u- W- \1 S" |: v, ~; B5 Z
- JSR INVINC_WRITE
5 \* Y' F9 f6 e6 S - LDX #$00
: A0 W8 t& B& U+ a - LDA $07A1. ]& N0 ]( ~& `
- AND #$01
' Z+ W& W5 y& h( D - JSR ON_OFF_PPU' K2 W9 S8 |5 T2 P
- RTS3 K2 m* F6 Y, ]0 c/ y) }
- 2 a5 n" S6 s% V, k- }5 {
- INVINC_WRITE:
0 E$ x3 X3 u4 G, i& y - LDX #$00
; z; u6 I$ K0 f+ w, |) { - INWRITE:
0 d8 _' Y1 t+ B3 H; D - JSR PPUADDR_PROCESS# ?# _& K9 a* M/ I
- LDA INVINC_STRING,X
; c( U7 W3 D v* Q9 ] - STA $2007# M# p# J$ u& R
- LDA #$00
8 \0 ?! q( l8 F4 K, k8 u& }! r) f - STA $2000 m4 M V; ]; W$ p+ j
- INC $BA
& O( z8 t) ~; }) t - INX. [; Y- }+ E# K4 o' v0 F
- CPX #$07
& U" [9 _. Y, A, d! F; R- z' { - BCC INWRITE) ] {- r4 X- o, D% }
- RTS
2 Y! ?1 d4 `$ h. Z - 4 i$ ? ~/ T' k9 t# M
- ON_STRING:9 B6 d$ s, t& B' M2 K ]; O
- .BYTE $99,$98,$80
# Z/ \6 n# G" N1 g: g -
$ d& `' y, n) R: m/ r. i8 b5 q9 H - OFF_STRING:
3 H7 M {8 l# p: D2 L7 F. v - .BYTE $99,$90,$90
$ I9 j; }, H* g3 S6 P" W, z' e% |9 H5 C - : {4 m0 g! P c6 m) |" a# H
- ON_OFF_PPU:2 |( y5 r3 H& h
- BEQ OFFWR
9 y n |' N$ K% q; }- Y# k - ONWR:; M& H1 F- }7 R9 g8 i2 l5 w
- JSR PPUADDR_PROCESS! p6 E- F3 U1 ]& k! }1 s
- LDA ON_STRING,X
. s1 z8 H: f5 N1 m - STA $20077 y* `1 w6 w. @7 i6 [$ q
- INC $BA
2 U V" \% y$ u% G; `6 l3 _2 d - INX
* o$ z7 C n. `# }/ q - CPX #$03* H3 Y, S. @; U) z2 a! A+ `
- BCC ONWR. t/ h+ k8 }/ k/ S3 R
- RTS
& p, Z( x( X9 T- T& g - OFFWR:0 |* W) k t, N" q, W. o
- JSR PPUADDR_PROCESS* N7 v8 E5 |- v7 @
- LDA OFF_STRING,X" M. L* G4 Z3 E- q/ O
- STA $20075 y8 x; [0 d( T6 E1 s" F
- INC $BA
4 Z7 J! Z5 ~+ _5 k - INX) @$ k* I% `* \/ ^. M* }
- CPX #$03: Z. D- h% v7 F, s; C6 V2 K% l
- BCC OFFWR8 }6 U- ? ]5 J
- RTS& H+ W, u1 T% `+ A
-
, @. Z% H# f: b1 j6 G7 }8 S - LIFELC15_STRING:3 M' d% j/ t- o; p
- .BYTE $96,$93,$90,$8F,$82,$86,$801 O# R1 k/ w3 }! Q [! E
-
7 [. J/ P7 t+ [4 s+ |* U - LIFELC15_WRITE:
; \3 i& ?7 u& ^4 k) U- r/ g: y - LDX #$00
% ?' m& A+ A% @8 f9 q - LIFELC15:
; V/ N6 y5 o/ O, d$ j+ G - JSR PPUADDR_PROCESS4 v2 A9 B% x( c2 ]
- LDA LIFELC15_STRING,X
6 F H! X$ H5 Y* Q - STA $20072 J5 c+ f3 h& O' Z4 }) N
- LDA #$00% I7 F, [9 R' o) o: F: d/ l
- STA $2000
' d, f O' J( `0 V' F- q - INC $BA
! h3 y, t/ ?$ J! V+ M3 J - INX
3 u- z7 y; A: y' N f - CPX #$07
) |: ]! ^/ ]3 y - BCC LIFELC15* y# q( a5 F$ O5 P. a
- RTS# w, a* ^- `- W$ y! \( I; l8 U
# Q: W* Q h3 J6 S/ e- LIFELC15_PPU:4 b& i H; |7 ^0 w/ m: D' `
- LDX #$00: @# T* f# o& e9 i8 v
- LDA #$A2
- Y0 E4 ^+ x7 z# l, { - STA $BA
8 V8 s. L# ^# J: `& n1 O | - LDA #$21
# P/ y% O% }! k4 W; Q: }6 { - STA $BB
4 S0 S/ M1 G% m& d/ z6 B% a/ U) g - JSR DN_PPU
* Q n9 \# k1 e* E - JSR LIFELC15_WRITE
D) N- D, _' C. Z! ~! {% l! I/ K - LDX #$001 c0 {& ?9 `( E5 {; m2 y0 N
- LDA $07A0
j0 G& q, }9 e0 ~# ] - AND #$02
+ d: A9 M9 I9 i+ z3 h - JSR ON_OFF_PPU
5 y$ y5 C$ u% y, y - LDX #$00
; E3 g/ u( P1 t - LDA #$B15 Y6 |3 K! F8 `' D5 T' Q) D
- STA $BA
( {# ^4 D9 m1 r6 [: X: i0 l! m2 W. {8 @ - LDA #$21
& K7 m1 G3 q& t* g; ~9 _ - STA $BB
( s" ~5 r. h& E; E" ` - JSR DN_PPU
0 l2 F1 C3 N. ]& P' A - JSR LIFELC15_WRITE; ~9 z. g+ V3 M: I0 y" p. e- o
- LDX #$004 o# F/ j6 k8 \" I! H% Y( v O
- LDA $07A1+ d$ K @' ]" r7 b* W6 ?
- AND #$02
+ x, ~2 O! }. B - JSR ON_OFF_PPU
3 T3 F1 a& _9 I - RTS
5 ?! n7 ?1 j8 Z# U3 c" ] -
1 z' Q: y$ F$ S - DOUCON_STRING:: L( |8 i' J9 g4 U" j
- .BYTE $8E,$99,$9F,$8D,$99,$98,$80
5 e( y. z& T3 N! A( o- U, } - + n1 G8 G/ \+ x
- DOUCON_WRITE:/ t- w% p) a2 [
- LDX #$00) n1 _/ T& A0 x0 K8 c+ x7 i- x; _
- DOUCON:( a0 r: e. S- N* C+ ?$ w
- JSR PPUADDR_PROCESS
& |, u) r4 Z2 U9 r$ l - LDA DOUCON_STRING,X
7 |* d+ `- L1 h - STA $2007
3 Z, p/ _5 j6 c& I- O$ t9 `5 w - LDA #$00% u( G2 T" L/ ~9 I" G
- STA $20000 Y+ T3 ^# Q; a* l$ X+ @
- INC $BA
7 n) q6 x* e* s/ B. o - INX
/ T( p9 p2 v' o* R( d7 n; ] - CPX #$07# u* y$ J& K/ C$ w% d( r' k
- BCC DOUCON
( b" ~( v0 j2 F, p8 v6 M+ H - RTS3 m7 }) A0 e) M( n2 l
- : J# O) D% l+ \- E) K6 F$ L2 V
- DOUCON_PPU:. G; `7 C# {& g$ [; ?
- LDX #$00. h N( I, A' l$ X5 D: c
- LDA #$E2
& a0 S0 Q, f* E. h: V& n$ S. D - STA $BA/ Z0 a8 c/ B) g) R6 C
- LDA #$21 M# Y0 A! A |- [0 @" c# `
- STA $BB
& ^7 n* }+ y8 B - JSR LF_PPU. X2 W( a8 @9 L5 d
- JSR DOUCON_WRITE1 @. _. y2 S. B6 N( u7 w
- LDX #$006 M2 H2 b. w- i0 G3 ]- j. w
- LDA $07A0/ u) e( ]) |# |+ ]& }; {2 _3 j
- AND #$04: R# k, m. @# s1 M$ N; z! ^( g9 i
- JSR ON_OFF_PPU4 u4 U# o) Y! S0 O
- LDX #$00
% p: l7 p6 h6 @+ o& Q9 } - LDA #$F14 ]2 U( s: C, O: H3 u' B
- STA $BA
: J# x f5 h* s, V& y/ r - LDA #$21, i; J( ]6 _2 R+ s! @5 l
- STA $BB
8 w1 \" P# }+ Q* B/ v; k5 ?9 y - JSR LF_PPU
8 l1 ]/ q$ G/ ]5 X8 |& n4 @$ R; T - JSR DOUCON_WRITE
3 l. b, L& A, w - LDX #$00
, N* O3 g8 h/ J - LDA $07A1
/ j6 |3 j0 S6 Y, H2 |4 }: { - AND #$044 M. g \5 X) B! K3 L# G1 v6 b
- JSR ON_OFF_PPU, W6 e. Y' X9 `0 c P% y/ N
- RTS
9 [7 V5 E; _9 I- z - * k% F# P2 v2 G" {
- LIFELOW_STRING:
+ D6 x3 t5 z) J# E* V& Z - .BYTE $96,$93,$90,$96,$99,$A1,$80
8 @: k7 e. X% }1 X5 C4 l - - @, t, T: K! S/ v
- LIFELOW_WRITE:
4 d& n9 U \% |) a7 U - LDX #$00
1 h# _$ g# o/ h4 o ~% o - LIFELOW:3 p! G' d+ l0 z! M1 z8 Z$ c+ U
- JSR PPUADDR_PROCESS
/ f$ o! X& [- l% \( y - LDA LIFELOW_STRING,X
+ I: s" U: I9 l7 R) U2 d - STA $2007
7 m, ]+ g- [2 \7 g; Z; K' B4 ~ - LDA #$005 R* D# b9 F& b3 V
- STA $20005 K1 Q L0 [0 _/ S, H% r
- INC $BA
^# F4 i& n# s; b! E. w4 O, l - INX
; \4 n5 w. x( k5 o7 m) k* [ - CPX #$07
/ |3 M* c3 Q# v! e, Z2 a1 K - BCC LIFELOW9 E% E! F: j, f% [/ A
- RTS7 @6 [# j6 p. i- l" X6 r
- . v4 \9 W: P6 w, V
- LIFELOW_PPU:
* l. c# X+ w/ ^1 ?: z# | - LDX #$00
6 ^' G7 n" k+ ] d C - LDA #$22
8 n8 h: K, a8 q. C! [& l Z) \: I - STA $BA" X" D% E# E+ v; b. T
- LDA #$220 W! b, H. q. q. }$ h
- STA $BB
1 _) X/ L0 A) c
% W1 A1 O* ?( c" x0 a
- a0 A6 l! K& W1 q0 g/ Y: i- JSR RG_PPU# {9 @% C8 M' O+ Y+ j' Z2 V
- JSR LIFELOW_WRITE
! I( C$ g* ^. b1 _ g+ P3 g) ` - LDX #$00/ t) B0 z8 n% M& C
- LDA $07A0' q) x+ X6 a) L7 `* y# s1 X
- AND #$089 A: a9 F* { @; }& T8 u# y; O
- JSR ON_OFF_PPU4 y0 N0 T; R" q# L6 j
- LDX #$00
+ s1 C2 S! E7 h" f - LDA #$316 |) B( o# Q" @$ z
- STA $BA/ E X, [* [1 {3 b/ S8 n' b4 m
- LDA #$22
" L; h% e9 S: L+ u" j& G - STA $BB
' G$ H: g, c' h" Q7 J - 2 \( Z( R! l" E1 c* `$ O) _8 p
) D9 m- }5 K6 l7 K+ S: l; K- JSR RG_PPU
0 s8 b/ p5 D/ X+ p7 v) A1 h& u0 R - JSR LIFELOW_WRITE
6 T" h+ P* z, s( z5 n- G6 h$ R - LDX #$000 j' k# Q: t! |, ^9 D
- LDA $07A1
) Y _9 q4 C1 @9 @( u+ \5 [# }7 u - AND #$08
" z' g2 ]+ g6 ~1 h- ~6 l - JSR ON_OFF_PPU0 U' E; Q, F d7 z! s' N. z' w
- RTS
9 w) ~% q- |7 j+ R/ z0 k% | - t8 o- J8 H4 O7 I
- KILLON_STRING:
; Y' t8 B+ @6 ~: n$ U& M8 E - .BYTE $95,$93,$96,$96,$99,$98,$80: Y+ ? ~$ w4 X
- 8 r; S# E c' T$ Z q, E
- KILLON_WRITE:
+ F; j- M7 v4 ?& ~3 S* Q - LDX #$00! c4 r; F& o y
- KILLON:# F0 B& y8 b$ v
- JSR PPUADDR_PROCESS. W; `* ?. [1 {7 Z) D C3 q
- LDA KILLON_STRING,X
8 N. ]8 [. e$ B( U& p( L+ e1 L - STA $2007+ s4 {5 l& R/ d4 G
- LDA #$00
9 }& k: v% ~- e - STA $2000. Q; H9 R2 Q) U: Z$ B8 I+ H
- INC $BA2 X# m* B% l8 i$ [, M% J a$ ^- E
- INX
% U( y, H: p0 G* I9 I2 @ - CPX #$07$ B% J' o4 X7 l& d1 w) u; j
- BCC KILLON7 ?, L0 y, g; d0 d6 @' Y
- RTS
9 ~! \/ X2 e- S3 }' I8 X - # B4 D$ Y* \( M( p% p9 ^( K( c( F
- KILLON_PPU:1 p: t1 D- J o- W. y
- LDX #$00
5 }& p3 I3 E$ @# V$ D7 Q, d - LDA #$62
1 ]7 h/ Z6 {& y - STA $BA
' Z5 r0 X1 ]. O# e/ w7 Y - LDA #$227 Q" ?$ u1 {: ~( W/ G
- STA $BB
8 u1 X* O! i% _) L& ~
8 Z3 K$ y$ A& ^$ K# N) M& j; b' O% F Z7 p- # C8 t/ s! F) D4 q% _7 I
- JSR B_PPU- _- [* G( W2 d# `' V
- JSR KILLON_WRITE) v* T* S( L8 p8 i& Z |
- LDX #$00& D5 x- P3 Y0 h2 n
- LDA $07A04 H g: P# i6 F) x- Z: R: L
- AND #$10! Z" o; s8 X# B' K% M
- JSR ON_OFF_PPU6 w- P0 {, i: J1 ^3 V
- LDX #$00
. ^5 ^! c7 F% j) X - LDA #$71
4 ]# k4 a9 r+ d8 ? C - STA $BA
1 Z0 _: c6 N! r3 v$ l5 J - LDA #$22) A. Y3 e. e4 b! ~
- STA $BB
5 t7 L- p- F8 x G+ O - 3 h$ n' X; N3 V% M. ?
, ~% H7 ~9 S$ q3 C: v- JSR B_PPU6 Y9 T! u. W' K/ E5 ?. t1 K& M# R
- JSR KILLON_WRITE* N* g5 ?2 o4 @+ Q8 G6 r8 S" w
- LDX #$008 D" @8 w% ], v1 o! c- j
- LDA $07A1
{5 \- w% |: J5 [+ M - AND #$10! U6 e7 q$ t! t# i" K' W: V0 P
- JSR ON_OFF_PPU
; [ y C7 n9 v; d# c0 \; ? - RTS2 p+ O/ c7 N, ]3 i6 x& G6 ^
- 8 }/ o$ q9 i7 D( q% I
- SKYFLY_STRING:' T" O, ^8 S/ V0 G1 c
- .BYTE $9D,$95,$A3,$90,$96,$A3,$80
( _8 @+ N8 J( P5 F% O6 U - ! ]6 _1 f0 G( z. Q
- SKYFLY_WRITE:- g7 }% U, O( j0 \0 N9 }
- LDX #$00
$ w' l. D9 d& b - SKYFLY:
& A( o, c* Y5 _7 r7 O - JSR PPUADDR_PROCESS
! G; ~, e3 T! j/ w6 ^* d) y1 Y: R - LDA SKYFLY_STRING,X
* k- |7 A1 Y" k/ i0 n* m, E* A4 D - STA $2007
) X! \ F0 B7 F1 O1 c - LDA #$00
+ j* v1 y" b% \& \" b) G - STA $2000( B4 T- R x6 W( T- _5 q
- INC $BA
( Z. l5 x+ o1 _6 C - INX& n" L2 q/ j [/ G, O, X
- CPX #$078 ^. j; [ q' h( q) Q$ {
- BCC SKYFLY
' U3 b; Z! r, g6 v# M! B - RTS* S% Y& k- x- S# X$ Y, m# T8 [
8 u$ L" r7 @( C1 ]. R& s/ t# j' N- SKYFLY_PPU:1 Q' U- o; S+ {0 Y$ D
- LDX #$006 O+ H7 x9 n8 E* }7 v& B
- LDA #$A2
. j( B/ \; ^/ a# j. g$ z& u - STA $BA
+ s1 n: `& t7 }; x - LDA #$22
/ Y- z$ k* A7 R9 `7 V4 g. z8 \ - STA $BB& u$ V" e# F8 G
& z; g$ |! C# O) G$ Y3 l! I: `
& ?: F$ K& n3 B ]/ A2 X- JSR A_PPU
4 O5 F- S- }0 X) H: T$ B0 m - JSR SKYFLY_WRITE
* y I7 r. B! N- H - LDX #$00
5 g+ V% A& Z6 s4 C - LDA $07A07 {( m2 G" A5 [( e0 [
- AND #$20/ M2 E( x) G3 D5 q
- JSR ON_OFF_PPU4 `$ ]) f) g: b: s' w! L
- LDX #$004 C8 r1 e. \$ I# }, u
- LDA #$B11 P2 G' [' h$ }8 p V
- STA $BA
' k- h1 i& u3 O - LDA #$226 P1 C) G+ Q Q4 r7 X5 m
- STA $BB& g. x% J; Y. j$ i
- . d7 M; B# B+ O, H; w$ v' Q
- * V7 E3 |5 f( g6 r4 G
- JSR A_PPU
* Z1 H. h R+ i9 d. ~ - JSR SKYFLY_WRITE O% \, j& B( K/ m, f) C3 e5 ]
- LDX #$00
- J3 Z. ]* K. ~5 w5 {5 d - LDA $07A1) u7 q% z5 H& [. V* F3 M; O' D8 q
- AND #$20
! m: S$ x3 x! w. a/ s# M& R) }# [. t - JSR ON_OFF_PPU
$ N: a. |- u# b4 f7 o# c( i5 e - RTS; v" a. X! X/ x" V$ t5 S6 \
- 3 [) o8 l- K7 S5 f1 d; O
- BULADD_STRING:8 N3 S* f4 \2 \5 A8 @
- .BYTE $8C,$9F,$96,$8B,$8E,$8E,$800 F0 _. X; m$ N: j2 w
- 9 N0 a- E& a/ l: \7 [
- BULADD_WRITE:
4 a) |" l* L) s' w- G K - LDX #$00
6 n) l l# @5 h - BULADD:
" ^) c; ]* z$ a" m, c+ \. \- m - JSR PPUADDR_PROCESS
7 x, a! j/ I2 L5 X8 b- ]& W - LDA BULADD_STRING,X* s& A& j( C* E2 h5 Z3 l
- STA $20075 j4 d8 u" y% k5 C4 u, O3 p
- LDA #$00
! p0 w& p" v$ B+ X' h" Y0 [ - STA $2000
3 E, {$ F* }0 F, h* ~1 M - INC $BA) _7 r2 f0 c" S
- INX
4 J; d% m) P4 n& ~ - CPX #$078 x1 F9 a# H" `8 ^: b
- BCC BULADD
7 m* ~9 c* j7 V) a2 x - RTS
4 F7 ^2 x8 g8 `! u! i+ U
3 B7 s- ?8 Z% ]2 o- BULADD_PPU:# v5 F' `+ ^# N, l2 u! `
- LDX #$00* K! ^' j% @5 d
- LDA #$62
" O/ h4 i# A; t - STA $BA8 U$ u2 q6 F/ b$ f" ]/ l* u
- LDA #$21
0 Y0 |" m) t7 G* n1 r* J9 S5 u! M - STA $BB
% {, O5 r3 M5 M+ u, ~6 g; o; I/ Q
0 c2 S. I$ @' ]6 f) X# m/ ?
2 \* U7 Z8 d% _0 p" `% ~- JSR UP_PPU
% G: U& d0 S& J/ s: r - JSR BULADD_WRITE3 r) O& S7 M9 M8 u7 M2 i; R
- LDX #$00
& n! O1 [" U7 L: o' g - LDA $07A2/ _7 r' f+ R+ r/ l; q! d8 Z, Q3 A8 {
- AND #$01; _* [- f$ x9 ?5 i8 K! b$ a# s
- JSR ON_OFF_PPU G, K) d( m x3 b+ R- k5 M
- LDX #$00
! ]1 g0 D9 t' A6 F1 M& n0 x2 d - LDA #$71
4 {% F0 [( |4 [$ m' h- q+ [: P- k - STA $BA
' ^- @9 |+ A) L& m5 s$ K' k" q6 r - LDA #$213 x, t9 J* J/ z1 l" D
- STA $BB
2 r. |8 d3 p# k8 L& _* I O
5 L0 \$ ~0 L3 p; z. W V$ b8 N" ]- " F* s! A8 O; O" N' y6 B! T
- JSR UP_PPU6 ]" X) k- Y6 k
- JSR BULADD_WRITE
9 ~. s" H% |. C5 z; h" Y - LDX #$007 t6 J. r5 l$ N- s
- LDA $07A3
' R1 t* q. f) i; d, P - AND #$01+ Z$ h% w8 J: F8 J
- JSR ON_OFF_PPU
Z" k; x: g' `5 |3 B! n - RTS
( i5 g4 F- W; h! d5 @+ d& i) n, W& V9 [! S - ) Y7 J9 o" p% c1 H( U4 Z3 ^7 S8 \
- MENU_PAGE_STRING:* [) B& A, N+ m: _- |3 J. [' Z
- .BYTE $97,$8F,$98,$9F,$80,$9A,$8B,$91,$8F,$80,$81. ?5 `; |/ q/ M0 J9 |1 i$ F
-
& J/ e6 i0 x8 U) H7 M, H- n - PAGE_PPU:
7 t2 Z3 P& I7 g( ^2 U8 [! m - LDX #$00
" z+ M9 @) h I4 S - LDA #$0A
2 w' ?2 H& m% H: N/ O - STA $BA
4 [, c# f6 U' x9 [9 ^4 G - LDA #$23+ E+ F- i6 q! q0 l& O
- STA $BB
4 i. @, v( `; U7 m' P8 V - : {! x! s: v, B3 W3 A9 ?9 T
- 3 f+ `" C' N. F6 w2 ^
- MENU_PAGE:! Q( t9 d0 | E# \% `7 ?1 |
- JSR PPUADDR_PROCESS
, y/ b9 W/ D4 D* o - LDA MENU_PAGE_STRING,X5 t1 Y. R# b/ ?, ]0 e" G
- STA $2007
. V8 S) q- D+ y# F8 t% D - LDA #$00
2 b2 R, e7 A5 J% ]2 `' S/ Q+ T - STA $2000
9 n. x/ @! A2 V' |. N* w - INC $BA
0 C+ f8 E' {! |& c - INX
2 _$ D# j; `! Z& H( d - CPX #$0B4 z2 z. ~$ X# n k( Z
- BCC MENU_PAGE" l9 x- i N/ L6 D) u3 F* f$ X1 |
- LDA $07AA
X$ h& j) Y; H; a1 b6 b& V" B - CLC
5 \8 k- l0 H: F7 t - ADC #$82
, X+ a2 ^' u7 {! ]4 s5 l - STA $2007
; P0 q; w d" e, b4 ] - LDA #$00
`: ^. R1 E' H& v1 T - STA $2000
' b" ] T5 P5 E- ]/ ?3 g - RTS
+ ^# e+ i I3 e, \ -
; B- q8 G, l Q4 k L3 E9 n -
! o2 S0 @1 A/ i! ~. T% l - SKINGE_STRING:1 S4 D1 h4 E1 X- `
- .BYTE $9D,$95,$93,$98,$91,$8F,$80
* ^2 V! u- b& q. a -
4 q/ I7 X( P0 h9 `! {3 C - SKINGE_WRITE:. a, `+ I. P' z* v! y* w3 h
- LDX #$00
- W5 h) E; K2 f2 \" Q! ~ - SKINGE:
1 y' }0 O3 k; \& S - JSR PPUADDR_PROCESS1 i/ A2 I* T* ]: v
- LDA SKINGE_STRING,X
/ ]) w' v' y9 F9 G - STA $2007
& C% P1 q* S( k; R' i - LDA #$00- m8 n8 b/ l' K6 O
- STA $2000) E2 l% W/ A2 l# k
- INC $BA
- L* _ W) q: | - INX
1 Z$ J8 s* ^$ C$ V6 j* f6 q - CPX #$07
- D! D) s: c# R( T - BCC SKINGE
) g# ]7 G1 V H# L* G - RTS
1 ?+ Y! Q9 F1 z. V' }
$ @: k6 Z& Y0 w7 \, s" y- SKINGE_PPU:
7 t0 ^9 N% E# z# y0 {+ m' g' A; X! R - LDX #$00
7 b! j. Q9 q* B% d# U* L - LDA #$A25 p) P( @( m; U9 }9 L1 A1 I1 l# U, y
- STA $BA6 v7 z9 \2 u; J8 h, w B0 o1 v$ Y
- LDA #$21
, s6 [" X. _5 i: g4 J - STA $BB
- _. G+ a, K7 S$ P - : M4 A# f$ j! e1 C: d6 \* I4 w
& c' n/ ^" F: W1 B6 B. J2 e: n- JSR DN_PPU$ N! u4 m& ^9 G, \ C, c. Z
- JSR SKINGE_WRITE, ~9 x2 v! }! j
- LDX #$00. ~2 X: w. \- n* A! k
- LDA $07A2
& v+ S. \) X1 A4 N: Q' g - AND #$021 m, F$ m+ |+ d9 ]6 e3 G
- JSR ON_OFF_PPU$ N- ]' [, S2 A" L
- LDX #$00: ~; N7 W$ L2 T
- LDA #$B1
9 T1 U. v7 f$ |+ L8 F& H - STA $BA7 K) s4 \+ V9 J7 r1 ^) X+ S
- LDA #$21
5 c6 B9 T ^: n% C$ l - STA $BB
7 y$ ~& \4 K* g5 n, z7 { - l# ?1 K5 F- C; |' c( k. R& i
" u8 y, v- p+ x8 z2 V. S) C( Q4 e- JSR DN_PPU8 K! K% U: s, K, H. |/ w+ N. i
- JSR SKINGE_WRITE
% i& b/ Z9 X1 P! U - LDX #$00
: F& m2 u6 T) A& Y% \9 H- \. L1 Q - LDA $07A3. x7 L3 |* S J8 s" ?' v% l
- AND #$022 u4 s/ h- i' f, l
- JSR ON_OFF_PPU
8 J/ S T" {- R - RTS4 t# J' \# ?( E) O
- : H9 K2 ~; \+ Z! P/ Z; w: w
- BULMIX_STRING:+ [: w7 s, C1 V0 K
- .BYTE $8C,$9F,$96,$97,$93,$A2,$80( S- H! t5 N& V* S3 f: X
-
! {3 h, D8 C1 A# k% J; ^; g - BULMIX_WRITE:
- H% a' P* F# O2 Q& c! y - LDX #$000 W1 S% Y% S) i6 k' K
- BULMIX:
1 Q% s' R7 L8 V- G2 J - JSR PPUADDR_PROCESS& P' O; ~. U- J; d5 _4 {# [6 c
- LDA BULMIX_STRING,X
! W9 P4 W% |$ j) o - STA $20072 k+ @, `( \3 f
- LDA #$00' f5 z, D$ P) R9 O- w$ F
- STA $2000
) K O! E) W" ?+ m& G2 S - INC $BA
$ I! ^( q5 a# K @ - INX
$ X5 Z1 ~4 U* D - CPX #$076 w5 v5 b5 |* V1 P6 I; H
- BCC BULMIX6 \7 ~) }$ t9 `; {) \6 _
- RTS
0 F# v2 m0 M8 t! [, | - & R5 J1 C" f# y$ ?. ^" o1 j
- BULMIX_PPU:2 z2 K7 r! x9 M! e3 B' c9 X" q
- LDX #$00" X/ g+ ~0 ~& V
- LDA #$E2' L( d& x, g; C; C
- STA $BA
, G! x' ^' }% D1 ^ - LDA #$21
2 e. K) ^. C4 [% {! `! ^1 { - STA $BB
- m9 m( B3 p" d3 |% R
9 L# @) t: l# d( _5 ~8 }- - v; R7 Z8 ?: Y
- JSR LF_PPU4 h8 X% ~8 r$ x" H1 Y w
- JSR BULMIX_WRITE
" [7 X) g1 m! U1 M) y" c - LDX #$00; h# Y$ I, p' Y8 y! s
- LDA $07A2) ]+ v; Y; C2 r6 N. n2 c; t
- AND #$04
4 C8 @; J5 p8 V" q; S' y: g, _3 } - JSR ON_OFF_PPU/ I7 f8 M6 s( S H, Y. g! D9 r
- LDX #$000 _! |" e# h$ v; F( K
- LDA #$F1
" @0 ]+ j8 D3 a3 n' w! w$ G7 a7 s - STA $BA
t/ m6 N7 b. x/ ? - LDA #$21; P) _7 }' S" M
- STA $BB
: v& p! `! X2 }4 |$ ]& `4 j1 v - 3 K9 v# J8 p3 t# A' A$ V5 x
+ t/ U# }$ C/ j0 x- JSR LF_PPU U) q( D, m! q- @" n! q- Q
- JSR BULMIX_WRITE0 F; u6 U9 m2 h7 |
- LDX #$00
/ H) @( ^' Y, h& U7 l+ t) ]2 t3 l - LDA $07A37 C% W p5 G9 U* P4 Q2 ]
- AND #$044 O' E" z4 z! \, y* R. M/ o* E
- JSR ON_OFF_PPU8 q0 L7 {3 Z, [
- RTS
, m8 ]$ f5 Y: Z3 D5 _ -
; z* [4 y8 P/ H' J - ENELOC_STRING:; K/ v, I0 G; y# C
- .BYTE $8F,$98,$8F,$96,$99,$8D,$80
2 M8 h6 b8 P0 h! p2 ]5 i -
S3 [# q) I6 _: s9 ` - ENELOC_WRITE:9 v- V% T9 I& f
- LDX #$00
8 z6 i& O1 O3 s% j - ENELOC:3 D0 a/ v* g( e; k
- JSR PPUADDR_PROCESS
! N8 Q' N& y7 ?0 ]/ u3 M - LDA ENELOC_STRING,X' O' _' T% o+ ?. h3 p( x0 Z
- STA $2007$ w& N/ y& n8 }% v/ e
- LDA #$00; J' f3 `4 B9 u2 i# ]
- STA $20001 T0 i/ u! l$ H% |0 S+ f- Z
- INC $BA' l9 L4 \1 e1 x7 N' |- H; E4 t
- INX, D; p4 p$ z, N' M) V6 f3 G% T" S( C
- CPX #$07
: }1 k4 a$ A; o% m7 D( d; q - BCC ENELOC7 C5 i; c4 P- T7 }) G) i
- RTS
( I& G3 {. Z# T
5 e) X- c7 ]* S0 Q7 Z8 A- ENELOC_PPU:
- g) I' b6 c ?; r: b - LDX #$00: \$ v9 p( E, a* R6 n8 W8 p0 @- S
- LDA #$22" D6 [) i: @# Y
- STA $BA1 p# [- l" g3 {, v! H- s# I
- LDA #$223 W2 @$ V5 O5 D1 H
- STA $BB
( Z M& q1 Z! f5 }& P
8 H6 }) i: w* x$ x* L7 ^- 5 K& o) X+ J# J! p) ?1 B
- JSR RG_PPU
# G( X1 p% x' b$ h7 U# U) t2 l2 q - JSR ENELOC_WRITE
4 d0 C8 N7 v2 B8 T# ~, i& z; O6 G/ M/ ] - LDX #$002 f& H( o4 L3 e! W2 N) ]8 t2 I
- LDA $07A21 H0 \6 ^2 P5 B9 N# w9 ~
- AND #$08
8 N; d% e# H3 ~, d4 z4 }" f$ ] - JSR ON_OFF_PPU
8 W$ d) S" R" E - LDX #$00
y% J2 n% i F! a4 t v) H' S - LDA #$31/ D8 G, r+ W$ Z( u
- STA $BA0 r0 C% C; n9 k# j1 M W
- LDA #$229 U7 r# @+ U5 V6 O9 h, D
- STA $BB" W4 E: L; f4 u( x
- + p; h; r6 J4 J% M! z9 K' J
- , ?5 d1 i Y( X; m" S! M9 Z9 H4 K
- JSR RG_PPU8 C4 G; }8 k' \6 ]( w$ S" ?
- JSR ENELOC_WRITE
8 A$ q, H7 C0 F. M1 X) d9 f - LDX #$00
/ F6 v% f# E8 U' r0 R b! f/ f - LDA $07A3
$ H" T7 [& v4 `7 B8 A - AND #$08& u8 G" ]. c! f, T
- JSR ON_OFF_PPU
7 s4 w2 D% |# l3 ^ - RTS/ l8 a) O: Y9 \
-
, |3 f( M/ B' R- { - FOCFUL_STRING:
0 U9 }+ e3 n. B - .BYTE $90,$99,$8D,$90,$9F,$96,$80) u* C8 w. P" }2 n/ v" a
-
5 U- u+ u9 x9 g3 p -
' G7 H$ e5 f5 K5 a - FOCFUL_WRITE:
3 S4 {7 T! B8 d2 Y H2 I" T; t8 I7 | - LDX #$000 _9 s6 d! }4 L
- FOCFUL:) z1 P4 @* {1 B! Z
- JSR PPUADDR_PROCESS
6 o5 P F. a0 V9 A0 A - LDA FOCFUL_STRING,X [: X+ b5 p* t
- STA $2007
- [# V5 x9 }2 H3 F7 n; o - LDA #$00
2 N/ W; u) \- d0 d* q - STA $2000; s) v! z# h0 y g' `
- INC $BA
2 ~* o- k: p' c, ?( c3 | - INX
) n- b( Q+ y- O7 a; V+ T - CPX #$07
- `" z& I; v* Z/ B8 c - BCC FOCFUL
4 C$ B: |$ m; W2 U* v, M% G: U& E - RTS
* s! }# J/ G; x9 \* G
& T0 l9 T$ y6 z3 o6 r" K# R( [( R& c- FOCFUL_PPU:7 j& p: O3 k5 A! a# C
- LDX #$00* O$ a# v3 k3 Y! h4 I6 N6 g
- LDA #$62
, O, P; m2 I+ i4 b; B# l% U6 c - STA $BA
. ^/ w( m1 r, {; t4 g. `# u - LDA #$22/ e! M9 T! V* k: n6 K$ m
- STA $BB9 e( C) P+ s) a1 R2 s
, N" `3 [) y9 I- # @, U0 Y2 E+ L3 Y9 n2 k& {
- JSR B_PPU
' X2 R' E' @& v+ p" c9 A+ i - JSR FOCFUL_WRITE
, w! [( O) A4 t( a" ~. |6 w! q9 ?3 ? - LDX #$00
8 c$ I! Z/ C3 R - LDA $07A27 b+ J( K% J1 }
- AND #$10: Q0 t2 ]; s4 Z: E% r# C
- JSR ON_OFF_PPU4 Z2 E! @0 v& _8 s* h
- LDX #$00
( o# l( W, x$ X7 i( R5 y9 P - LDA #$71" Z& E. W6 Z# B6 e6 z, O4 R, c
- STA $BA
4 `5 _4 w' }* J) Y9 U/ h - LDA #$22- T Q3 {; P- `' U. x
- STA $BB& {# T4 X& }/ d! D# R D) i
- 0 a" h& `8 J9 P) O
3 |' Z, s+ }; t" }& H" j# E) M' n- JSR B_PPU
5 \* l. a# t a! b/ U+ i - JSR FOCFUL_WRITE" m- X. W. y3 B& R e& p Y9 T
- LDX #$00
+ Y6 y7 O1 @ f, G( b - LDA $07A3( a% H4 J/ A2 }1 }" T) c
- AND #$10: d. r m( X; u& |4 a9 d
- JSR ON_OFF_PPU
0 w0 m. a5 D4 f5 z. a - RTS
0 B$ W5 Y3 l' a. t - 1 Y! o9 i/ I5 b
- BULCON_STRING:" o, N3 N( q! u2 ]
- .BYTE $8C,$9F,$96,$8D,$99,$98,$805 T3 B( u4 v" A
-
* `( \% C% U0 d: S } - $ ]5 b0 r8 C8 W) k5 e7 F; p! T
- BULCON_WRITE:
' e6 X! p) z7 h - LDX #$009 t$ {1 ~( Z7 M) q2 n. L% N2 `
- BULCON:
" A$ }/ t& s! E4 U, C - JSR PPUADDR_PROCESS
9 y* N1 I4 `# S! n' c. p - LDA BULCON_STRING,X# d" s! V: z) p8 \5 y
- STA $2007
; E. n, H/ M% K3 Y, v* l: c$ F, [ - LDA #$00: s/ c1 e5 V: a0 S; u, u. V, E( e
- STA $2000
/ ~! M0 K2 _; O, _7 R) ~ - INC $BA2 Q+ d! ^$ G8 v
- INX& `; o4 t5 [4 d9 d. [$ n/ V
- CPX #$07
3 c( S/ F. Q6 u: @0 a. D- C+ S# ^ - BCC BULCON' ^; k" S, P' j5 C- V
- RTS2 U' D, @1 ~& _+ R( ?
- 6 b7 w! q! }) j z9 ^1 S
- BULCON_PPU:
, J A& s' j( s+ [, \ - LDX #$00
# e+ C+ o: J( ~& x: w - LDA #$62/ R- u, ^) q! }
- STA $BA) I( ~ m' [0 M- s. ?; y
- LDA #$21- {# d2 `/ O! a
- STA $BB& z% u8 K& D8 L( N* k
0 J7 [ W2 {! d6 T" |! `, I- % C4 Z% A) b8 @' I8 R1 I
- JSR UP_PPU& T5 O; J, a3 J( X% M6 ^" T
- JSR BULCON_WRITE
- E \, f2 p& h1 S9 }$ y - LDX #$00- {; t: O3 K3 P$ J) r- ~
- LDA $07A4" [2 i% C5 y( t3 `% S, S6 A5 p
- AND #$084 O" q$ C! y/ ?8 H) d
- JSR ON_OFF_PPU
4 [, b' R% l d1 }) d2 ]6 r4 x - LDX #$00. K/ A i6 _$ e; {. @
- LDA #$713 g4 G! _3 S( l2 M7 N/ v
- STA $BA
* Z, \* J! c6 v) H* I9 b1 M - LDA #$21, m& G2 k8 I a% d5 C9 H/ W: G
- STA $BB5 g; d( i, C' D; K' v# m% X
* _' Q3 d, B" p/ g4 N1 i1 r
* o1 P' e+ o5 z. Z0 a: \- JSR UP_PPU
! P, X$ n# h6 V- {) e) u* [ - JSR BULCON_WRITE
' ~! B1 A K4 O0 R( l: Y - LDX #$007 N- P; s$ V U
- LDA $07A5! ^4 k+ v; w8 |! f! t$ T
- AND #$08
L4 b, V b/ V3 X3 D3 f3 H - JSR ON_OFF_PPU
8 k7 i" M- ~4 E. c& B - RTS
5 Y4 }3 S- c1 x- p -
% ]1 ?+ i8 h2 ?3 w. ^- j - SPEBUL_STRING:
4 B! I4 P' K! c; `: T3 K& f; r, W3 V - .BYTE $9D,$9A,$8F,$8C,$9F,$96,$806 D3 N% ~) K5 m0 J( n' B# h. V- R. M% i
- # W7 i7 {9 J' T/ N7 f
- 0 ~2 C0 g% n3 B3 c3 Z
- SPEBUL_WRITE:
5 a) S! p+ c2 r2 X - LDX #$00* Q7 g( _/ P- ~
- SPEBUL:) S: E' d1 J6 e
- JSR PPUADDR_PROCESS9 j, b, h5 @; `; I4 I
- LDA SPEBUL_STRING,X3 F8 T, Q9 \6 v, B
- STA $2007
. O! V/ W( E' n0 h" e5 \- _ - LDA #$00% y$ O6 [& H5 Z* S. Z
- STA $2000
( F" S/ A6 I0 R4 z - INC $BA
1 U' U9 b/ i* W: d! p9 j! D - INX. l7 V2 g- y% A
- CPX #$074 S( c# m5 F- x% x" Z8 `& B
- BCC SPEBUL( O X8 u' i9 t- _* H# D) Z4 J
- RTS$ \" |' O6 e6 i8 i
- ! G) i$ s1 v% ?* d. e9 z
- SPEBUL_PPU:
6 ~2 P. O/ C* X$ N h* E3 C, E' M% ? - LDX #$004 `7 x/ P: A* w v$ G. q1 s# x
- LDA #$A2
* N! ?1 ?8 X8 f& _. X - STA $BA, t7 \, u# E3 a( p
- LDA #$21
% [, Q/ t$ y* x' T: F- ~ - STA $BB4 m9 M4 z# ?/ h
8 S5 \' r ~2 ?! ?, a0 w4 g1 [ {7 f
9 W N, v: A F d0 f! ^- ?- JSR DN_PPU
n: J9 w1 r: Y I# o - JSR SPEBUL_WRITE
0 F \) E1 H6 ] - LDX #$00
) _ M5 M% [% n: M - LDA $07A4
- E; g4 ?( m: `5 v, _# A1 R* ] - AND #$02
% K' _6 H' l3 f8 S# J( G5 k; s - JSR ON_OFF_PPU
% @. {7 Z& X1 k - LDX #$00/ ` I0 z& Y# R% m R7 u
- LDA #$B12 p8 \' R8 W$ M' C W$ i* {# `
- STA $BA
/ ~) G! d, l) C - LDA #$21( s( o" \& z9 ~' P3 E" t
- STA $BB
3 c6 E, ?1 O* a& l( S" R! j
- k8 `9 O# Z* F: V
" K* d5 ]. h. M. v; j" K5 @- JSR DN_PPU# t" i g0 B& Y' m5 y
- JSR SPEBUL_WRITE
8 v6 ^$ } c' ~! ?& O% M- ?, e - LDX #$002 M- X/ e/ c2 Q0 f
- LDA $07A5/ u( |+ t5 t+ [0 u2 t! W
- AND #$02$ p8 \* X; m: B
- JSR ON_OFF_PPU7 F7 c& o! R4 ?( ^; a
- RTS
/ B: {# D) z2 @/ \ C3 ^ - 9 N/ x, o6 G. B2 ~
- .ORG $A500
0 N A5 \% y1 @9 y ?# y - CLEALL_STRING:* T' D* _- M F5 E' P- v
- .BYTE $8D,$96,$8F,$8B,$96,$96,$80
, U4 Z7 }4 K& v9 g& f! ^4 r, f -
8 T* K* t4 b7 H( W& K& j% g - 5 \6 X8 r( ?3 i2 {' z V- D/ Z6 n
- CLEALL_WRITE:5 E! W7 f- r1 Y4 i) b f" |! H
- LDX #$00
3 `% \& A3 s- O- O& X - CLEALL:
* p8 h- ?- t) ^, j. R, ? - JSR PPUADDR_PROCESS7 X; v% x" V1 d) L
- LDA CLEALL_STRING,X0 Y6 r4 Y9 m2 J# J
- STA $2007
C* h* f: K, f' [0 e0 l - LDA #$004 I* ]5 j1 `! m4 j, L) ~8 \: z
- STA $20007 l% h: f+ m0 p8 d
- INC $BA8 h5 _9 b# J1 f5 S
- INX
0 \: U( x' W2 _+ i2 l. @& u/ }& `# ]. T - CPX #$07 b9 j/ v/ O' T* W
- BCC CLEALL+ b. f3 c6 |0 O" L+ J
- RTS
$ |8 n, Z4 B* N, g5 x0 M$ M& P - 2 p9 a Q+ L; h# ?
- CLEALL_PPU:
% q" d) c: i9 @( u0 e: v6 ?: v - LDX #$00
. T. O" @. U9 N& o - LDA #$E2
R- F3 |4 |! j- U9 ^' h3 U - STA $BA, _9 y- ^4 ^8 M" `0 t. Y
- LDA #$21
. ^3 [# y9 ^9 h( ]* q! f - STA $BB! A3 N9 m t# X
$ D/ P. i9 U' K8 m' o& l% J) O5 Q' b
+ t: t& ^- S( t8 t+ {; y; x- O- JSR LF_PPU" D' J8 h4 J, l! u' @0 M1 x
- JSR CLEALL_WRITE
L/ T8 u. e2 d - LDX #$00: L3 J4 V* _! M6 v+ e* ?
- LDA $07A4- z) n8 t3 Q- x5 Q
- AND #$04! G/ I+ X9 b+ ^0 T/ |5 Z
- JSR ON_OFF_PPU
/ g, l0 z9 |9 V8 g% Q - LDX #$008 }- C6 a+ w4 K( X8 a0 I, \( }8 N
- LDA #$F1) C: V+ [% p" }1 W* n0 z
- STA $BA
" x0 T, B# U1 q; j - LDA #$21, E& u3 h' F6 H, Q0 X" E
- STA $BB$ a5 ?7 O' v- z& ~
& `( J# J5 u8 m4 ~+ ^- ! M% K) Y0 g% `( I. @. t( l6 U
- JSR LF_PPU& v( I$ j* K9 B, t; I6 S& Q, ^
- JSR CLEALL_WRITE
8 _. ^, H' F! T( S - LDX #$00/ I9 U( T) y6 j5 y# @
- LDA $07A5
+ O1 }2 n& X& I0 h9 ]' w' R - AND #$04
" Y/ g; A* [- K% H1 T+ Y - JSR ON_OFF_PPU) D. n, s1 F( B- m3 `( Z
- RTS
5 c& a- O! _9 k# }, a' B -
( L0 y+ J- L+ N* B4 g. k" O - HARDMODE_STRING:
5 D3 j" R, d$ f6 D/ r - .BYTE $92,$8B,$8E,$97,$99,$8E,$809 l8 [& A6 ]( o' T) L
- 2 F0 y p _7 `- `7 G
- $ [1 N+ s4 R4 s ?5 P
- HARDMODE_WRITE:1 v/ M& t l/ n! S( @9 f- s# r
- LDX #$008 I& O; |3 t0 Q4 F( l$ D
- HARDMODE:
. C# v; ?4 G3 T: a E, Q - JSR PPUADDR_PROCESS/ G3 K$ X/ t8 S6 x0 f
- LDA HARDMODE_STRING,X1 S: I* R! j1 A4 ?8 v
- STA $2007
1 p: l$ t" f* x - LDA #$00" T$ f: Q* ^8 e* S/ m* O8 t8 s2 c
- STA $2000
9 d3 K0 ]+ ?* E8 H4 _' h - INC $BA
( w% i o/ g( c5 G2 @5 w! \, V" H - INX
7 e- y7 U. K3 f; N5 [: w0 ?: C - CPX #$07
. ~/ m+ e# b/ N: Y4 \ - BCC HARDMODE- G! I7 b+ W1 Q' }5 ]* L9 g& W
- RTS
* }; r5 y( B$ K
: }4 t- \9 z. A. @4 C r- HARDMODE_PPU:! F% P3 V, O9 O( x6 @5 o
- LDX #$00
# q, b4 ~7 N& f; X, }0 b - LDA #$22
( X( @7 X% ?% f0 m# f - STA $BA
) M2 V" X! N. J3 e. G - LDA #$22
' c' J' @* U6 x3 P - STA $BB7 M7 [# |! R+ E# f: j
- JSR RG_PPU3 |* Q: ~ v" h" _/ ^# E
- JSR HARDMODE_WRITE. n" c; c0 _( F6 j8 z# I
- LDX #$00
% p9 ?2 [$ E( f0 F6 d - LDA $07A4, }& T5 X" h6 W) q7 r/ R7 ^% y
- AND #$01: r% d8 O# k* a0 V9 D1 T- \
- JSR ON_OFF_PPU
2 l1 M9 l" l3 J) f; j5 x - LDX #$00
8 G q( P$ G. d& h, T" c1 m" T2 E - LDA #$31( J6 j/ ^( r, |" b
- STA $BA
! q( j# N! }8 W, I5 R - LDA #$22
0 J5 L( R/ f3 u: U: f - STA $BB# A# m5 x- K; @) ~# }
- : W. ^, e1 E) E0 M6 g1 j
- 2 [- d2 b# Q' {9 N" r
- JSR RG_PPU3 b% }6 L7 Y" F/ @/ ?* b
- JSR HARDMODE_WRITE3 A) V/ v+ g" g$ J
- LDX #$00
# K+ z6 k m8 ]( q9 ` - LDA $07A5" R8 Y+ H* x: r7 N8 f. U& e
- AND #$01
9 l( n7 H: c+ R/ t - JSR ON_OFF_PPU
& {2 I' }. u* k8 D+ p$ O - RTS
+ {7 W; _* I) o+ a - ' a. e' Y% N7 a# O0 C Y
- B_TO_JMPSTG_STRING:# P" v* r' {* i6 @
- .BYTE $80,$8C,$80,$9E,$99,$80,$94,$97,$9A,$9D,$9E,$91,$80. v" {6 C3 J4 W+ b3 B+ N
-
" K# A7 P1 H, O! ]% g* V; w: [ p - ' o& \; B1 t, v6 n! q# V
- B_TO_JMPSTG_WRITE:1 L7 q# v, p" H6 v
- LDX #$00! E+ ^/ [7 t' U* u
- B_TO_JMPSTG:" r- ]- E1 ^9 x1 t! c* [
- JSR PPUADDR_PROCESS
]7 i% F& w9 m) l - LDA B_TO_JMPSTG_STRING,X) g# u5 ~0 @+ G; O
- STA $2007, n! I0 b0 u+ O0 o% t% V1 F# e
- LDA #$00' _ T1 d- e: E! }: h
- STA $2000
+ Q) C6 [ h. n) _( Y. q - INC $BA6 j6 b) g" y+ D9 h, [
- INX
- M! b& M0 N/ U' M; r9 C) A5 T0 z% e - CPX #$0D: O! X) _' I7 [: A
- BCC B_TO_JMPSTG
9 U: Z5 _+ {; O - LDX #$00
$ {( C/ f/ [( o - LDA $7FE05 ~. T4 _4 R" f% e
- JSR ON_OFF_PPU9 j, s6 L( q$ B7 b
- RTS
5 ?3 x5 U1 [" P- {8 [ - , k3 ]9 X- O$ J! A* Z$ n
- B_TO_JMPSTG_PPU:6 M; ^( u/ a$ t
- LDX #$00' `6 @. Q6 @, N
- LDA #$68
- Y) G+ t! R2 R$ @& z. R/ R - STA $BA' W! O+ `2 @% v3 C( m2 l
- LDA #$221 |+ p+ E6 x- d5 c0 W
- STA $BB
3 _9 r4 O5 p5 C8 O* K# Q, y - JSR B_TO_JMPSTG_WRITE& E( ^3 N! q/ {' ^
- RTS3 P& U4 s5 D0 @7 E) @* f; a( E' h/ @
-
7 m7 V6 L) R! r( F5 ]. @" U3 f
, x3 A% c- D( S3 |) |% l) o- A_TO_PLAMOD_STRING:# o( ~+ q( T9 y
- .BYTE $80,$8B,$80,$9E,$99,$80,$9A,$96,$8B,$97,$99,$8E,$802 [- p8 Z, j2 E. X9 m" R( ]8 @7 S
-
: v! e, k" F( J/ J# G1 x& B -
' R7 s' e' k# Z' T: b# h - A_TO_PLAMOD_WRITE:4 y+ X5 ]& Q. h& t4 g
- LDX #$00/ j" N9 \; R& M' U8 x0 e
- A_TO_PLAMOD:
4 s* J$ ^+ h, d% I, N# B - JSR PPUADDR_PROCESS
3 K# I$ B Z% `7 G5 t: ^ - LDA A_TO_PLAMOD_STRING,X+ O4 g* A. P. u: B0 K$ A
- STA $2007
+ G, x$ L$ I7 F- P6 ] a6 T - LDA #$00; |% O& K0 f: E3 I' _
- STA $2000
, x) ]! i, F O8 P* r* [0 f - INC $BA
: _! o; w' a! }1 L0 e+ y6 ~ - INX
5 G9 ~- s& P. e3 k4 `' c: T+ `9 ? - CPX #$0D
. @" s/ h' @; H4 f* z( O - BCC A_TO_PLAMOD
7 \5 |; l2 H) h) n - LDX #$00
_* T2 p+ [+ K% t8 t* n. d - LDA $39
% o9 Z- w- J( v( ^; G1 Z - JSR ONE_TWO_PPU
! N# X8 y' f9 H3 ^& f: A - RTS* S* ?! R; U; [% x6 m" v% {
- : J* k0 O5 \* o
- A_TO_PLAMOD_PPU:0 q" G& D# f! o$ z% v
- LDX #$00
- t% }( t Z6 i3 b5 l& B - LDA #$A84 x Q; W- Y# i5 t
- STA $BA0 \8 g. W* d- s& M' R
- LDA #$22
- |0 z; r7 x: S7 `( ` - STA $BB
y" c6 T' i) N; [, _' E$ ] z - JSR A_TO_PLAMOD_WRITE
: l. e& M' B7 H# X% R) X - RTS
* N0 d7 ?3 V! g7 q) j" p2 q
8 d9 X. N; p* o* a- MOVSPE_STRING:! d$ w- J4 H3 q; d
- .BYTE $97,$99,$A0,$9D,$9A,$8F,$80' k& ?* `& v6 U4 N
-
4 n+ j5 V) [% S5 D! _' \1 { -
4 K: @4 P! ^; T - MOVSPE_WRITE:
8 H ^) }0 R) e7 s2 n% R# Y* B7 o - LDX #$000 Q, o6 A) @" \1 Z. n
- MOVSPE:
. a' ] B7 p4 G: U9 p4 u/ w - JSR PPUADDR_PROCESS
+ F1 F3 |6 j) h, o7 z) L - LDA MOVSPE_STRING,X
/ P9 O6 G8 \+ s9 p# f1 F - STA $2007
' b5 m) o+ Y( r+ S9 f, G - LDA #$00
! r; e E8 [- U# O - STA $20002 ?( y2 y) V+ E: m# s$ t# f1 D
- INC $BA. `( M' P5 y( { V
- INX7 |* W3 o g; l
- CPX #$07
, R2 P5 ~& V+ W: h/ ]+ ^+ ? - BCC MOVSPE5 a' D4 a% }2 f7 r" [/ c' c
- RTS
1 H9 ^" o8 m0 S; A# T, j4 D* o
5 y$ T5 l) r$ u, _1 t" A- MOVSPE_PPU:$ |5 d+ o6 R) p' v/ U0 g
- LDX #$00
2 p3 C' D. U/ H0 S - LDA #$696 s) U1 H5 i& Y( `( \
- STA $BA
. E6 K. e* |+ Q2 b0 Q - LDA #$21. ~. b. g/ [. }
- STA $BB1 l1 D! O( _9 p
7 g) B! T8 `1 z9 h' M3 Q5 X m! D5 T
9 G P% m5 Y' G3 L- JSR UP_PPU
, @( F6 X3 E4 O9 k - JSR MOVSPE_WRITE% H6 |' O; A% i# t# a
- LDX #$00 B* |" {9 V% Y* x
- LDA $079F
" x: j: S9 q6 s2 q - AND #$08; D+ E* q; s& j" |2 w
- JSR ON_OFF_PPU& }& |4 w3 E, R4 t! J
- LDA #$801 C( ~& C) i5 Z
- STA $2007
& M% N( I) L, v" f" U' B6 L9 X9 i- ? - RTS
4 x9 v/ E. m# J( k6 M8 f8 K; Z -
! o. C0 S' }3 ]6 D# }% G -
: ~9 u& M6 X5 x3 ~ - UNLJMP_STRING:4 ^6 H! f& v2 t5 ~% C; `/ X+ n+ F9 G
- .BYTE $9F,$98,$96,$94,$97,$9A,$80& R' K4 U" S8 ~( z# i
-
, a4 K& H/ R& j! c -
! W0 z# q6 Q; P9 [& ~ - UNLJMP_WRITE:: ^' n7 G. o; f/ G: i3 C. M: }* |
- LDX #$00) m O5 i: @0 [, p4 |: ^
- UNLJMP:+ c* S) R1 ~3 F7 B4 c
- JSR PPUADDR_PROCESS; u6 k2 s Z6 I6 z, _
- LDA UNLJMP_STRING,X
0 ?) L, n# n9 Z, K5 x$ [2 ? - STA $2007
9 v% R% d: F* \' q. J - LDA #$00$ i0 W9 R% b4 Y0 M2 D! `% s
- STA $2000* i8 F/ ?' S/ U3 C+ J' l# n$ ~9 j4 p0 }
- INC $BA, Q2 _! w& R( O6 e' K7 [
- INX. b @5 t; j$ ^4 ~8 {
- CPX #$07
% v* G1 j% x, _% E, V: _& {9 D - BCC UNLJMP
0 J* S+ F/ x% n3 b L2 Y% h, Q - RTS
5 J9 H4 y2 Y* U: N% q2 ]
- c) f) r; N- Y! g' w0 G- UNLJMP_PPU:
+ e: ^ I- j8 z$ Q3 U+ o - LDX #$00
- x. N) ?/ S+ j7 v) _ - LDA #$A9
/ D$ V6 x: }6 D# L4 `0 K - STA $BA# c2 ^. O8 j0 B! U
- LDA #$21
3 \3 V C- q4 E* ^; J; r/ \ - STA $BB2 O9 _* T7 d$ q k1 ]7 J6 E2 a) l
, Q( Y4 W1 P B4 J% `- |/ G5 c- $ W3 O. Q8 g( G2 L. V2 T$ O
- JSR DN_PPU& Z3 O$ T* n5 Z; s( u
- JSR UNLJMP_WRITE' a, I& x3 A& ?$ A2 u; g/ z
- LDX #$00
' E, V( u1 `7 E+ I8 P4 n3 `+ }, [* Z - LDA $079F' t& W9 B' M" U! C3 n% {
- AND #$04" N! u. a' q6 U
- JSR ON_OFF_PPU, |$ c8 p5 U5 y4 w3 C( e
- RTS
8 c% T. n3 s* m: Y" |3 c! z; L - : j2 E& Z- j3 w
- 2 ~* S3 K/ v. f/ D% `# E% R# g5 d
- DESTRO_STRING:3 M' r5 ~ k, L5 M; u
- .BYTE $8E,$8F,$9D,$9E,$9C,$99,$80 `+ z1 E3 J2 F' p
- 9 b& T, x/ J" m% W
-
) S' [- p3 [" S# u7 X - DESTRO_WRITE:
) X) @+ d2 e/ A% [" m8 z - LDX #$00
2 R; F/ t' y- g. \, _' s - DESTRO:
1 d! B' I# o8 w. }9 g [ - JSR PPUADDR_PROCESS
, q/ K+ z! w3 N; \3 D - LDA DESTRO_STRING,X
1 h' w8 k* T. ? - STA $2007
8 e# b- {/ F' {$ ^& h- I - LDA #$00, o( j4 b% a% g! Q
- STA $2000
% K# _0 j0 r Z) x' O - INC $BA5 g. c1 }+ D* ~8 @
- INX- s9 o& E u4 J! T7 p
- CPX #$077 Y# u4 M. f. F) X+ o
- BCC DESTRO( C9 ], q+ e; H3 a5 ^
- RTS
# ?3 M5 O7 b5 a6 L7 q" ^
. p% I1 q; ^$ Q t+ N0 L- y# z- DESTRO_PPU:# s( I" t' ]4 z/ G' b( ^
- LDX #$00
8 B* L) | P* n9 w) g% p3 L - LDA #$E93 ?. @6 H* I; }$ u* T* a
- STA $BA
. D1 a9 M, ?/ s4 I$ ?% g - LDA #$21# T+ v8 N& p F# E
- STA $BB
1 V- n7 {: o3 h* B8 B) H) U
3 B1 Y- y! N3 |- l0 a5 |8 z% E
( |) f/ F B% h) U- JSR B_PPU
6 W; y9 h2 P: O) z6 F- Z. j - JSR DESTRO_WRITE
/ |8 ]& [0 x4 t - LDX #$001 z; @$ l0 i; V: I* |
- LDA $079F
6 R$ x6 R. P3 l! T0 A+ {9 Y5 A - AND #$40# Z0 F. B) C, x2 f
- JSR ON_OFF_PPU( E" y' x" L' d" t; p4 m* C
- RTS
/ X* E4 d+ ]1 \0 j0 G& {; x - ; j7 w) E& I" b
-
* E" [. _: {8 w5 D5 Z& B0 y - EQUBUL_STRING:
5 n6 w% d* Y- v1 w" y - .BYTE $8F,$9B,$9F,$8C,$9F,$96,$80
( Z7 \' W G s: D& P: d - C w* s6 E( U( j% G
- 2 {/ ^/ l' W P/ x& H
- EQUBUL_WRITE:
3 B9 I+ O; B' @ - LDX #$00
; ?( t- u0 h4 y" q - EQUBUL:/ |2 i( C% N% Q/ O
- JSR PPUADDR_PROCESS
9 F# J& @9 x: N0 I3 c! r9 l* ] - LDA EQUBUL_STRING,X# j) ~& S; E- A/ k
- STA $2007
6 l5 g: l9 R3 F' d @. x - LDA #$00& {# j5 w3 W7 Z; S# P
- STA $20004 U- c* D5 E) g
- INC $BA
, _% w% p3 Z3 i/ ? - INX
. Z% Z: m3 w2 l6 t( F% r - CPX #$07( |! i, e4 i% B- R* ^2 }
- BCC EQUBUL: `& E9 Z9 i* u0 M y4 s' k
- RTS: i C" W; i0 y7 _
- + y2 }: P' I3 N: A4 D; g
- EQUBUL_PPU:
0 B1 R; [! M' }4 `$ F/ j2 ?# H - LDX #$00
6 b: {/ ^: V9 F9 Y - LDA #$29( L1 _: ?% C+ E+ L
- STA $BA
. d$ S( _- k+ c1 f" B8 ` - LDA #$22
& o4 w% {* t( y - STA $BB1 x# C2 n4 i0 O' a$ x
* h9 i* |! g+ E& S$ R4 O6 Q: C! x, Q
6 x8 ~' i5 m6 U6 i' f6 d- JSR A_PPU! p* @# t% k* @! m y8 I, ?8 N2 P. _
- JSR EQUBUL_WRITE( b9 E' Z8 G. n
- LDX #$00& `* W" b" N$ v1 h
- LDA $079F
7 g" q5 D! ]+ e4 J. | - AND #$80
& N/ l# x5 p* y9 J5 @8 G3 [+ z/ d - JSR ON_OFF_PPU5 N4 ^7 W; d9 |6 A( g, H) x1 R6 p
- RTS) J' ~9 s3 K+ Y. ?4 J
- ! N/ I' l0 j& J1 u4 t4 O
- 1 ]5 U+ F/ L. d
- ]# ^9 R1 v+ s. z9 `
- BULSEL_UP_STRING:
4 p& x. V3 X+ \, k# V - .BYTE $9F,$9A,$80,$9E,$99,$80,$9D,$9D,$80
5 Q* d8 }! q# t2 N1 f* U" |. E& g -
: U+ y5 N; c |4 f4 M; @' r; ?3 ]' C - BULSEL_DN_STRING:0 Z/ t8 W* ?+ J, N+ b/ W
- .BYTE $8E,$98,$80,$9E,$99,$80,$9D,$96,$80/ n0 f U. C3 C0 ~
- - b7 c9 d9 ]0 P4 x* v$ U: n- R; p
- BULSEL_LF_STRING:; n9 u4 S; m, S# } }$ M0 m
- .BYTE $96,$90,$80,$9E,$99,$80,$9D,$97,$80- \8 n' { s. ~6 @$ R# t( X# I, |
-
5 x' ^! Y! R/ n6 L! o f - BULSEL_RG_STRING:
R9 Y& ^! L0 k# T$ e5 ]; F0 { - .BYTE $9C,$91,$80,$9E,$99,$80,$9D,$90,$80* H6 ]9 c2 r5 n5 |* ?$ ] g6 S2 r
-
7 y1 r" X* v% A1 J" S: @$ b8 W" h - BULSEL_B_STRING:: l: @) Z4 L) T1 H) Z- A/ Y3 {2 g; `
- .BYTE $80,$8C,$80,$9E,$99,$80,$9D,$98,$80
/ g- l8 U* ~4 Y3 |# Z. G -
- I' ~4 o* Q* j1 G4 ]2 L6 Q: X - BULSEL_A_STRING:
: f/ T+ V/ ?. |! c' x: B( x - .BYTE $80,$8B,$80,$9E,$99,$80,$8D,$99,$97,$97,$99,$98,$80,$9D,$9A,$8F,$8F,$8E7 B- X8 _$ f( l' A* n
-
$ W% h! }& K5 W -
$ x- |' k4 D/ Z8 F6 [3 p - BULSEL_UP_WRITE:
: F* j$ H/ ?+ @" w7 T! l' J# Z - LDX #$00: n/ a, Q8 v. { p$ w R5 D
- BULSEL_UP:1 F! u8 J( ?% E9 V2 z
- JSR PPUADDR_PROCESS
, d3 e/ Q7 Y2 n9 [# g/ z8 |9 L - LDA BULSEL_UP_STRING,X- {! d0 {, ~5 l' P, _8 y
- STA $2007
8 h- J `7 N% ~6 ^6 k - LDA #$00 ^3 t' {, j0 x5 g$ M W9 C6 `
- STA $2000
$ K0 |* h* X/ K, m2 u* }+ n4 i - INC $BA
, u* _" q' H* ^2 k5 g. v W X5 g - INX8 F, g4 A5 u& I8 Y( X( b' x
- CPX #$09
4 n5 h/ R' E; }- c - BCC BULSEL_UP
2 m9 Q/ j5 s" E - RTS( e4 `3 U2 ~: t0 P" L
- BULSEL_DN_WRITE:
0 [0 n& z7 O4 s - LDX #$001 x+ x7 c9 b% Q% `3 T
- BULSEL_DN:
) |; Y7 N& `5 f/ r2 v: G% U - JSR PPUADDR_PROCESS
/ i- A" U/ s. W+ [7 w- h, v - LDA BULSEL_DN_STRING,X
/ A4 d7 ^# V. `& f+ t6 k" v - STA $2007
9 r$ h$ \! r j5 y - LDA #$00
" d' t; ?& N0 E. _% D - STA $2000
% W5 l8 z1 A& T" j/ Y5 x - INC $BA
M. Y I" s- Z( X$ L& D, J; M2 C/ Q - INX
6 u/ Q4 `' s9 h; d& z - CPX #$09
6 d6 T2 q s' O& d9 p - BCC BULSEL_DN
6 {8 Z& o; b* D5 K! h - RTS" j8 l4 _( O" ?; }8 d B) m
- BULSEL_LF_WRITE:3 K& c2 K( |; `( z; ]# u6 ?- H$ n0 b
- LDX #$006 o& _0 e5 @$ H
- BULSEL_LF:
0 M# T0 q8 y, b8 ~: D! |" H - JSR PPUADDR_PROCESS
, i+ o }5 ]3 U: I - LDA BULSEL_LF_STRING,X
- K! I: c: F* @) H# g3 Z- e! s( Q - STA $2007
* c# ?8 }0 C# A" E' o8 X/ W - LDA #$00( D s' j4 V: {9 j
- STA $2000
6 y1 v1 f5 }- J$ s1 c - INC $BA ^+ x; f3 \- U d J
- INX
, d2 t0 x& y! \: }. l# ?/ i) Q - CPX #$09
$ o. @; P4 I5 W6 v - BCC BULSEL_LF+ j5 X9 j+ m4 a+ [2 l. X
- RTS9 l8 l% W c+ h
- BULSEL_RG_WRITE:
" a* ?( S0 O; C6 a( [ - LDX #$00
4 X7 B& |) X/ Z* k* e/ q p' j - BULSEL_RG:$ m9 H5 @! k5 Z% p( L9 Y% t
- JSR PPUADDR_PROCESS
- a# y) Q; K7 _* i% V, W - LDA BULSEL_RG_STRING,X% r4 s2 I ]0 C8 h: T# ?9 w8 X
- STA $2007
) j+ ^0 O0 X/ e9 j: ?, A - LDA #$00+ V# {; R. J# q$ k/ @0 H
- STA $2000& v! d1 [# N) [- \& `
- INC $BA" u2 B6 i1 r9 k# z3 ?6 R
- INX
5 D8 ?* G0 K1 P - CPX #$096 A4 o; }: A/ U# ?
- BCC BULSEL_RG/ m# f& H! q0 D+ a* Z% v$ ]0 q
- RTS
+ l/ ~8 i0 N( a& R - BULSEL_B_WRITE:
0 H1 z, d9 e2 {- ]' n3 X0 [ - LDX #$00
I: |( W# v1 S. j- C - BULSEL_B:2 U, n. L" q* o9 o3 \
- JSR PPUADDR_PROCESS) ~; t( J! w4 T S) f
- LDA BULSEL_B_STRING,X9 Z9 C: K. s! a" ?0 G: z' H F; J
- STA $2007
3 o9 I" p; f) S+ ~ l1 P/ O - LDA #$00
. f7 f0 z- H, l3 w% I) V& [. ~; l8 ]' l - STA $2000" o$ q6 P- A. j4 ]: b
- INC $BA0 R G1 ]8 D7 y2 ?+ d* d8 k
- INX! D: E8 q, c3 ~
- CPX #$09: i# W b$ A" k- K l% \
- BCC BULSEL_B
* a. N8 Z' \* `# m& t - RTS
`9 a5 R5 c$ B0 Q. k* w - BULSEL_A_WRITE:
" M+ s: T7 |/ A: |1 t( u - LDX #$00
3 S0 d1 `8 D! @3 T9 f) I0 i. S# Q - BULSEL_A:9 C3 ] ]# |' M `2 y% F) I2 u
- JSR PPUADDR_PROCESS- m! a3 f i8 H0 t) }
- LDA BULSEL_A_STRING,X
( \, v3 F: g& J( G, k. t - STA $2007( T; W9 K. K6 J! I7 c
- LDA #$00
9 w8 B& p+ H7 Q - STA $2000
# @9 h' l' H0 A" ~0 b1 k; T - INC $BA
8 p5 b9 o& o1 h4 _ - INX8 n# a& ?* B, m5 o$ j1 _
- CPX #$129 C8 C P) Q6 Q& j
- BCC BULSEL_A
/ H, s) \0 j% v8 r5 k% h# r - RTS
8 e$ v2 l) ^) w; u0 c( ~2 c -
+ L$ b$ f' B+ w }3 ]5 t* W' m. ]! o& @ -
( J3 H1 j5 E3 }5 D* P. {3 E* d -
* E6 V' g5 V. g. b2 N& T" N R - BULSEL_PPU:
3 |" |1 u. z9 i: S8 m - LDA #$6C( W( A( W$ H! O V [9 @4 L
- STA $BA
- V: I0 R: E( B5 ` G - LDA #$217 @1 q) ^$ r# ?( P0 N" u
- STA $BB* p9 x% X' b5 a! }6 i# L# j
- JSR BULSEL_UP_WRITE# e0 m" L8 |1 X- V P2 F2 W! n6 b% V
- # M/ f) ]; G* _( t' _+ w9 ~
- LDA #$AC
7 U& ]% c9 F6 ^% m - STA $BA5 i# {2 ~+ }/ g5 X
- LDA #$21+ w2 u) k" O6 C3 T, c' U
- STA $BB
& M( S9 b. \% s! T. {8 ` - JSR BULSEL_DN_WRITE
5 H, Q( ~+ @: Z7 S. d5 m- C -
. \, Z# C5 `+ H" k - LDA #$EC$ N0 T! G9 B! I( @) U1 F4 H0 @! J
- STA $BA& W+ w9 h8 N9 e8 ^" [4 g! m
- LDA #$21
& M" j6 {6 i; h! L! r - STA $BB* H; P; ~4 ^* B4 b7 @+ N; Q( o4 ~
- JSR BULSEL_LF_WRITE0 r" J1 e2 z- m1 V/ E
- ' j7 D- w$ S C& w. ]% ?
- LDA #$2C2 }! U- c% @2 @" t
- STA $BA1 I# \9 x! J4 H) G
- LDA #$22/ `, V' c+ N4 e5 V' R
- STA $BB
1 M$ S: T$ b+ E4 U1 c) _& Y - JSR BULSEL_RG_WRITE5 Q8 a& {4 p# q9 |; _* `% G
-
, m& `2 ^0 X o% \. {6 x# o7 H' ~ - LDA #$6C3 J4 ~# b3 h: k- n8 D7 k8 S* `4 r7 ?
- STA $BA6 l6 g+ r- l- V% l8 J( U
- LDA #$223 m2 ^% o" V/ O
- STA $BB
3 d1 h5 G, ~) j$ X' z7 E - JSR BULSEL_B_WRITE( `0 @( h7 ~$ ^0 {- I
- # t8 |. i- S# U8 x9 I% C- H
- LDA #$A7
5 V8 p# A2 Q( L - STA $BA
9 T) R; O$ y" s7 |) Y S - LDA #$22
* V# O* F. [8 m6 u' A - STA $BB
- A" |' H6 Q- e/ c% z$ c8 H, r - JSR BULSEL_A_WRITE& q; Z" r( K& _8 U+ g
- RTS
- y7 R& j! b9 B9 ]* ` ~6 a, n6 P -
5 I) l0 k E7 m; Y5 C -
- E" D f: \; ?, ]$ T; v -
9 l2 o. r* A" p% t }4 U4 L9 U9 O - UP_STRING:
3 x; |! ]: T: Y' n - .BYTE $9F,$9A,$80+ H% }' l3 n! T" ]2 Q. a+ n
- * n* t- ^* P, m/ Z' j
- DN_STRING:! A1 F7 q. o9 F2 z$ P
- .BYTE $8E,$98,$807 B7 z& c" H4 d; [
-
+ S, _) ^, j; ^. B3 e9 { - LF_STRING:
3 @7 \7 D2 Y2 Q8 B - .BYTE $96,$90,$80 a2 Y. J3 G& ]6 l) r: `, s! A6 s
- & ?; L! q# ^$ P* g. N6 a4 l
- RG_STRING:+ k- R# f3 u; L: S1 ?/ u
- .BYTE $9C,$91,$80
b( |4 ~* m1 @4 m" m -
7 Q# |9 y7 R- z5 T0 B _4 k* v* } - B_STRING:
8 k. f0 h6 `) d% q1 A+ z - .BYTE $80,$8C,$80
5 }; t; r4 x% B$ S -
2 R9 z9 O- L z - A_STRING: }! W0 U# p6 W2 u" F" B' M3 B2 _, h
- .BYTE $80,$8B,$80/ N6 h: \9 p9 G8 k" c
-
( Z' X: S7 o' ^( I3 C4 Y - & p0 a" |1 x3 G: Y
- UP_WRITE:& S* s; o2 H" B7 _0 [. R
- LDX #$004 n0 m1 l0 q3 Z$ n+ F- o, A
- UP:8 u( ?1 z$ R- e6 ~1 r
- JSR PPUADDR_PROCESS! a. x9 s8 y. b
- LDA UP_STRING,X
! K% U* N& S6 e' [" Q$ e) z - STA $2007
6 M) I! T2 D: h2 v5 U - LDA #$00
" u" i! ?8 C) X, H - STA $2000- C, Y" R6 x6 r/ Z0 K
- INC $BA
( o) ?* X" a7 ^! I, j7 x3 y - INX
$ {, H* {3 C: ]: S% W* X. M - CPX #$03
, S7 M" y4 v4 V$ x% z4 C - BCC UP
5 ]. I9 Q& V* ~. T3 O0 a2 v' [ - RTS' F1 L* g; f$ R, m' j, { s
- " J" n# Q: i) r# x
- DN_WRITE:
7 P4 e! `$ k: h* ?8 t# S - LDX #$007 ~: R% _. D- N: E
- DN:: k2 y$ n1 M6 {1 K C2 L
- JSR PPUADDR_PROCESS
/ o t m5 W9 i; ^ - LDA DN_STRING,X
" o, b' d% U* i- I. h5 D8 E - STA $2007
1 L8 m( ]6 f) F* \4 {! M0 g - LDA #$00
( i3 z `; ~6 j6 G6 o( g) H - STA $2000
# C0 }! ?7 @+ H' o. E - INC $BA! R+ h( A5 U8 b% E8 r1 o2 z9 \& [
- INX
) H7 }4 R7 Y& {' E8 G - CPX #$03
$ A0 ~& W* C T4 o" @/ H8 p - BCC DN
' X3 Y2 X$ ]) ~6 h# K. Z - RTS* }& o5 B, r6 E* X! J& H" b
-
1 D! w6 y, B6 J# x6 K - LF_WRITE:
2 n; b8 W+ p8 A3 w$ H - LDX #$00
' @% B% C1 V5 C: d5 n3 b0 R9 z+ C - LF:, J* O* `$ V, ^7 _+ L! M
- JSR PPUADDR_PROCESS
8 C4 P: D% T8 x8 a% \0 F - LDA LF_STRING,X4 c: D% D2 Y2 l* j% }2 {
- STA $2007
* Z; x" @3 W: ]: ?$ F5 x' T - LDA #$001 }6 Y+ g+ F* y/ {3 D+ E& [
- STA $2000. D7 c z! X' z( M1 J, H4 r
- INC $BA
- V6 o0 g$ @$ w9 S; V6 s1 h - INX1 v, [- t; z, G2 o9 L
- CPX #$03
2 \, l7 H( x3 `# k) |7 G% J - BCC LF( K% N& d8 r/ y3 D$ t- l0 u. I! I u
- RTS
6 y" e6 o, A3 ] - 8 U' z$ ], K, K' v: k9 B
- RG_WRITE:
. ^9 Z) u4 b- v - LDX #$00/ |6 k7 a! `1 w5 i
- RG:
7 G, { S$ \" z! G/ K - JSR PPUADDR_PROCESS
6 P$ u1 B8 o$ B a B; o( u - LDA RG_STRING,X
" \( h, w/ g A$ y2 k* w9 X - STA $2007' R, ^- Z! U1 I# k' t& l$ N
- LDA #$00
: A9 c. _& p: J( r3 L' z - STA $20006 K) M0 E' J" Q. T- D4 F$ \- S! s
- INC $BA
4 H. O/ l( j1 b - INX4 p$ C& n# ^; N5 H
- CPX #$032 Z7 f: m7 f |/ Y
- BCC RG+ d, k5 r# M3 @" B7 a& }
- RTS* K. O7 p/ f0 o& n! x/ O
{* _, w$ S5 C- V/ k- B_WRITE:) `9 c& F" q9 Z! y# }6 P1 |
- LDX #$00: \3 y( `5 D$ ^, Z
- B:
& I# Y9 {# }7 f' o - JSR PPUADDR_PROCESS
W" B( _% L0 D; v& d8 k7 E - LDA B_STRING,X7 _- Z( d6 S3 S2 q" {
- STA $20076 L9 @# Q) Q4 t" g( s
- LDA #$00
9 x: ] N, |/ R - STA $2000+ y& l# u6 S5 \2 C: S+ n1 m
- INC $BA
6 a$ X5 n0 S: Q, P - INX2 I" A* ^8 q7 G0 N: o. t; c |
- CPX #$03. s5 g2 T9 L$ e: X% P4 Z2 ?' O
- BCC B# B. i0 X% G3 _/ _( C
- RTS
5 ~: M' x) K" k8 ] - $ j: C4 {! r4 D. Z9 }5 c$ V
- A_WRITE:
5 s2 d) s, G, A- o8 u - LDX #$00) e* h+ C9 G( x2 q Y. ~
- A:4 L0 J+ \, K- ~9 n
- JSR PPUADDR_PROCESS
4 m4 x8 |( ]" G Z7 V - LDA A_STRING,X
+ }) J) q" `$ e. o& z9 g `& b - STA $2007
' O: o6 }4 M9 I7 |/ ^ - LDA #$00
" C# ]2 c: X5 r9 i+ { - STA $2000; J1 i. E7 _0 Z# R
- INC $BA' H* n. I3 s- d6 a" b
- INX+ w8 ]* Q- a/ r9 `4 {
- CPX #$034 I& O6 [8 Y4 p) a
- BCC A
3 z# I- k. d& Q) u+ c- W5 b - RTS
( w$ l; D! m& Q - 6 D6 n* W9 `. F2 ^
- / K! A( Q" Q9 |7 Z2 S% m* u h
- UP_PPU:! p% i% b! i9 @& Q; ~" s
- JSR UP_WRITE
) D9 ?0 h( e# J) t1 y a$ p - RTS
- O0 Q+ f4 D. f/ U0 U- W6 x - 5 n, W8 X7 b+ z* r( [
- DN_PPU:0 r0 @1 A2 u0 K7 ]! u8 E5 ]5 ]5 U, m
- JSR DN_WRITE) k6 ]3 g" h* `, w: L. J" y T
- RTS# c3 ] o8 m7 n* V6 [+ U
-
B" A4 X" \$ g+ e/ |# |( H( G7 U - LF_PPU:+ ?. }2 W1 ~6 H- O0 G
- JSR LF_WRITE
' f3 o& R! z! \ - RTS
9 I4 b. a) Q, |5 N -
" W" ~( U0 D% f5 s2 U - RG_PPU:% l* m6 E7 H3 x
- JSR RG_WRITE, A7 w) L5 a4 ~+ Y
- RTS$ h- V9 I5 ? o9 b( X* L
- 2 I- J" D6 w6 B6 J* F( h" C3 m
- B_PPU:1 h4 T. T3 H, J& Y$ e8 m+ B
- JSR B_WRITE
( O$ y1 a# k9 Z+ K - RTS/ ~; q' e$ [* R6 [$ L
-
( O) C+ R+ s6 r: A! T - A_PPU:
" {; L0 u1 h/ M- c7 I$ d/ C - JSR A_WRITE
$ J& r. U. H. G" i - RTS
* o5 f H9 `& F8 Z9 g1 R8 P -
% g Z! c, [% ?) S8 k% x# Z - 3 e K* J6 B* g- K4 P" t# |
- PAGESELECT:
/ B% [. D& V7 ~, `) _ P - PAGE0:9 ^; z D" P# q. H6 y. G
- LDA $07AA
+ S f; v. }0 B3 R - CMP #$00
! e( e6 x2 G5 O5 D, w. S: B3 S6 h - BNE PAGE1, E# H- t& a& l8 Y5 b% T; [, y, Y3 L! d
4 Y ^& B' p8 |$ G6 I5 b# U- PAGE_00:8 |1 s- q8 _* |0 e* n+ m- n
- JSR BULSEL_PPU
. L/ K! l7 x: j - RTS+ X6 V) b9 x. X; F( b
- + V3 x' b ~' E: e" D
- PAGE1:
; N% Q! C8 }0 R) C3 z! P - LDA $07AA- O) @ G& g& { }3 j/ k9 b( o- I
- CMP #$01- |) q8 G6 `6 v0 C
- BNE PAGE2
; O- Q* ?4 F; m( ` - ; F% I, r( f% `7 I
- PAGE_01:6 t: D1 l) p6 o: a
- JSR INVINC_PPU
% D! Q4 w' k+ c. Z* |" g' z+ q! @ - JSR LIFELC15_PPU
( y0 y4 t0 J- x - JSR DOUCON_PPU. e: C* ]1 f: [& K D
- JSR KILLON_PPU
5 k; @6 F; D' ]3 {/ S- _6 { - JSR SKYFLY_PPU
7 \2 V, f9 K5 z* k5 x5 P - JSR LIFELOW_PPU1 _0 s& O! ^4 \& h
- RTS
, W- o5 _+ | o5 w8 h' }- l/ z5 X+ l - . l+ G, ?- ?7 V7 [6 v' q' O1 b
- PAGE2: `0 Q+ d8 q6 I* [1 ^2 }
- LDA $07AA) r! Z0 B! f2 M7 @
- CMP #$02! U& E+ }2 N( K0 `9 Q; e
- BNE PAGE3! B0 U# N/ [* j9 V0 Q' J3 p% o
-
$ y1 Z9 I3 l6 W7 C - PAGE_02:4 ?# g# U! H1 W) [; Q. `) S
- JSR BULADD_PPU
9 v3 l2 [% E/ \- F - JSR SKINGE_PPU
# _6 x" x, w( n4 U6 F; r1 E1 H - JSR BULMIX_PPU
) b0 \! w \: f* |( y# r* w: { - JSR ENELOC_PPU. F* y" {8 R/ T: t2 h
- JSR FOCFUL_PPU W8 Z, h1 f' u; x
- RTS7 |' @) M2 t9 a
- ; j5 J. C2 O7 d! J6 v9 K0 ]
- PAGE3:
8 ~$ h \8 N. I; Z7 ] a5 G - LDA $07AA
. f' D' h; ]% Y9 h - CMP #$03
4 ]# O$ h+ \+ T# l - BNE PAGE4
6 @/ s" i9 Y) j, K/ |- A! t - ! T& u# ]' @1 U# t1 S3 t% F
- PAGE_03:8 \+ R& \+ e$ }, C3 p( B
- JSR BULCON_PPU/ h6 ]# [, |2 p5 t$ e: l0 d1 S
- JSR SPEBUL_PPU
, I& {# H1 q9 Z* _ - JSR CLEALL_PPU
0 y- A6 M1 s: L+ F* ? - JSR HARDMODE_PPU
) s. w/ v8 l* Z - JSR B_TO_JMPSTG_PPU
$ t) ]- m5 \2 g& s3 ?9 _% } - JSR A_TO_PLAMOD_PPU
+ H, `7 y5 Z+ M* ~( Y - RTS, m ]& r$ h, T$ y6 b+ V5 @
7 l9 x& B0 h4 d5 h; a; u- PAGE4: 3 z0 w) e( \* U' }% p$ P, i/ i
- LDA $07AA
( ]% W& l' Y5 z" ^ - CMP #$04. w+ @7 D/ X2 n
- BNE PAGERTS
0 W7 T3 V! a. {1 v -
5 X7 m6 }; t* e7 D& Q - PAGE_04:: j& q7 T3 l' d/ z# ^
- JSR MOVSPE_PPU# F2 p+ \0 r! ]) ~& l( c3 T/ `
- JSR UNLJMP_PPU' [; z) k$ G d% z
- JSR DESTRO_PPU6 I- y" }/ R" I
- JSR EQUBUL_PPU
: S3 l" t* Q1 O9 E% B5 I4 R - JSR MOVESPEED_PPU
, P5 P0 ?: J+ c9 Z( X - PAGERTS:" l! J+ y, A7 B% m0 Z( f
- RTS7 K6 M* s# b+ }& a, }
- . N" r- ^. g6 W+ M4 k" l) M _
- : K% G. e& @7 g7 @: s8 J" ^
- PLAYER_01_STRING:
% ~5 n4 N$ H z4 F2 a8 j& S - .BYTE $9A,$96,$8B,$A3,$8F,$9C,$80,$81,$82,$801 }+ Z) }& @8 }. [! _3 {
- - F3 [. g! M) h" E9 c, U* g; @, @
-
3 x1 l3 Q0 [. o2 z - PLAYER_01_WRITE:2 Y' Y, }# {' {" j
- LDX #$00
8 N0 V- a& ?7 C! A& G9 h' y - PLAYER_01:! p, y- p$ c; q- i3 B0 p3 L$ z, ^% B" _
- JSR PPUADDR_PROCESS- E8 b, T; N9 k' c9 S. ]$ @$ n' n
- LDA PLAYER_01_STRING,X- {# E p7 T$ f) e( s/ E N
- STA $2007
' K8 Y% Y( K3 g" ]! U3 z - LDA #$00
) [ v5 h2 F1 Z* G# w8 Z, r - STA $2000
. B8 Y, h. r: f! R$ N9 G - INC $BA
4 C! j+ }! t! P1 `/ e! Y - INX/ T0 ~+ A' B5 S$ t8 A" f: h" h
- CPX #$0A* ?5 E# G. `( W
- BCC PLAYER_01' }" U/ H+ g) t- ?2 C& p
- RTS
) f+ V4 m& }% c% K8 ]+ j - * L9 E+ F+ y0 d6 H
- PLAYER_01_PPU:6 }5 ~/ T: H& n3 {+ x! c- C1 s
- LDX #$00
+ q8 H6 P' s |% e( @! ` - LDA #$645 `4 t5 H8 D# W
- STA $BA
" a# R6 P4 H5 \1 g - LDA #$20
/ ?; l5 a* ~' T, e- m - STA $BB
' J+ d. m4 }+ Z - JSR PLAYER_01_WRITE n- x4 o9 h+ e& W$ n
- RTS
& C' B0 V8 x/ \- R& }) G - ~; m8 D0 u& Q! N
- PLAYER_02_STRING:+ p$ h6 M4 H# z& W) l
- .BYTE $9A,$96,$8B,$A3,$8F,$9C,$80,$81,$83,$80
$ h! U. x. M$ R. P -
* m$ W+ Y4 X b" B" l -
+ ^- G G8 g: p7 n ` - PLAYER_02_WRITE:, |" E. x3 a0 P) ]
- LDX #$007 p8 h2 S2 ~, X
- PLAYER_02:, @, d1 c5 K- v5 ?+ W
- JSR PPUADDR_PROCESS9 |, ]# b- D7 u, F7 V
- LDA PLAYER_02_STRING,X
7 l/ h) y% N$ K1 S# m- X - STA $20073 \* r) O# N I; Z/ C
- LDA #$00
/ l4 T G1 t5 H4 D1 \ - STA $20006 d& D0 R( Y3 G
- INC $BA9 M! N" v8 _, K4 J) ]" m- a) o
- INX2 |- l* k4 M- y" \6 a
- CPX #$0A
$ u; |0 T, C1 w4 m, |% i. m - BCC PLAYER_02
2 Q; }7 N' k* L& ~) v. T" p - RTS
# ?+ ~# V: d6 L% T/ }
7 Y# n6 T: O& q: Z( s" C) I- PLAYER_02_PPU: y6 c( f% s9 i7 U7 Q, H% ^% q& V
- LDX #$00
' v6 F8 |% m7 X! z3 a( y! U - LDA #$735 G) D4 q6 A+ e
- STA $BA7 \9 S8 v8 V; c
- LDA #$20
3 v3 K/ S* }9 i - STA $BB6 a3 w( P) U- e' R
- JSR PLAYER_02_WRITE
7 a9 `& x; c' p' I; S9 T - RTS
9 f% I: v: d9 ?% h! l - : F- U1 k: t$ ?* S; I. k6 P% P
- PPUADDR_PROCESS:6 i9 l1 G& o F& [+ e
- LDA $BB @, m. ^0 m1 F
- STA $2006* F$ L! G. W' N5 a' ^
- LDA $BA/ A$ @" S7 I8 A' h
- STA $2006# `, _3 d% r9 r" l
- RTS
/ `7 P5 C: A$ u- X - 8 N2 q$ E. X- h' b! }+ n
-
1 u3 u; c( \$ v3 B -
" O8 e! X* Q* @' n - ONE_STRING:+ j' {% ^& k3 c/ s* v2 ~4 V4 z$ u
- .BYTE $99,$98,$8F
/ K& x4 }( f2 d7 _( q6 V+ ` -
e& |( C/ R5 ~3 t - TWO_STRING:# e4 u# k2 e3 S4 x3 |
- .BYTE $9E,$A1,$99, S6 |% q3 [+ L
5 f, U7 E* h" v$ d- ONE_TWO_PPU:2 ]- }; Q8 @* e! X
- BNE ONEWR" G* g, y& [1 D% o H! ~4 O. F
- TWOWR:% E5 F4 N; N. i- J% ^) F# H6 B
- JSR PPUADDR_PROCESS* }" {* m( c/ k) j
- LDA TWO_STRING,X
9 U4 I0 Y' |5 E - STA $2007( `" O4 T( B' b. S
- INC $BA/ J$ B6 q5 \6 Y+ R
- INX
2 M3 J8 G6 I1 ^! C6 E - CPX #$03
! y( Y" C4 Z/ e `; o; n - BCC TWOWR
' |& a/ [7 G. J) u; m5 b) w! t - RTS" j2 Y# Y2 i7 p5 I& M
- ONEWR:
# u2 m' \ f4 m: v5 V - JSR PPUADDR_PROCESS X& M$ s. K: U" X
- LDA ONE_STRING,X
" D6 S0 q- I- L' K* L! x' m/ |7 Z - STA $2007! I/ v/ {# w9 ]5 b T
- INC $BA
7 m4 `3 m8 g' @) z/ A% q - INX/ _/ b/ V* X! |
- CPX #$03
$ W( |, S/ O9 R - BCC ONEWR
' A4 D; V# g. u& W - RTS& V) P: }- L+ l3 U
- 2 F- j9 J* Q5 h) B
- MOVESPEED_STRING:
& H1 G% z Q. {! D7 t/ P: y( Z - .BYTE $97,$99,$A0,$8F,$80,$9D,$9A,$8F,$8F,$8F,$80
! p( E8 F3 A' e6 K' J. ~& Z - % `% k8 i! [1 c2 V' j U1 A
- $ F a! j. e8 h! z2 w7 v
- MOVESPEED_WRITE:
$ [; D. Y4 i7 {1 ?8 V, ~. o - LDX #$00
- D- u6 b2 k, m9 d# i, a5 k - MOVESPEED:+ C3 U s, t4 y8 v
- JSR PPUADDR_PROCESS3 ?, g" a7 b; ]+ ?, E, s
- LDA MOVESPEED_STRING,X/ _* l" L5 F# I. Q* p! h3 F
- STA $2007* L6 y6 I2 O+ m% k; w9 C
- LDA #$00
, s4 ~/ I5 l! f3 ?8 Q+ _ z - STA $2000
% p3 r' B; B# c& K$ M1 [ - INC $BA8 A# b& H9 I# h# V ]
- INX
* ?6 j' I* {5 i0 h, C6 g4 p) [ - CPX #$0B
E# \0 ?4 Y. w3 J5 ^ - BCC MOVESPEED) S7 {+ z# t; [4 ]) {1 f
- RTS. @9 j2 Q' o* ^3 Q O) E
- " a: R } J3 ?& Y& o* `' U
- MOVESPEED_PPU:
. F& E7 J \5 p6 E - LDX #$00
6 n1 v+ m4 c7 @' O( ?/ U - LDA #$AA
1 H, @: U6 m4 ~3 r - STA $BA" I; u C* m+ I; P0 Q
- LDA #$22, k7 ]: e7 D7 Q8 ]8 a8 ~
- STA $BB
2 F: V7 A3 }6 `# c4 { - JSR MOVESPEED_WRITE" o, B" B( W. N/ x' U6 }: d
- LDA $7003: M' J5 D9 I; S) {* s6 ]5 w
- CLC
1 o- w! ]0 W9 J - ADC #$826 ~% a3 p( U7 Q. u/ q& b
- STA $2007
7 L4 E9 U7 g+ V/ J' t - RTS
; j5 W/ a: A6 R" P -
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
评分
-
1
查看全部评分
-
|