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