antoine-source/loderunner/source old/LR.GETSPRITES.S
Antoine Vignau 389514d172 closer
2024-02-14 21:46:43 +01:00

29 lines
961 B
ArmAsm

LODE RUNNER
How to print all the sprites
00/0300: A9 00 LDA #00
00/0302: 85 85 STA 85
00/0304: 85 86 STA 86
00/0306: 85 89 STA 89
00/0308: A5 89 LDA 89
00/030A: 20 AA 82 JSR 82AA
00/030D: E6 89 INC 89
00/030F: A5 89 LDA 89
00/0311: C9 66 CMP #66
00/0313: D0 01 BNE 0316 {+01}
00/0315: 60 RTS
00/0316: E6 85 INC 85
00/0318: E6 85 INC 85
00/031A: A5 85 LDA 85
00/031C: C9 1E CMP #18
00/031E: D0 E8 BNE 0308 {-18}
00/0320: A9 00 LDA #00
00/0322: 85 85 STA 85
00/0324: E6 86 INC 86
00/0326: E6 86 INC 86
00/0328: 4C 08 03 JMP 0308
300:A9 00 85 85 85 86 85 89 A5 89 20 AA 82 E6 89 A5 89 C9 66 D0 01 60 E6 85 E6 85 A5 85 C9 18 D0 E6 A9 00 85 85 E6 86 E6 86 4C 08 03
300:A9 00 85 8A 85 89 A5 89 A0 00 A6 8A 20 36 83 E6 89 A5 89 C9 66 D0 01 60 E6 8A E6 8A A5 8A C9 18 D0 E6 AD 0B 03 18 69 0B 8D 0B 03 A9 00 85 8A 4C 08 03