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