Entombed
Hardware Info
RAM Usage
B000: 4C 85 B0 JMP $B085 ;
B003: 00
B004: 38
B005: 44
B006: 44
B007: 44
B008: 44
B009: 44
B00A: 38
B00B: 00
B00C: 38
B00D: 10 10
B00F: 10 10
B011: 30 10
B013: 00
B014: 7C
B015: 40
B016: 40
B017: 38
B018: 04
B019: 44
B01A: 38
B01B: 00
B01C: 38
B01D: 44
B01E: 04
B01F: 18
B020: 04
B021: 44
B022: 38
B023: 00
B024: 08
B025: 08
B026: 7C
B027: 48
B028: 28
B029: 18
B02A: 08
B02B: 00
B02C: 38
B02D: 44
B02E: 04
B02F: 04
B030: 78
B031: 40
B032: 7C
B033: 00
B034: 38
B035: 44
B036: 44
B037: 78
B038: 40
B039: 20 1C 00
B03C: 20 20 20
B03F: 10 08
B041: 04
B042: 7C
B043: 00
B044: 38
B045: 44
B046: 44
B047: 38
B048: 44
B049: 44
B04A: 38
B04B: 00
B04C: 70 08
B04E: 04
B04F: 3C
B050: 44
B051: 44
B052: 38
B053: 00
B054: 00
B055: 00
B056: 00
B057: 00
B058: 00
B059: 00
B05A: 00
B05B: 3C
B05C: 42
B05D: 99 91 99
B060: 42
B061: 3C
B062: 00
B063: 40
B064: 40
B065: 11 87
B067: 40
B068: 80
B069: 0F
B06A: 04
B06B: 04
B06C: 01 00
B06E: 03
B06F: B0 03
B071: B0 03
B073: B0 03
B075: B0 04
B077: 18
B078: 13
B079: BE 33 01
B07C: 0C
B07D: 09 62
B07F: BF
B080: 6D BF 78
B083: BF
B084: 8A
Start
B085: 78 SEI ; Disable interrupts
B086: D8 CLD ; Clear decimal mode
B087: A9 01 LDA #$01
B089: 85 F4 STA mF4 ;
B08B: A2 FF LDX #$FF ; Set stack to ...
B08D: 9A TXS ; ... top of RAM
B08E: 20 94 BB JSR $BB94 ;
B091: A2 00 LDX #$00
B093: 86 F5 STX mF5 ;
B095: AD 82 02 LDA SWCHB ;
B098: 30 01 BMI $B09B ;
B09A: E8 INX
B09B: 86 F2 STX mF2 ;
B09D: 84 DD STY mDD ;
B09F: 84 DE STY mDE ;
;
B0A1: A9 25 LDA #$25
B0A3: 85 0A STA CTRLPF ;
B0A5: A2 21 LDX #$21
B0A7: BC 63 B0 LDY $B063,X ;
B0AA: 94 B0 STY mB0,X ;
B0AC: CA DEX
B0AD: 10 F8 BPL $B0A7 ;
B0AF: A9 BD LDA #$BD
B0B1: 85 D9 STA mD9 ;
B0B3: 20 A4 B9 JSR $B9A4 ;
B0B6: A5 F4 LDA mF4 ;
B0B8: D0 03 BNE $B0BD ;
B0BA: 20 C1 B9 JSR $B9C1 ;
B0BD: A9 18 LDA #$18
B0BF: 85 08 STA COLUPF ;
B0C1: A9 FF LDA #$FF
B0C3: 85 D5 STA mD5 ;
B0C5: 85 F6 STA mF6 ;
B0C7: 20 16 BF JSR $BF16 ;
B0CA: AD 82 02 LDA SWCHB ;
B0CD: 29 01 AND #$01
B0CF: F0 BA BEQ $B08B ;
B0D1: 24 37 BIT CXPPMM ;
B0D3: 10 03 BPL $B0D8 ;
B0D5: 20 18 BA JSR $BA18 ; Check player-zombie collisions
B0D8: A5 F0 LDA mF0 ;
B0DA: F0 1E BEQ $B0FA ;
B0DC: C6 DD DEC mDD ;
B0DE: D0 0A BNE $B0EA ;
B0E0: E6 C4 INC mC4 ;
B0E2: A5 C4 LDA mC4 ;
B0E4: 85 08 STA COLUPF ;
B0E6: 69 80 ADC #$80
B0E8: 85 09 STA COLUBK ;
B0EA: A9 BE LDA #$BE
B0EC: 85 D9 STA mD9 ;
B0EE: 85 D5 STA mD5 ;
B0F0: A9 0A LDA #$0A
B0F2: 85 D8 STA mD8 ;
B0F4: 20 24 BF JSR $BF24 ;
B0F7: 4C A6 B1 JMP $B1A6 ;
B0FA: A5 F3 LDA mF3 ;
B0FC: F0 10 BEQ $B10E ;
B0FE: E6 F3 INC mF3 ;
B100: 10 E8 BPL $B0EA ;
B102: A9 00 LDA #$00
B104: 85 F3 STA mF3 ;
B106: 85 ED STA mED ;
B108: 85 EC STA mEC ;
B10A: A9 BD LDA #$BD
B10C: 85 D9 STA mD9 ;
B10E: 20 5D B5 JSR $B55D ;
B111: A5 E1 LDA mE1 ;
B113: C5 C3 CMP mC3 ;
B115: D0 04 BNE $B11B ;
B117: A9 00 LDA #$00
B119: 85 E1 STA mE1 ;
B11B: C9 00 CMP #$00
B11D: F0 06 BEQ $B125 ;
B11F: 20 24 BF JSR $BF24 ;
B122: 4C 54 B1 JMP $B154 ;
B125: 24 36 BIT CXBLPF ;
B127: 10 06 BPL $B12F ;
B129: A5 E9 LDA mE9 ;
B12B: 49 FF EOR #$FF
B12D: 85 E9 STA mE9 ;
B12F: A5 E9 LDA mE9 ;
B131: F0 04 BEQ $B137 ;
B133: C6 D2 DEC mD2 ;
B135: D0 02 BNE $B139 ;
B137: E6 D2 INC mD2 ;
B139: A5 DD LDA mDD ;
B13B: 4A LSR A
B13C: A9 0B LDA #$0B
B13E: 48 PHA
B13F: A9 02 LDA #$02
B141: A0 07 LDY #$07
B143: 85 80 STA m80 ;
B145: 84 89 STY m89 ;
B147: A9 00 LDA #$00
B149: 26 8A ROL m8A ;
B14B: 68 PLA
B14C: 85 88 STA m88 ;
B14E: 20 24 BF JSR $BF24 ;
B151: 20 F9 B3 JSR $B3F9 ;
B154: 20 8F B5 JSR $B58F ;
B157: 20 31 B6 JSR $B631 ;
B15A: E6 E1 INC mE1 ;
B15C: A5 ED LDA mED ;
B15E: C9 00 CMP #$00
B160: D0 1D BNE $B17F ;
B162: A2 00 LDX #$00
B164: A9 1D LDA #$1D
B166: 85 BA STA mBA ;
B168: AD 80 02 LDA SWCHA ;
B16B: 20 9D B6 JSR $B69D ;
B16E: B5 3C LDA INPT4,X ;
B170: 10 04 BPL $B176 ;
B172: A9 00 LDA #$00
B174: 95 B7 STA mB7,X ;
B176: 20 57 B8 JSR $B857 ;
B179: 20 D4 B3 JSR $B3D4 ;
B17C: 4C A6 B1 JMP $B1A6 ;
B17F: A9 6D LDA #$6D
B181: 85 BA STA mBA ;
B183: AD 80 02 LDA SWCHA ;
B186: 0A ASL A
B187: 0A ASL A
B188: 0A ASL A
B189: 0A ASL A
B18A: A2 01 LDX #$01
B18C: 20 9D B6 JSR $B69D ;
B18F: B5 3C LDA INPT4,X ;
B191: 10 04 BPL $B197 ;
B193: A9 00 LDA #$00
B195: 95 B7 STA mB7,X ;
B197: 20 57 B8 JSR $B857 ;
B19A: A5 B2 LDA mB2 ;
B19C: 20 5C B7 JSR $B75C ;
B19F: A2 01 LDX #$01
B1A1: 20 27 B6 JSR $B627 ;
B1A4: D0 0A BNE $B1B0 ;
B1A6: A5 B3 LDA mB3 ;
B1A8: 20 5C B7 JSR $B75C ;
B1AB: A2 01 LDX #$01
B1AD: 20 27 B6 JSR $B627 ;
B1B0: 20 F7 B4 JSR $B4F7 ;
B1B3: A9 13 LDA #$13
B1B5: 85 04 STA NUSIZ0 ;
B1B7: 85 05 STA NUSIZ1 ;
B1B9: A9 6D LDA #$6D
B1BB: 85 06 STA COLUP0 ;
B1BD: A9 1D LDA #$1D
B1BF: 85 07 STA COLUP1 ;
B1C1: A9 23 LDA #$23
B1C3: A2 02 LDX #$02
B1C5: 20 5C B7 JSR $B75C ;
B1C8: 20 27 B6 JSR $B627 ;
B1CB: A9 63 LDA #$63
B1CD: A2 03 LDX #$03
B1CF: 20 5C B7 JSR $B75C ;
B1D2: 20 27 B6 JSR $B627 ;
B1D5: A2 00 LDX #$00
B1D7: A5 C7 LDA mC7 ;
B1D9: A0 02 LDY #$02
B1DB: 94 81 STY m81,X ;
B1DD: 29 03 AND #$03
B1DF: C9 03 CMP #$03
B1E1: D0 02 BNE $B1E5 ;
B1E3: F0 16 BEQ $B1FB ;
B1E5: C9 02 CMP #$02
B1E7: D0 06 BNE $B1EF ;
B1E9: A0 11 LDY #$11
B1EB: 94 04 STY NUSIZ0,X ;
B1ED: D0 0C BNE $B1FB ;
B1EF: C9 01 CMP #$01
B1F1: D0 06 BNE $B1F9 ;
B1F3: A0 10 LDY #$10
B1F5: 94 04 STY NUSIZ0,X ;
B1F7: D0 02 BNE $B1FB ;
B1F9: 95 81 STA m81,X ;
B1FB: E8 INX
B1FC: E0 02 CPX #$02
B1FE: F0 09 BEQ $B209 ;
B200: A5 C7 LDA mC7 ;
B202: 4A LSR A
B203: 4A LSR A
B204: 4A LSR A
B205: 4A LSR A
B206: 4C D9 B1 JMP $B1D9 ;
B209: A0 04 LDY #$04
B20B: A5 F4 LDA mF4 ;
B20D: F0 04 BEQ $B213 ;
B20F: A9 00 LDA #$00
B211: 85 82 STA m82 ;
B213: 20 33 BF JSR $BF33 ;
B216: 85 02 STA WSYNC ;
B218: 85 2A STA HMOVE ;
B21A: 85 02 STA WSYNC ;
B21C: A5 81 LDA m81 ;
B21E: 85 1D STA ENAM0 ;
B220: A5 82 LDA m82 ;
B222: 85 1E STA ENAM1 ;
B224: 88 DEY
B225: D0 F3 BNE $B21A ;
B227: A9 00 LDA #$00
B229: 85 26 STA VDELP1 ;
B22B: 85 1D STA ENAM0 ;
B22D: 85 1E STA ENAM1 ;
B22F: A9 00 LDA #$00
B231: 85 02 STA WSYNC ;
B233: 85 2C STA CXCLR ;
B235: 85 0E STA PF1 ;
B237: 85 0F STA PF2 ;
B239: 85 04 STA NUSIZ0 ;
B23B: 85 05 STA NUSIZ1 ;
B23D: A5 BA LDA mBA ;
B23F: 85 07 STA COLUP1 ;
B241: A5 D1 LDA mD1 ;
B243: 85 06 STA COLUP0 ;
B245: A9 FF LDA #$FF
B247: 85 0D STA PF0 ;
B249: A9 01 LDA #$01
B24B: 85 25 STA VDELP0 ;
B24D: A5 D5 LDA mD5 ;
B24F: 85 D3 STA mD3 ;
B251: A9 00 LDA #$00
B253: A2 0B LDX #$0B
B255: A4 B6 LDY mB6 ;
B257: D0 08 BNE $B261 ;
B259: C6 D3 DEC mD3 ;
B25B: C6 D4 DEC mD4 ;
B25D: 85 02 STA WSYNC ;
B25F: A0 0F LDY #$0F
B261: 85 1B STA GRP0 ;
B263: 85 02 STA WSYNC ;
B265: 84 DC STY mDC ;
B267: A4 D4 LDY mD4 ;
B269: B1 D8 LDA (mD8),Y ;
B26B: 85 1C STA GRP1 ;
B26D: C6 D4 DEC mD4 ;
B26F: B5 91 LDA m91,X ;
B271: 85 0E STA PF1 ;
B273: B5 A1 LDA mA1,X ;
B275: 85 0F STA PF2 ;
B277: C6 D3 DEC mD3 ;
B279: A4 D3 LDY mD3 ;
B27B: B1 C5 LDA (mC5),Y ;
B27D: E4 E8 CPX mE8 ;
B27F: D0 04 BNE $B285 ;
B281: A4 EA LDY mEA ;
B283: 84 1F STY ENABL ;
B285: EA NOP
B286: EA NOP
B287: A4 DC LDY mDC ;
B289: 88 DEY
B28A: D0 D5 BNE $B261 ;
B28C: 85 1B STA GRP0 ;
B28E: 85 02 STA WSYNC ;
B290: CA DEX
B291: 30 27 BMI $B2BA ;
B293: A4 D4 LDY mD4 ;
B295: B1 D8 LDA (mD8),Y ;
B297: 85 1C STA GRP1 ;
B299: A9 00 LDA #$00
B29B: 85 1F STA ENABL ;
B29D: E6 81 INC m81 ;
B29F: E6 81 INC m81 ;
B2A1: E6 81 INC m81 ;
B2A3: E6 81 INC m81 ;
B2A5: A4 D3 LDY mD3 ;
B2A7: B1 C5 LDA (mC5),Y ;
B2A9: E0 00 CPX #$00
B2AB: D0 B2 BNE $B25F ;
B2AD: 85 1B STA GRP0 ;
B2AF: A5 B6 LDA mB6 ;
B2B1: F0 07 BEQ $B2BA ;
B2B3: 49 0F EOR #$0F
B2B5: A8 TAY
B2B6: D0 AB BNE $B263 ;
B2B8: 85 02 STA WSYNC ;
B2BA: 85 02 STA WSYNC ;
B2BC: A9 00 LDA #$00
B2BE: 85 25 STA VDELP0 ;
B2C0: 85 0D STA PF0 ;
B2C2: 85 0E STA PF1 ;
B2C4: 85 0F STA PF2 ;
B2C6: 85 1F STA ENABL ;
B2C8: 85 0B STA REFP0 ;
B2CA: 85 1B STA GRP0 ;
B2CC: 85 1C STA GRP1 ;
B2CE: 85 2B STA HMCLR ;
B2D0: A9 06 LDA #$06
B2D2: 85 04 STA NUSIZ0 ;
B2D4: A9 01 LDA #$01
B2D6: 85 26 STA VDELP1 ;
B2D8: A9 06 LDA #$06
B2DA: 85 05 STA NUSIZ1 ;
B2DC: A0 06 LDY #$06
B2DE: 85 02 STA WSYNC ;
B2E0: 85 2A STA HMOVE ;
B2E2: 88 DEY
B2E3: D0 FD BNE $B2E2 ;
B2E5: 85 10 STA RESP0 ;
B2E7: 85 11 STA RESP1 ;
B2E9: A0 07 LDY #$07
B2EB: 85 2A STA HMOVE ;
B2ED: A5 F0 LDA mF0 ;
B2EF: F0 04 BEQ $B2F5 ;
B2F1: A5 C4 LDA mC4 ;
B2F3: 85 F6 STA mF6 ;
B2F5: B1 C1 LDA (mC1),Y ;
B2F7: AA TAX
B2F8: 85 02 STA WSYNC ;
B2FA: A5 F6 LDA mF6 ;
B2FC: 85 06 STA COLUP0 ;
B2FE: 85 07 STA COLUP1 ;
B300: B1 BD LDA (mBD),Y ;
B302: 85 1C STA GRP1 ;
B304: B1 BB LDA (mBB),Y ;
B306: 85 1B STA GRP0 ;
B308: A9 00 LDA #$00
B30A: 85 1C STA GRP1 ;
B30C: A9 FF LDA #$FF
B30E: 85 81 STA m81 ;
B310: 85 81 STA m81 ;
B312: A9 00 LDA #$00
B314: 85 1B STA GRP0 ;
B316: EA NOP
B317: 86 1C STX GRP1 ;
B319: B1 BF LDA (mBF),Y ;
B31B: 85 1B STA GRP0 ;
B31D: 88 DEY
B31E: 10 D5 BPL $B2F5 ;
B320: A9 00 LDA #$00
B322: 85 26 STA VDELP1 ;
B324: A5 B6 LDA mB6 ;
B326: C9 00 CMP #$00
B328: D0 52 BNE $B37C ;
B32A: A5 E1 LDA mE1 ;
B32C: C9 01 CMP #$01
B32E: D0 4C BNE $B37C ;
B330: A5 E8 LDA mE8 ;
B332: C9 0C CMP #$0C
B334: D0 2B BNE $B361 ;
B336: A9 00 LDA #$00
B338: 85 E8 STA mE8 ;
B33A: 20 7B B7 JSR $B77B ;
B33D: BD C1 B7 LDA $B7C1,X ;
B340: 85 D2 STA mD2 ;
B342: A9 02 LDA #$02
B344: 85 EA STA mEA ;
B346: A5 EF LDA mEF ;
B348: E6 EF INC mEF ;
B34A: A5 EF LDA mEF ;
B34C: C9 05 CMP #$05
B34E: D0 13 BNE $B363 ;
B350: C6 C3 DEC mC3 ;
B352: D0 04 BNE $B358 ;
B354: A9 01 LDA #$01
B356: 85 C3 STA mC3 ;
B358: 20 B9 B5 JSR $B5B9 ;
B35B: A9 FF LDA #$FF
B35D: 85 D5 STA mD5 ;
B35F: D0 1B BNE $B37C ;
B361: C9 07 CMP #$07
B363: D0 17 BNE $B37C ;
B365: A9 A7 LDA #$A7
B367: 85 D5 STA mD5 ;
B369: 20 7B B7 JSR $B77B ;
B36C: BD C1 B7 LDA $B7C1,X ;
B36F: 38 SEC
B370: E9 03 SBC #$03
B372: 85 D6 STA mD6 ;
B374: A9 BE LDA #$BE
B376: 85 C6 STA mC6 ;
B378: A9 14 LDA #$14
B37A: 85 C5 STA mC5 ;
B37C: A9 BF LDA #$BF
B37E: 85 CE STA mCE ;
B380: A5 F0 LDA mF0 ;
B382: F0 14 BEQ $B398 ;
B384: A9 0C LDA #$0C
B386: 85 C9 STA mC9 ;
B388: A9 C5 LDA #$C5
B38A: 85 CB STA mCB ;
B38C: 85 EC STA mEC ;
B38E: A9 D0 LDA #$D0
B390: 85 CD STA mCD ;
B392: A9 DB LDA #$DB
B394: 85 CF STA mCF ;
B396: D0 16 BNE $B3AE ;
B398: A5 F3 LDA mF3 ;
B39A: F0 12 BEQ $B3AE ;
B39C: A9 04 LDA #$04
B39E: 85 C9 STA mC9 ;
B3A0: 85 EC STA mEC ;
B3A2: A9 A4 LDA #$A4
B3A4: 85 CB STA mCB ;
B3A6: A9 AF LDA #$AF
B3A8: 85 CD STA mCD ;
B3AA: A9 BA LDA #$BA
B3AC: 85 CF STA mCF ;
B3AE: 20 74 B6 JSR $B674 ;
B3B1: A5 F4 LDA mF4 ;
B3B3: F0 0C BEQ $B3C1 ;
B3B5: A5 ED LDA mED ;
B3B7: F0 08 BEQ $B3C1 ;
B3B9: A5 B9 LDA mB9 ;
B3BB: 85 D9 STA mD9 ;
B3BD: A9 00 LDA #$00
B3BF: 85 D8 STA mD8 ;
B3C1: A5 ED LDA mED ;
B3C3: D0 06 BNE $B3CB ;
B3C5: 20 7E BA JSR $BA7E ;
B3C8: 4C CE B3 JMP $B3CE ;
B3CB: 20 30 BB JSR $BB30 ;
B3CE: 20 44 BF JSR $BF44 ;
B3D1: 4C C7 B0 JMP $B0C7 ;
B3D4: A5 D5 LDA mD5 ;
B3D6: 10 04 BPL $B3DC ;
B3D8: C9 A7 CMP #$A7
B3DA: B0 1C BCS $B3F8 ;
B3DC: A5 EC LDA mEC ;
B3DE: D0 18 BNE $B3F8 ;
B3E0: A9 01 LDA #$01
B3E2: 85 C8 STA mC8 ;
B3E4: A9 03 LDA #$03
B3E6: 85 C9 STA mC9 ;
B3E8: A9 E6 LDA #$E6
B3EA: 85 CB STA mCB ;
B3EC: A9 DA LDA #$DA
B3EE: 85 CD STA mCD ;
B3F0: A9 BC LDA #$BC
B3F2: 85 CE STA mCE ;
B3F4: A9 78 LDA #$78
B3F6: 85 CF STA mCF ;
B3F8: 60 RTS
B3F9: A5 B6 LDA mB6 ;
B3FB: C9 08 CMP #$08
B3FD: F0 0A BEQ $B409 ;
B3FF: A5 B6 LDA mB6 ;
B401: C9 0F CMP #$0F
B403: D0 11 BNE $B416 ;
B405: E6 D9 INC mD9 ;
B407: D0 0D BNE $B416 ;
B409: C6 D9 DEC mD9 ;
B40B: A5 E8 LDA mE8 ;
B40D: D0 07 BNE $B416 ;
B40F: A5 F4 LDA mF4 ;
B411: F0 03 BEQ $B416 ;
B413: 20 C1 B9 JSR $B9C1 ;
B416: C6 B6 DEC mB6 ;
B418: A5 B6 LDA mB6 ;
B41A: 29 0F AND #$0F
B41C: 85 B6 STA mB6 ;
B41E: F0 07 BEQ $B427 ;
B420: C6 B0 DEC mB0 ;
B422: C6 B1 DEC mB1 ;
B424: C6 D5 DEC mD5 ;
B426: 60 RTS
B427: E6 E8 INC mE8 ;
B429: A5 91 LDA m91 ;
B42B: A2 04 LDX #$04
B42D: 0A ASL A
B42E: 0A ASL A
B42F: 26 86 ROL m86 ;
B431: CA DEX
B432: D0 F9 BNE $B42D ;
B434: A5 A1 LDA mA1 ;
B436: A2 04 LDX #$04
B438: 4A LSR A
B439: 4A LSR A
B43A: 26 86 ROL m86 ;
B43C: CA DEX
B43D: D0 F9 BNE $B438 ;
B43F: A9 20 LDA #$20
B441: 85 83 STA m83 ;
B443: 20 A5 BC JSR GetRandom ;
B446: 0A ASL A
B447: 85 85 STA m85 ;
B449: A5 86 LDA m86 ;
B44B: 26 80 ROL m80 ;
B44D: 0A ASL A
B44E: 26 80 ROL m80 ;
B450: 0A ASL A
B451: 20 D4 B4 JSR $B4D4 ;
B454: A5 86 LDA m86 ;
B456: 25 83 AND m83 ;
B458: 20 D0 B4 JSR $B4D0 ;
B45B: 46 83 LSR m83 ;
B45D: D0 F5 BNE $B454 ;
B45F: 46 8A LSR m8A ;
B461: 20 D4 B4 JSR $B4D4 ;
B464: A5 87 LDA m87 ;
B466: 85 82 STA m82 ;
B468: 85 84 STA m84 ;
B46A: A2 04 LDX #$04
B46C: 4A LSR A
B46D: 26 A0 ROL mA0 ;
B46F: 46 82 LSR m82 ;
B471: 26 A0 ROL mA0 ;
B473: 06 84 ASL m84 ;
B475: 26 90 ROL m90 ;
B477: 06 87 ASL m87 ;
B479: 26 90 ROL m90 ;
B47B: CA DEX
B47C: D0 EE BNE $B46C ;
B47E: A2 1F LDX #$1F
B480: B5 8F LDA m8F,X ;
B482: 95 90 STA m90,X ;
B484: CA DEX
B485: D0 F9 BNE $B480 ;
B487: A6 88 LDX m88 ;
B489: B5 90 LDA m90,X ;
B48B: F0 0B BEQ $B498 ;
B48D: 29 80 AND #$80
B48F: D0 07 BNE $B498 ;
B491: CA DEX
B492: D0 F5 BNE $B489 ;
B494: 86 91 STX m91 ;
B496: 86 A1 STX mA1 ;
B498: A5 A9 LDA mA9 ;
B49A: 29 80 AND #$80
B49C: 85 81 STA m81 ;
B49E: A6 89 LDX m89 ;
B4A0: B5 A0 LDA mA0,X ;
B4A2: F0 0B BEQ $B4AF ;
B4A4: 29 80 AND #$80
B4A6: C5 81 CMP m81 ;
B4A8: D0 05 BNE $B4AF ;
B4AA: CA DEX
B4AB: D0 F3 BNE $B4A0 ;
B4AD: 86 A1 STX mA1 ;
B4AF: 60 RTS
Mystery lookup table??
B4B0: 09 09
B4B2: 09 82
B4B4: 00
B4B5: 00
B4B6: 82
B4B7: 82
B4B8: 09 09
B4BA: 09 09
B4BC: 82
B4BD: 00
B4BE: 00
B4BF: 00
B4C0: 09 09
B4C2: 09 82
B4C4: 00
B4C5: 00
B4C6: 00
B4C7: 00
B4C8: 82
B4C9: 00
B4CA: 09 82
B4CC: 82
B4CD: 00
B4CE: 00
B4CF: 00
B4D0: 18 CLC
B4D1: F0 01 BEQ $B4D4 ;
B4D3: 38 SEC
B4D4: 26 80 ROL m80 ;
B4D6: A5 80 LDA m80 ;
B4D8: 29 1F AND #$1F
B4DA: AA TAX
B4DB: 29 FB AND #$FB
B4DD: 85 81 STA m81 ;
B4DF: BD B0 B4 LDA $B4B0,X ;
B4E2: 30 07 BMI $B4EB ;
B4E4: 4A LSR A
B4E5: B0 09 BCS $B4F0 ;
B4E7: A5 81 LDA m81 ;
B4E9: 10 07 BPL $B4F2 ;
B4EB: 0A ASL A
B4EC: 26 85 ROL m85 ;
B4EE: 90 F7 BCC $B4E7 ;
B4F0: 05 81 ORA m81 ;
B4F2: 85 80 STA m80 ;
B4F4: 26 87 ROL m87 ;
B4F6: 60 RTS
B4F7: A5 D6 LDA mD6 ;
B4F9: 20 5C B7 JSR $B75C ;
B4FC: A2 00 LDX #$00
B4FE: 20 27 B6 JSR $B627 ;
B501: A9 00 LDA #$00
B503: 85 04 STA NUSIZ0 ;
B505: 85 05 STA NUSIZ1 ;
B507: A5 D2 LDA mD2 ;
B509: 20 5C B7 JSR $B75C ;
B50C: A2 04 LDX #$04
B50E: 20 27 B6 JSR $B627 ;
B511: A9 00 LDA #$00
B513: 85 0D STA PF0 ;
B515: 85 0E STA PF1 ;
B517: 85 0F STA PF2 ;
B519: A5 F4 LDA mF4 ;
B51B: F0 12 BEQ $B52F ;
B51D: A5 ED LDA mED ;
B51F: D0 0E BNE $B52F ;
B521: A5 D9 LDA mD9 ;
B523: 85 B9 STA mB9 ;
B525: A9 BE LDA #$BE
B527: 85 D9 STA mD9 ;
B529: A9 0A LDA #$0A
B52B: 85 D8 STA mD8 ;
B52D: 85 B1 STA mB1 ;
B52F: A5 ED LDA mED ;
B531: C9 00 CMP #$00
B533: F0 0D BEQ $B542 ;
B535: A9 00 LDA #$00
B537: 85 ED STA mED ;
B539: A5 B0 LDA mB0 ;
B53B: 18 CLC
B53C: 69 09 ADC #$09
B53E: 85 D4 STA mD4 ;
B540: D0 0B BNE $B54D ;
B542: A5 B1 LDA mB1 ;
B544: 18 CLC
B545: 69 09 ADC #$09
B547: 85 D4 STA mD4 ;
B549: A9 01 LDA #$01
B54B: 85 ED STA mED ;
B54D: A5 F1 LDA mF1 ;
B54F: C9 02 CMP #$02
B551: D0 05 BNE $B558 ;
B553: A9 08 LDA #$08
B555: 85 0B STA REFP0 ;
B557: 60 RTS
B558: A9 00 LDA #$00
B55A: 85 0B STA REFP0 ;
B55C: 60 RTS
B55D: A5 F4 LDA mF4 ;
B55F: F0 08 BEQ $B569 ;
B561: A9 80 LDA #$80
B563: 05 C7 ORA mC7 ;
B565: 85 C7 STA mC7 ;
B567: D0 07 BNE $B570 ;
B569: A5 C7 LDA mC7 ;
B56B: 29 88 AND #$88
B56D: D0 06 BNE $B575 ;
B56F: 60 RTS
B570: 29 08 AND #$08
B572: D0 01 BNE $B575 ;
B574: 60 RTS
B575: A9 01 LDA #$01
B577: 85 B6 STA mB6 ;
B579: A9 0B LDA #$0B
B57B: 85 E8 STA mE8 ;
B57D: E6 C3 INC mC3 ;
B57F: A5 C4 LDA mC4 ;
B581: 38 SEC
B582: E9 20 SBC #$20
B584: 85 C4 STA mC4 ;
B586: A5 C3 LDA mC3 ;
B588: 85 E1 STA mE1 ;
B58A: A9 04 LDA #$04
B58C: 85 EF STA mEF ;
B58E: 60 RTS
B58F: A5 ED LDA mED ;
B591: C9 00 CMP #$00
B593: D0 12 BNE $B5A7 ;
B595: 24 23 BIT $23
B597: 10 07 BPL $B5A0 ;
B599: A9 01 LDA #$01 ; Change to LDA #$FE to disable player-playfield collision
B59B: 05 EE ORA mEE ;
B59D: 85 EE STA mEE ;
B59F: 60 RTS
B5A0: A9 FE LDA #$FE
B5A2: 25 EE AND mEE ;
B5A4: 85 EE STA mEE ;
B5A6: 60 RTS
B5A7: 24 23 BIT $23
B5A9: 10 07 BPL $B5B2 ;
B5AB: A9 02 LDA #$02
B5AD: 05 EE ORA mEE ;
B5AF: 85 EE STA mEE ;
B5B1: 60 RTS
B5B2: A9 FD LDA #$FD
B5B4: 25 EE AND mEE ;
B5B6: 85 EE STA mEE ;
B5B8: 60 RTS
B5B9: A9 00 LDA #$00
B5BB: 85 EF STA mEF ;
B5BD: A5 C4 LDA mC4 ;
B5BF: 18 CLC
B5C0: 69 20 ADC #$20
B5C2: 85 C4 STA mC4 ;
B5C4: 85 08 STA COLUPF ;
B5C6: A9 00 LDA #$00
B5C8: 85 B6 STA mB6 ;
B5CA: 85 E8 STA mE8 ;
B5CC: 85 EA STA mEA ;
B5CE: A0 1F LDY #$1F
B5D0: 99 90 00 STA m90,Y ;
B5D3: 88 DEY
B5D4: D0 FA BNE $B5D0 ;
B5D6: A5 C7 LDA mC7 ;
B5D8: A4 F4 LDY mF4 ;
B5DA: D0 06 BNE $B5E2 ;
B5DC: 29 88 AND #$88
B5DE: F0 06 BEQ $B5E6 ;
B5E0: D0 1A BNE $B5FC ;
B5E2: 29 80 AND #$80
B5E4: D0 16 BNE $B5FC ;
B5E6: A9 01 LDA #$01
B5E8: 85 C8 STA mC8 ;
B5EA: A9 0A LDA #$0A
B5EC: 85 C9 STA mC9 ;
B5EE: A9 E6 LDA #$E6
B5F0: 85 CB STA mCB ;
B5F2: A9 8F LDA #$8F
B5F4: 85 CD STA mCD ;
B5F6: A9 78 LDA #$78
B5F8: 85 CF STA mCF ;
B5FA: D0 00 BNE $B5FC ;
B5FC: A9 40 LDA #$40
B5FE: 85 B0 STA mB0 ;
B600: 85 B1 STA mB1 ;
B602: A9 11 LDA #$11
B604: 85 B2 STA mB2 ;
B606: A9 87 LDA #$87
B608: 85 B3 STA mB3 ;
B60A: A9 BD LDA #$BD
B60C: 85 D9 STA mD9 ;
B60E: A9 00 LDA #$00
B610: 85 D8 STA mD8 ;
B612: A5 C7 LDA mC7 ;
B614: 29 77 AND #$77
B616: 85 C7 STA mC7 ;
B618: A9 0A LDA #$0A
B61A: 85 C5 STA mC5 ;
B61C: A5 F4 LDA mF4 ;
B61E: F0 06 BEQ $B626 ;
B620: A5 C7 LDA mC7 ;
B622: 09 80 ORA #$80
B624: 85 C7 STA mC7 ;
B626: 60 RTS
B627: 85 02 STA WSYNC ;
B629: 88 DEY
B62A: 10 FD BPL $B629 ;
B62C: 95 10 STA RESP0,X ;
B62E: 95 20 STA HMP0,X ;
B630: 60 RTS
B631: A5 ED LDA mED ;
B633: F0 13 BEQ $B648 ;
B635: 24 33 BIT CXP1FB ;
B637: 50 3A BVC $B673 ;
B639: 20 C1 B9 JSR $B9C1 ;
B63C: 20 C1 B9 JSR $B9C1 ;
B63F: A5 F2 LDA mF2 ;
B641: F0 16 BEQ $B659 ;
B643: 20 C1 B9 JSR $B9C1 ;
B646: D0 11 BNE $B659 ;
B648: 24 23 BIT $23
B64A: 50 27 BVC $B673 ;
B64C: 20 A4 B9 JSR $B9A4 ;
B64F: 20 A4 B9 JSR $B9A4 ;
B652: A5 F2 LDA mF2 ;
B654: F0 03 BEQ $B659 ;
B656: 20 A4 B9 JSR $B9A4 ;
B659: A9 00 LDA #$00
B65B: 85 EA STA mEA ;
B65D: A9 01 LDA #$01
B65F: 85 C8 STA mC8 ;
B661: 85 EC STA mEC ;
B663: A9 83 LDA #$83
B665: 85 CB STA mCB ;
B667: A9 8F LDA #$8F
B669: 85 CD STA mCD ;
B66B: A9 99 LDA #$99
B66D: 85 CF STA mCF ;
B66F: A9 02 LDA #$02
B671: 85 C9 STA mC9 ;
B673: 60 RTS
B674: A5 C8 LDA mC8 ;
B676: F0 24 BEQ $B69C ;
B678: C6 EB DEC mEB ;
B67A: 10 20 BPL $B69C ;
B67C: A4 CA LDY mCA ;
B67E: A5 C9 LDA mC9 ;
B680: 85 EB STA mEB ;
B682: B1 CD LDA (mCD),Y ;
B684: 85 19 STA AUDV0 ;
B686: B1 CB LDA (mCB),Y ;
B688: 85 17 STA AUDF0 ;
B68A: B1 CF LDA (mCF),Y ;
B68C: 85 15 STA AUDC0 ;
B68E: C6 CA DEC mCA ;
B690: 10 0A BPL $B69C ;
B692: A0 09 LDY #$09
B694: 84 CA STY mCA ;
B696: A9 00 LDA #$00
B698: 85 EC STA mEC ;
B69A: 85 C8 STA mC8 ;
B69C: 60 RTS
B69D: 0A ASL A
B69E: 90 45 BCC $B6E5 ;
B6A0: 0A ASL A
B6A1: 90 13 BCC $B6B6 ;
B6A3: 0A ASL A
B6A4: B0 03 BCS $B6A9 ; Change to "BCC $B6A9" to force player movement downward
B6A6: 4C 1C B7 JMP $B71C ;
B6A9: 0A ASL A
B6AA: B0 03 BCS $B6AF ;
B6AC: 4C 14 B7 JMP $B714 ;
B6AF: A0 F0 LDY #$F0
B6B1: B5 B0 LDA mB0,X ;
B6B3: 4C 36 B7 JMP $B736 ;
B6B6: 2A ROL A
B6B7: 90 06 BCC $B6BF ;
B6B9: 2A ROL A
B6BA: 90 12 BCC $B6CE ;
B6BC: 4C DC B6 JMP $B6DC ;
B6BF: B5 B4 LDA mB4,X ;
B6C1: 29 08 AND #$08
B6C3: D0 17 BNE $B6DC ;
B6C5: B5 B4 LDA mB4,X ;
B6C7: 29 01 AND #$01
B6C9: F0 E4 BEQ $B6AF ;
B6CB: 4C 1C B7 JMP $B71C ;
B6CE: B5 B4 LDA mB4,X ;
B6D0: 29 08 AND #$08
B6D2: D0 08 BNE $B6DC ;
B6D4: B5 B4 LDA mB4,X ;
B6D6: 29 02 AND #$02
B6D8: D0 3A BNE $B714 ;
B6DA: F0 D3 BEQ $B6AF ;
B6DC: D6 B2 DEC mB2,X ;
B6DE: D6 B2 DEC mB2,X ;
B6E0: A0 88 LDY #$88
B6E2: 4C 36 B7 JMP $B736 ;
B6E5: 2A ROL A
B6E6: 2A ROL A
B6E7: 90 05 BCC $B6EE ;
B6E9: 2A ROL A
B6EA: 90 11 BCC $B6FD ;
B6EC: B0 1E BCS $B70C ;
B6EE: B5 B4 LDA mB4,X ;
B6F0: 29 04 AND #$04
B6F2: D0 18 BNE $B70C ;
B6F4: B5 B4 LDA mB4,X ;
B6F6: 29 01 AND #$01
B6F8: D0 22 BNE $B71C ;
B6FA: 4C AF B6 JMP $B6AF ;
B6FD: B5 B4 LDA mB4,X ;
B6FF: 29 04 AND #$04
B701: D0 09 BNE $B70C ;
B703: B5 B4 LDA mB4,X ;
B705: 29 02 AND #$02
B707: D0 0B BNE $B714 ;
B709: 4C AF B6 JMP $B6AF ;
B70C: F6 B2 INC mB2,X ;
B70E: F6 B2 INC mB2,X ;
B710: A0 44 LDY #$44
B712: D0 22 BNE $B736 ;
B714: D6 B0 DEC mB0,X ;
B716: D6 B0 DEC mB0,X ;
B718: A0 22 LDY #$22
B71A: D0 1A BNE $B736 ;
B71C: F6 B0 INC mB0,X ;
B71E: F6 B0 INC mB0,X ;
B720: A5 C3 LDA mC3 ;
B722: C9 01 CMP #$01
B724: D0 02 BNE $B728 ;
B726: F6 B0 INC mB0,X ;
B728: A0 11 LDY #$11
B72A: B5 B0 LDA mB0,X ;
B72C: 10 08 BPL $B736 ;
B72E: C9 9D CMP #$9D
B730: 90 04 BCC $B736 ;
B732: D6 B0 DEC mB0,X ;
B734: D6 B0 DEC mB0,X ;
B736: 20 D1 B7 JSR $B7D1 ;
B739: B5 B0 LDA mB0,X ;
B73B: 30 0A BMI $B747 ;
B73D: C9 02 CMP #$02
B73F: B0 0A BCS $B74B ;
B741: 20 18 BA JSR $BA18 ;
B744: 4C 4B B7 JMP $B74B ;
B747: C9 F0 CMP #$F0
B749: B0 F6 BCS $B741 ;
B74B: C0 F0 CPY #$F0
B74D: F0 07 BEQ $B756 ;
B74F: 98 TYA
B750: D5 B4 CMP mB4,X ;
B752: 94 B4 STY mB4,X ;
B754: D0 05 BNE $B75B ;
B756: 98 TYA
B757: 35 B4 AND mB4,X ;
B759: 95 B4 STA mB4,X ;
B75B: 60 RTS
B75C: 18 CLC
B75D: 69 2E ADC #$2E
B75F: A8 TAY
B760: 29 0F AND #$0F
B762: 85 D3 STA mD3 ;
B764: 98 TYA
B765: 4A LSR A
B766: 4A LSR A
B767: 4A LSR A
B768: 4A LSR A
B769: A8 TAY
B76A: 18 CLC
B76B: 65 D3 ADC mD3 ;
B76D: C9 0F CMP #$0F
B76F: 90 03 BCC $B774 ;
B771: E9 0F SBC #$0F
B773: C8 INY
B774: 49 07 EOR #$07
B776: 0A ASL A
B777: 0A ASL A
B778: 0A ASL A
B779: 0A ASL A
B77A: 60 RTS
B77B: 20 A5 BC JSR GetRandom ;
B77E: 0A ASL A
B77F: 85 85 STA m85 ;
B781: 90 21 BCC $B7A4 ;
B783: B0 01 BCS $B786 ;
B785: EA NOP
B786: A5 91 LDA m91 ;
B788: A2 00 LDX #$00
B78A: E0 04 CPX #$04
B78C: F0 15 BEQ $B7A3 ;
B78E: 0A ASL A
B78F: 0A ASL A
B790: 90 03 BCC $B795 ;
B792: E8 INX
B793: D0 F5 BNE $B78A ;
B795: A5 85 LDA m85 ;
B797: 0A ASL A
B798: 85 85 STA m85 ;
B79A: 90 01 BCC $B79D ;
B79C: 60 RTS
B79D: 18 CLC
B79E: 8A TXA
B79F: 69 0C ADC #$0C
B7A1: AA TAX
B7A2: 60 RTS
B7A3: EA NOP
B7A4: A5 A1 LDA mA1 ;
B7A6: A2 04 LDX #$04
B7A8: E0 08 CPX #$08
B7AA: F0 D9 BEQ $B785 ;
B7AC: 0A ASL A
B7AD: 0A ASL A
B7AE: 90 03 BCC $B7B3 ;
B7B0: E8 INX
B7B1: D0 F5 BNE $B7A8 ;
B7B3: A5 85 LDA m85 ;
B7B5: 0A ASL A
B7B6: 85 85 STA m85 ;
B7B8: 90 01 BCC $B7BB ;
B7BA: 60 RTS
B7BB: 18 CLC
B7BC: 8A TXA
B7BD: 69 04 ADC #$04
B7BF: AA TAX
B7C0: 60 RTS
B7C1: 14
B7C2: 1C
B7C3: 24 2C
B7C5: 4C 44 3C
B7C8: 34
B7C9: 54
B7CA: 5C
B7CB: 64
B7CC: 6C 8C 84
B7CF: 7C
B7D0: 74
B7D1: E0 00 CPX #$00
B7D3: F0 08 BEQ $B7DD ;
B7D5: A5 EE LDA mEE ;
B7D7: 29 02 AND #$02
B7D9: F0 7B BEQ $B856 ;
B7DB: D0 06 BNE $B7E3 ;
B7DD: A5 EE LDA mEE ;
B7DF: 29 01 AND #$01
B7E1: F0 73 BEQ $B856 ;
B7E3: B5 B4 LDA mB4,X ;
B7E5: 29 0F AND #$0F
B7E7: D0 2E BNE $B817 ;
B7E9: B5 B4 LDA mB4,X ;
B7EB: 29 80 AND #$80
B7ED: F0 07 BEQ $B7F6 ;
B7EF: F6 B2 INC mB2,X ;
B7F1: F6 B2 INC mB2,X ;
B7F3: 4C 56 B8 JMP $B856 ;
B7F6: B5 B4 LDA mB4,X ;
B7F8: 29 40 AND #$40
B7FA: F0 07 BEQ $B803 ;
B7FC: D6 B2 DEC mB2,X ;
B7FE: D6 B2 DEC mB2,X ;
B800: 4C 56 B8 JMP $B856 ;
B803: B5 B4 LDA mB4,X ;
B805: 29 20 AND #$20
B807: F0 07 BEQ $B810 ;
B809: F6 B0 INC mB0,X ;
B80B: F6 B0 INC mB0,X ;
B80D: 4C 56 B8 JMP $B856 ;
B810: D6 B0 DEC mB0,X ;
B812: D6 B0 DEC mB0,X ;
B814: 4C 56 B8 JMP $B856 ;
B817: B5 B4 LDA mB4,X ;
B819: 29 08 AND #$08
B81B: F0 08 BEQ $B825 ;
B81D: F6 B2 INC mB2,X ;
B81F: F6 B2 INC mB2,X ;
B821: F6 B2 INC mB2,X ;
B823: D0 31 BNE $B856 ;
B825: B5 B4 LDA mB4,X ;
B827: 29 04 AND #$04
B829: F0 09 BEQ $B834 ;
B82B: D6 B2 DEC mB2,X ;
B82D: D6 B2 DEC mB2,X ;
B82F: D6 B2 DEC mB2,X ;
B831: 4C 56 B8 JMP $B856 ;
B834: B5 B4 LDA mB4,X ;
B836: 29 02 AND #$02
B838: F0 08 BEQ $B842 ;
B83A: F6 B0 INC mB0,X ;
B83C: F6 B0 INC mB0,X ;
B83E: F6 B0 INC mB0,X ;
B840: D0 14 BNE $B856 ;
B842: B5 B4 LDA mB4,X ;
B844: 29 01 AND #$01
B846: F0 0E BEQ $B856 ;
B848: D6 B0 DEC mB0,X ;
B84A: D6 B0 DEC mB0,X ;
B84C: D6 B0 DEC mB0,X ;
B84E: A5 C3 LDA mC3 ;
B850: C9 01 CMP #$01
B852: D0 02 BNE $B856 ;
B854: D6 B0 DEC mB0,X ;
B856: 60 RTS
B857: B5 3C LDA INPT4,X ;
B859: 10 01 BPL $B85C ;
B85B: 60 RTS
B85C: B5 E2 LDA mE2,X ;
B85E: C9 00 CMP #$00
B860: D0 01 BNE $B863 ;
B862: 60 RTS
B863: B5 B7 LDA mB7,X ;
B865: C9 01 CMP #$01
B867: D0 01 BNE $B86A ;
B869: 60 RTS
B86A: A5 B6 LDA mB6 ;
B86C: C9 02 CMP #$02
B86E: B0 01 BCS $B871 ;
B870: 60 RTS
B871: E0 00 CPX #$00
B873: F0 07 BEQ $B87C ;
B875: A5 EE LDA mEE ;
B877: 29 02 AND #$02
B879: F0 08 BEQ $B883 ;
B87B: 60 RTS
B87C: A5 EE LDA mEE ;
B87E: 29 01 AND #$01
B880: F0 01 BEQ $B883 ;
B882: 60 RTS
B883: A9 01 LDA #$01
B885: 95 B7 STA mB7,X ;
B887: 85 C8 STA mC8 ;
B889: 85 C9 STA mC9 ;
B88B: A9 E6 LDA #$E6
B88D: 85 CB STA mCB ;
B88F: A9 F1 LDA #$F1
B891: 85 CD STA mCD ;
B893: A9 78 LDA #$78
B895: 85 CF STA mCF ;
B897: B5 B0 LDA mB0,X ;
B899: 38 SEC
B89A: E5 B6 SBC mB6 ;
B89C: 85 81 STA m81 ;
B89E: B5 B4 LDA mB4,X ;
B8A0: 29 10 AND #$10
B8A2: F0 11 BEQ $B8B5 ;
B8A4: A5 81 LDA m81 ;
B8A6: 18 CLC
B8A7: 69 05 ADC #$05
B8A9: 85 81 STA m81 ;
B8AB: A5 C3 LDA mC3 ;
B8AD: C9 01 CMP #$01
B8AF: D0 11 BNE $B8C2 ;
B8B1: C6 81 DEC m81 ;
B8B3: D0 0D BNE $B8C2 ;
B8B5: B5 B4 LDA mB4,X ;
B8B7: 29 20 AND #$20
B8B9: F0 07 BEQ $B8C2 ;
B8BB: A5 81 LDA m81 ;
B8BD: 18 CLC
B8BE: 69 04 ADC #$04
B8C0: 85 81 STA m81 ;
B8C2: A0 9B LDY #$9B
B8C4: A5 81 LDA m81 ;
B8C6: 38 SEC
B8C7: 88 DEY
B8C8: E9 0F SBC #$0F
B8CA: B0 FB BCS $B8C7 ;
B8CC: B5 B4 LDA mB4,X ;
B8CE: 29 20 AND #$20
B8D0: F0 04 BEQ $B8D6 ;
B8D2: C8 INY
B8D3: C8 INY
B8D4: D0 10 BNE $B8E6 ;
B8D6: B5 B4 LDA mB4,X ;
B8D8: 29 80 AND #$80
B8DA: F0 03 BEQ $B8DF ;
B8DC: C8 INY
B8DD: D0 07 BNE $B8E6 ;
B8DF: B5 B4 LDA mB4,X ;
B8E1: 29 40 AND #$40
B8E3: F0 01 BEQ $B8E6 ;
B8E5: C8 INY
B8E6: B5 B2 LDA mB2,X ;
B8E8: 85 81 STA m81 ;
B8EA: B5 B4 LDA mB4,X ;
B8EC: 29 80 AND #$80
B8EE: F0 0E BEQ $B8FE ;
B8F0: A5 81 LDA m81 ;
B8F2: 38 SEC
B8F3: E9 06 SBC #$06
B8F5: 85 81 STA m81 ;
B8F7: 30 26 BMI $B91F ;
B8F9: C9 09 CMP #$09
B8FB: B0 22 BCS $B91F ;
B8FD: 60 RTS
B8FE: B5 B4 LDA mB4,X ;
B900: 29 40 AND #$40
B902: F0 0B BEQ $B90F ;
B904: A5 81 LDA m81 ;
B906: 18 CLC
B907: 69 08 ADC #$08
B909: 85 81 STA m81 ;
B90B: 10 12 BPL $B91F ;
B90D: 30 10 BMI $B91F ;
B90F: B5 B4 LDA mB4,X ;
B911: 29 20 AND #$20
B913: F0 05 BEQ $B91A ;
B915: C0 9F CPY #$9F
B917: 90 06 BCC $B91F ;
B919: 60 RTS
B91A: C0 91 CPY #$91
B91C: B0 01 BCS $B91F ;
B91E: 60 RTS
B91F: E6 81 INC m81 ;
B921: E6 81 INC m81 ;
B923: A5 81 LDA m81 ;
B925: 30 0C BMI $B933 ;
B927: C9 30 CMP #$30
B929: 90 12 BCC $B93D ;
B92B: C9 50 CMP #$50
B92D: 90 22 BCC $B951 ;
B92F: C9 70 CMP #$70
B931: 90 14 BCC $B947 ;
B933: A9 70 LDA #$70
B935: 85 E7 STA mE7 ;
B937: A9 03 LDA #$03
B939: 85 E6 STA mE6 ;
B93B: D0 21 BNE $B95E ;
B93D: A9 10 LDA #$10
B93F: 85 E7 STA mE7 ;
B941: A9 C0 LDA #$C0
B943: 85 E6 STA mE6 ;
B945: D0 17 BNE $B95E ;
B947: A9 50 LDA #$50
B949: 85 E7 STA mE7 ;
B94B: A9 C0 LDA #$C0
B94D: 85 E6 STA mE6 ;
B94F: D0 08 BNE $B959 ;
B951: A9 30 LDA #$30
B953: 85 E7 STA mE7 ;
B955: A9 03 LDA #$03
B957: 85 E6 STA mE6 ;
B959: 18 CLC
B95A: 98 TYA
B95B: 69 10 ADC #$10
B95D: A8 TAY
B95E: 84 E4 STY mE4 ;
B960: 18 CLC
B961: A5 E7 LDA mE7 ;
B963: 69 07 ADC #$07
B965: C5 81 CMP m81 ;
B967: B0 1F BCS $B988 ;
B969: 18 CLC
B96A: 69 08 ADC #$08
B96C: A4 E7 LDY mE7 ;
B96E: C0 30 CPY #$30
B970: 90 0F BCC $B981 ;
B972: C0 50 CPY #$50
B974: 90 04 BCC $B97A ;
B976: C0 70 CPY #$70
B978: 90 07 BCC $B981 ;
B97A: 06 E6 ASL mE6 ;
B97C: 06 E6 ASL mE6 ;
B97E: 4C 65 B9 JMP $B965 ;
B981: 46 E6 LSR mE6 ;
B983: 46 E6 LSR mE6 ;
B985: 4C 65 B9 JMP $B965 ;
B988: A0 00 LDY #$00
B98A: 84 E5 STY mE5 ;
B98C: B1 E4 LDA (mE4),Y ;
B98E: 45 E6 EOR mE6 ;
B990: A0 00 LDY #$00
B992: 91 E4 STA (mE4),Y ;
B994: A5 ED LDA mED ;
B996: C9 00 CMP #$00
B998: F0 06 BEQ $B9A0 ;
B99A: 20 FB B9 JSR $B9FB ;
B99D: 4C A3 B9 JMP $B9A3 ;
B9A0: 20 DE B9 JSR $B9DE ;
B9A3: 60 RTS
B9A4: A0 02 LDY #$02
B9A6: B9 BB 00 LDA mBB,Y ;
B9A9: C9 4B CMP #$4B
B9AB: F0 09 BEQ $B9B6 ;
B9AD: 18 CLC
B9AE: 69 08 ADC #$08
B9B0: 99 BB 00 STA mBB,Y ;
B9B3: E6 E2 INC mE2 ;
B9B5: 60 RTS
B9B6: A9 03 LDA #$03
B9B8: 99 BB 00 STA mBB,Y ;
B9BB: 88 DEY
B9BC: 88 DEY
B9BD: 30 F4 BMI $B9B3 ;
B9BF: 10 E5 BPL $B9A6 ;
B9C1: A0 02 LDY #$02
B9C3: B9 BF 00 LDA mBF,Y ;
B9C6: C9 4B CMP #$4B
B9C8: F0 09 BEQ $B9D3 ;
B9CA: 18 CLC
B9CB: 69 08 ADC #$08
B9CD: 99 BF 00 STA mBF,Y ;
B9D0: E6 E3 INC mE3 ;
B9D2: 60 RTS
B9D3: A9 03 LDA #$03
B9D5: 99 BF 00 STA mBF,Y ;
B9D8: 88 DEY
B9D9: 88 DEY
B9DA: 30 F4 BMI $B9D0 ;
B9DC: 10 E5 BPL $B9C3 ;
B9DE: A0 02 LDY #$02
B9E0: B9 BB 00 LDA mBB,Y ;
B9E3: C9 03 CMP #$03
B9E5: F0 09 BEQ $B9F0 ;
B9E7: 38 SEC
B9E8: E9 08 SBC #$08
B9EA: 99 BB 00 STA mBB,Y ;
B9ED: C6 E2 DEC mE2 ;
B9EF: 60 RTS
B9F0: A9 4B LDA #$4B
B9F2: 99 BB 00 STA mBB,Y ;
B9F5: 88 DEY
B9F6: 88 DEY
B9F7: 30 F4 BMI $B9ED ;
B9F9: 10 E5 BPL $B9E0 ;
B9FB: A0 02 LDY #$02
B9FD: B9 BF 00 LDA mBF,Y ;
BA00: C9 03 CMP #$03
BA02: F0 09 BEQ $BA0D ;
BA04: 38 SEC
BA05: E9 08 SBC #$08
BA07: 99 BF 00 STA mBF,Y ;
BA0A: C6 E3 DEC mE3 ;
BA0C: 60 RTS
BA0D: A9 4B LDA #$4B
BA0F: 99 BF 00 STA mBF,Y ;
BA12: 88 DEY
BA13: 88 DEY
BA14: 30 F4 BMI $BA0A ;
BA16: 10 E5 BPL $B9FD ;
BA18: A0 01 LDY #$01
BA1A: 84 F3 STY mF3 ;
BA1C: 84 C8 STY mC8 ;
BA1E: A4 F0 LDY mF0 ;
BA20: D0 49 BNE $BA6B ;
BA22: A5 F4 LDA mF4 ;
BA24: F0 0C BEQ $BA32 ;
BA26: A5 C7 LDA mC7 ;
BA28: 29 07 AND #$07
BA2A: C9 01 CMP #$01
BA2C: D0 04 BNE $BA32 ;
BA2E: A9 01 LDA #$01
BA30: 85 F0 STA mF0 ;
BA32: A6 ED LDX mED ;
BA34: E0 00 CPX #$00
BA36: D0 15 BNE $BA4D ;
BA38: A5 C7 LDA mC7 ;
BA3A: 29 08 AND #$08
BA3C: D0 0E BNE $BA4C ;
BA3E: C6 C7 DEC mC7 ;
BA40: A5 C7 LDA mC7 ;
BA42: 09 08 ORA #$08
BA44: 85 C7 STA mC7 ;
BA46: A9 02 LDA #$02
BA48: 95 B0 STA mB0,X ;
BA4A: D0 12 BNE $BA5E ;
BA4C: 60 RTS
BA4D: A5 C7 LDA mC7 ;
BA4F: 30 19 BMI $BA6A ;
BA51: A5 C7 LDA mC7 ;
BA53: 38 SEC
BA54: E9 10 SBC #$10
BA56: 09 80 ORA #$80
BA58: 85 C7 STA mC7 ;
BA5A: A9 02 LDA #$02
BA5C: 95 B0 STA mB0,X ;
BA5E: A5 C7 LDA mC7 ;
BA60: 29 03 AND #$03
BA62: F0 07 BEQ $BA6B ;
BA64: A5 C7 LDA mC7 ;
BA66: 29 30 AND #$30
BA68: F0 01 BEQ $BA6B ;
BA6A: 60 RTS
BA6B: A9 01 LDA #$01
BA6D: 85 F0 STA mF0 ;
BA6F: 85 C8 STA mC8 ;
BA71: A9 BE LDA #$BE
BA73: 85 C6 STA mC6 ;
BA75: A9 0A LDA #$0A
BA77: 85 C5 STA mC5 ;
BA79: A9 00 LDA #$00
BA7B: 85 EA STA mEA ;
BA7D: 60 RTS
BA7E: A5 E8 LDA mE8 ;
BA80: C9 07 CMP #$07
BA82: D0 01 BNE $BA85 ;
BA84: 60 RTS
BA85: A5 D5 LDA mD5 ;
BA87: 10 11 BPL $BA9A ;
BA89: C9 A8 CMP #$A8
BA8B: 90 0D BCC $BA9A ;
BA8D: A9 FF LDA #$FF
BA8F: 85 D5 STA mD5 ;
BA91: A9 BE LDA #$BE
BA93: 85 C6 STA mC6 ;
BA95: A9 0A LDA #$0A
BA97: 85 C5 STA mC5 ;
BA99: 60 RTS
BA9A: A5 F5 LDA mF5 ;
BA9C: C9 03 CMP #$03
BA9E: F0 49 BEQ $BAE9 ;
BAA0: C9 01 CMP #$01
BAA2: F0 0E BEQ $BAB2 ;
BAA4: A5 E8 LDA mE8 ;
BAA6: C9 09 CMP #$09
BAA8: D0 04 BNE $BAAE ;
BAAA: A9 00 LDA #$00
BAAC: 85 D7 STA mD7 ;
BAAE: 24 32 BIT CXP0FB ;
BAB0: 30 37 BMI $BAE9 ;
BAB2: A5 F1 LDA mF1 ;
BAB4: C9 01 CMP #$01
BAB6: D0 0B BNE $BAC3 ;
BAB8: E6 D6 INC mD6 ;
BABA: A5 D7 LDA mD7 ;
BABC: C9 01 CMP #$01
BABE: D0 02 BNE $BAC2 ;
BAC0: E6 D6 INC mD6 ;
BAC2: 60 RTS
BAC3: C9 00 CMP #$00
BAC5: D0 17 BNE $BADE ;
BAC7: A5 D7 LDA mD7 ;
BAC9: F0 08 BEQ $BAD3 ;
BACB: E6 DA INC mDA ;
BACD: A5 DA LDA mDA ;
BACF: C9 20 CMP #$20
BAD1: F0 16 BEQ $BAE9 ;
BAD3: C6 D5 DEC mD5 ;
BAD5: A5 D7 LDA mD7 ;
BAD7: C9 01 CMP #$01
BAD9: D0 02 BNE $BADD ;
BADB: C6 D5 DEC mD5 ;
BADD: 60 RTS
BADE: C6 D6 DEC mD6 ;
BAE0: A5 D7 LDA mD7 ;
BAE2: C9 01 CMP #$01
BAE4: D0 02 BNE $BAE8 ;
BAE6: C6 D6 DEC mD6 ;
BAE8: 60 RTS
BAE9: A5 F1 LDA mF1 ;
BAEB: D0 15 BNE $BB02 ;
BAED: E6 D5 INC mD5 ;
BAEF: E6 D5 INC mD5 ;
BAF1: 20 A5 BC JSR GetRandom ;
BAF4: 0A ASL A
BAF5: 90 02 BCC $BAF9 ;
BAF7: B0 1D BCS $BB16 ;
BAF9: A9 01 LDA #$01
BAFB: 85 F1 STA mF1 ;
BAFD: A9 00 LDA #$00
BAFF: 85 0B STA REFP0 ;
BB01: 60 RTS
BB02: 4A LSR A
BB03: 90 1A BCC $BB1F ;
BB05: C6 D6 DEC mD6 ;
BB07: C6 D6 DEC mD6 ;
BB09: 20 A5 BC JSR GetRandom ;
BB0C: 0A ASL A
BB0D: 90 07 BCC $BB16 ;
BB0F: A9 00 LDA #$00
BB11: 85 F1 STA mF1 ;
BB13: 85 DA STA mDA ;
BB15: 60 RTS
BB16: A9 02 LDA #$02
BB18: 85 F1 STA mF1 ;
BB1A: A9 08 LDA #$08
BB1C: 85 0B STA REFP0 ;
BB1E: 60 RTS
BB1F: E6 D6 INC mD6 ;
BB21: E6 D6 INC mD6 ;
BB23: 20 A5 BC JSR GetRandom ;
BB26: 0A ASL A
BB27: 90 D0 BCC $BAF9 ;
BB29: A9 00 LDA #$00
BB2B: 85 DA STA mDA ;
BB2D: 85 F1 STA mF1 ;
BB2F: 60 RTS
BB30: A4 D7 LDY mD7 ;
BB32: C0 01 CPY #$01
BB34: F0 1B BEQ $BB51 ;
BB36: C0 03 CPY #$03
BB38: F0 50 BEQ $BB8A ;
BB3A: A5 E8 LDA mE8 ;
BB3C: C9 08 CMP #$08
BB3E: D0 4A BNE $BB8A ;
BB40: 20 A5 BC JSR GetRandom ;
BB43: 29 0F AND #$0F
BB45: C9 06 CMP #$06
BB47: B0 37 BCS $BB80 ;
BB49: A9 3E LDA #$3E
BB4B: 85 D1 STA mD1 ;
BB4D: A0 01 LDY #$01
BB4F: 84 D7 STY mD7 ;
BB51: A5 D6 LDA mD6 ;
BB53: 30 0A BMI $BB5F ;
BB55: C9 10 CMP #$10
BB57: B0 0E BCS $BB67 ;
BB59: A9 10 LDA #$10
BB5B: 85 D6 STA mD6 ;
BB5D: D0 08 BNE $BB67 ;
BB5F: C9 89 CMP #$89
BB61: 90 04 BCC $BB67 ;
BB63: A9 89 LDA #$89
BB65: 85 D6 STA mD6 ;
BB67: A4 E8 LDY mE8 ;
BB69: C0 06 CPY #$06
BB6B: D0 08 BNE $BB75 ;
BB6D: A0 00 LDY #$00
BB6F: 84 D7 STY mD7 ;
BB71: A0 88 LDY #$88
BB73: 84 D1 STY mD1 ;
BB75: 20 A5 BC JSR GetRandom ;
BB78: 29 0F AND #$0F
BB7A: C9 08 CMP #$08
BB7C: D0 07 BNE $BB85 ;
BB7E: F0 0F BEQ $BB8F ;
BB80: A0 03 LDY #$03
BB82: 84 D7 STY mD7 ;
BB84: 60 RTS
BB85: A9 01 LDA #$01
BB87: 85 F5 STA mF5 ;
BB89: 60 RTS
BB8A: A9 02 LDA #$02
BB8C: 85 F5 STA mF5 ;
BB8E: 60 RTS
BB8F: A9 03 LDA #$03
BB91: 85 F5 STA mF5 ;
BB93: 60 RTS
BB94: 20 44 BF JSR $BF44 ;
BB97: 20 9B BC JSR $BC9B ;
BB9A: 85 2B STA HMCLR ;
BB9C: 85 B3 STA mB3 ;
BB9E: 20 16 BF JSR $BF16 ;
BBA1: 20 24 BF JSR $BF24 ;
BBA4: A5 B3 LDA mB3 ;
BBA6: F0 0C BEQ $BBB4 ;
BBA8: AD 82 02 LDA SWCHB ;
BBAB: 29 01 AND #$01
BBAD: F0 17 BEQ $BBC6 ;
BBAF: 4A LSR A
BBB0: 85 B3 STA mB3 ;
BBB2: F0 12 BEQ $BBC6 ;
BBB4: A5 3C LDA INPT4 ;
BBB6: 30 0E BMI $BBC6 ;
BBB8: A0 00 LDY #$00
BBBA: C8 INY
BBBB: A5 3C LDA INPT4 ;
BBBD: 10 FB BPL $BBBA ;
BBBF: 20 9B BC JSR $BC9B ;
BBC2: 20 44 BF JSR $BF44 ;
BBC5: 60 RTS
BBC6: AD 82 02 LDA SWCHB ;
BBC9: 29 02 AND #$02
BBCB: D0 10 BNE $BBDD ;
BBCD: E6 B2 INC mB2 ;
BBCF: A5 B2 LDA mB2 ;
BBD1: 29 0F AND #$0F
BBD3: D0 08 BNE $BBDD ;
BBD5: E6 F4 INC mF4 ;
BBD7: A5 F4 LDA mF4 ;
BBD9: 29 01 AND #$01
BBDB: 85 F4 STA mF4 ;
BBDD: A9 03 LDA #$03
BBDF: 85 04 STA NUSIZ0 ;
BBE1: A9 01 LDA #$01
BBE3: 85 05 STA NUSIZ1 ;
BBE5: E6 F6 INC mF6 ;
BBE7: A5 F6 LDA mF6 ;
BBE9: 85 06 STA COLUP0 ;
BBEB: 85 07 STA COLUP1 ;
BBED: D0 0C BNE $BBFB ;
BBEF: E6 81 INC m81 ;
BBF1: A5 81 LDA m81 ;
BBF3: C9 03 CMP #$03
BBF5: D0 04 BNE $BBFB ;
BBF7: 20 44 BF JSR $BF44 ;
BBFA: 60 RTS
BBFB: A2 00 LDX #$00
BBFD: A9 40 LDA #$40
BBFF: 20 90 BC JSR $BC90 ;
BC02: A2 01 LDX #$01
BC04: A9 42 LDA #$42
BC06: 20 90 BC JSR $BC90 ;
BC09: 20 33 BF JSR $BF33 ;
BC0C: A9 03 LDA #$03
BC0E: 85 26 STA VDELP1 ;
BC10: 85 02 STA WSYNC ;
BC12: 85 2A STA HMOVE ;
BC14: 20 81 BC JSR $BC81 ;
BC17: 20 88 BC JSR $BC88 ;
BC1A: 85 02 STA WSYNC ;
BC1C: A0 09 LDY #$09
BC1E: 20 4F BC JSR $BC4F ;
BC21: 85 02 STA WSYNC ;
BC23: 85 02 STA WSYNC ;
BC25: 85 02 STA WSYNC ;
BC27: A0 13 LDY #$13
BC29: 20 4F BC JSR $BC4F ;
BC2C: AD CA BC LDA $BCCA ;
BC2F: A0 08 LDY #$08
BC31: 99 C0 00 STA mC0,Y ;
BC34: 88 DEY
BC35: 88 DEY
BC36: 10 F9 BPL $BC31 ;
BC38: 20 88 BC JSR $BC88 ;
BC3B: A0 07 LDY #$07
BC3D: A5 F4 LDA mF4 ;
BC3F: 0A ASL A
BC40: AA TAX
BC41: BD 5E BF LDA $BF5E,X ;
BC44: 85 C4 STA mC4 ;
BC46: 20 5A BC JSR $BC5A ;
BC49: 20 44 BF JSR $BF44 ;
BC4C: 4C 9E BB JMP $BB9E ;
BC4F: A2 09 LDX #$09
BC51: B9 4A BF LDA $BF4A,Y ;
BC54: 95 C0 STA mC0,X ;
BC56: 88 DEY
BC57: CA DEX
BC58: 10 F7 BPL $BC51 ;
BC5A: A0 07 LDY #$07
BC5C: 85 02 STA WSYNC ;
BC5E: B1 C8 LDA (mC8),Y ;
BC60: AA TAX
BC61: 85 02 STA WSYNC ;
BC63: 85 2A STA HMOVE ;
BC65: 68 PLA
BC66: 48 PHA
BC67: EA NOP
BC68: B1 C2 LDA (mC2),Y ;
BC6A: 85 1C STA GRP1 ;
BC6C: B1 C0 LDA (mC0),Y ;
BC6E: 85 1B STA GRP0 ;
BC70: A5 05 LDA CXM1FB ;
BC72: B1 C6 LDA (mC6),Y ;
BC74: 85 1C STA GRP1 ;
BC76: B1 C4 LDA (mC4),Y ;
BC78: 85 1B STA GRP0 ;
BC7A: 86 1B STX GRP0 ;
BC7C: 85 2B STA HMCLR ;
BC7E: 88 DEY
BC7F: 10 DD BPL $BC5E ;
BC81: A9 00 LDA #$00
BC83: 85 1C STA GRP1 ;
BC85: 85 1B STA GRP0 ;
BC87: 60 RTS
BC88: A0 20 LDY #$20
BC8A: 85 02 STA WSYNC ;
BC8C: 88 DEY
BC8D: D0 FB BNE $BC8A ;
BC8F: 60 RTS
BC90: 20 5C B7 JSR $B75C ;
BC93: 20 27 B6 JSR $B627 ;
BC96: 85 02 STA WSYNC ;
BC98: 85 2A STA HMOVE ;
BC9A: 60 RTS
BC9B: A9 00 LDA #$00
BC9D: A2 F3 LDX #$F3
BC9F: 95 00 STA VSYNC,X ;
BCA1: CA DEX
BCA2: D0 FB BNE $BC9F ;
BCA4: 60 RTS
Random number generator
GetRandom:
BCA5: A5 DD LDA mDD ;
BCA7: 85 DF STA mDF ;
BCA9: A5 DE LDA mDE ;
BCAB: 85 E0 STA mE0 ;
BCAD: 0A ASL A
BCAE: 26 DD ROL mDD ;
BCB0: 0A ASL A
BCB1: 26 DD ROL mDD ;
BCB3: 18 CLC
BCB4: 65 E0 ADC mE0 ;
BCB6: 85 DE STA mDE ;
BCB8: A9 00 LDA #$00
BCBA: 65 DD ADC mDD ;
BCBC: 18 CLC
BCBD: 65 DF ADC mDF ;
BCBF: 85 DD STA mDD ;
BCC1: A9 00 LDA #$00
BCC3: E6 DE INC mDE ;
BCC5: 65 DD ADC mDD ;
BCC7: 85 DD STA mDD ;
BCC9: 60 RTS
BCCA: 53
BCCB: B0 7C
BCCD: 7C
BCCE: 44
BCCF: 44
BCD0: 44
BCD1: 44
BCD2: 44
BCD3: 00
BCD4: F8
BCD5: F8
BCD6: 08
BCD7: 08
BCD8: F8
BCD9: 80
BCDA: F8
BCDB: 00
BCDC: FA
BCDD: FA
BCDE: 8B
BCDF: 9A
BCE0: 82
BCE1: 8B
BCE2: F8
BCE3: 00
BCE4: A2 A2
BCE6: A2 AA
BCE8: B6 A2
BCEA: 00
BCEB: 00
BCEC: EE 82 82
BCEF: CE 88 EE
BCF2: 00
BCF3: 00
BCF4: 00
BCF5: 00
BCF6: 00
BCF7: 00
BCF8: 0F
BCF9: 0F
BCFA: 0F
BCFB: 0D 0B 09
BCFE: 07
BCFF: 00
BD00: 00
BD01: 00
BD02: 18
BD03: D0 70
BD05: 20 A0 F8
BD08: 28
BD09: 20 00 00
BD0C: 00
BD0D: 00
BD0E: 00
BD0F: 00
BD10: 00
BD11: 00
BD12: 00
BD13: 00
BD14: 00
BD15: 00
BD16: 00
BD17: 00
BD18: 00
BD19: 00
BD1A: 00
BD1B: 00
BD1C: 00
BD1D: 00
BD1E: 00
BD1F: 00
BD20: 00
BD21: 00
BD22: 00
BD23: 00
BD24: 00
BD25: 00
BD26: 00
BD27: 00
BD28: 00
BD29: 00
BD2A: 00
BD2B: 00
BD2C: 00
BD2D: 00
BD2E: 00
BD2F: 00
BD30: 00
BD31: 00
BD32: 00
BD33: 00
BD34: 00
BD35: 00
BD36: 00
BD37: 00
BD38: 00
BD39: 00
BD3A: 00
BD3B: 00
BD3C: 00
BD3D: 00
BD3E: 00
BD3F: 00
BD40: 00
BD41: 00
BD42: 00
BD43: 00
BD44: 00
BD45: 00
BD46: 00
BD47: 00
BD48: 00
BD49: 00
BD4A: 00
BD4B: 00
BD4C: 00
BD4D: 00
BD4E: 00
BD4F: 00
BD50: 00
BD51: 00
BD52: 00
BD53: 00
BD54: 00
BD55: 00
BD56: 00
BD57: 00
BD58: 00
BD59: 00
BD5A: 00
BD5B: 00
BD5C: 00
BD5D: 00
BD5E: 00
BD5F: 00
BD60: 00
BD61: 00
BD62: 00
BD63: 00
BD64: 00
BD65: 00
BD66: 00
BD67: 00
BD68: 00
BD69: 00
BD6A: 00
BD6B: 00
BD6C: 00
BD6D: 00
BD6E: 00
BD6F: 00
BD70: 00
BD71: 00
BD72: 00
BD73: 00
BD74: 00
BD75: 00
BD76: 00
BD77: 00
BD78: 00
BD79: 00
BD7A: 00
BD7B: 00
BD7C: 00
BD7D: 00
BD7E: 00
BD7F: 00
BD80: 00
BD81: 00
BD82: 00
BD83: 00
BD84: 00
BD85: 00
BD86: 00
BD87: 00
BD88: 00
BD89: 00
BD8A: 00
BD8B: 00
BD8C: 00
BD8D: 00
BD8E: 00
BD8F: 00
BD90: 00
BD91: 00
BD92: 00
BD93: 00
BD94: 00
BD95: 00
BD96: 00
BD97: 00
BD98: 00
BD99: 00
BD9A: 00
BD9B: 00
BD9C: 00
BD9D: 00
BD9E: 00
BD9F: 00
BDA0: 00
BDA1: 00
BDA2: 00
BDA3: 00
BDA4: 00
BDA5: 00
BDA6: 00
BDA7: 00
BDA8: 00
BDA9: 00
BDAA: 00
BDAB: 00
BDAC: 00
BDAD: 00
BDAE: 00
BDAF: 00
BDB0: 00
BDB1: 00
BDB2: 00
BDB3: 00
BDB4: 00
BDB5: 00
BDB6: 00
BDB7: 00
BDB8: 00
BDB9: 00
BDBA: 00
BDBB: 00
BDBC: 00
BDBD: 00
BDBE: 00
BDBF: 00
BDC0: 00
BDC1: 00
BDC2: 00
BDC3: 00
BDC4: 00
BDC5: 00
BDC6: 00
BDC7: 00
BDC8: 00
BDC9: 00
BDCA: 00
BDCB: 00
BDCC: 00
BDCD: 00
BDCE: 00
BDCF: 00
BDD0: 00
BDD1: 00
BDD2: 00
BDD3: 00
BDD4: 00
BDD5: 00
BDD6: 00
BDD7: 00
BDD8: 00
BDD9: 00
BDDA: 00
BDDB: 00
BDDC: 00
BDDD: 00
BDDE: 00
BDDF: 00
BDE0: 00
BDE1: 00
BDE2: 00
BDE3: 00
BDE4: 00
BDE5: 00
BDE6: 00
BDE7: 00
BDE8: 00
BDE9: 00
BDEA: 00
BDEB: 00
BDEC: 00
BDED: 00
BDEE: 00
BDEF: 00
BDF0: 00
BDF1: 00
BDF2: 00
BDF3: 00
BDF4: 00
BDF5: 00
BDF6: 00
BDF7: 00
BDF8: 00
BDF9: 00
BDFA: 00
BDFB: 00
BDFC: 00
BDFD: 00
BDFE: 00
BDFF: 00
BE00: 00
BE01: 00
BE02: C0 58
BE04: 70 20
BE06: 28
BE07: F8
BE08: A0 20
BE0A: 00
BE0B: 00
BE0C: 00
BE0D: 00
BE0E: 00
BE0F: 00
BE10: 00
BE11: 00
BE12: 00
BE13: 00
BE14: 00
BE15: 00
BE16: 00
BE17: 00
BE18: 00
BE19: 00
BE1A: 00
BE1B: 00
BE1C: 00
BE1D: 00
BE1E: 00
BE1F: 00
BE20: 00
BE21: 00
BE22: 00
BE23: 00
BE24: 00
BE25: 00
BE26: 00
BE27: 00
BE28: 00
BE29: 00
BE2A: 00
BE2B: 00
BE2C: 00
BE2D: 00
BE2E: 00
BE2F: 00
BE30: 00
BE31: 00
BE32: 00
BE33: 00
BE34: 00
BE35: 00
BE36: 00
BE37: 00
BE38: 00
BE39: 00
BE3A: 00
BE3B: 00
BE3C: 00
BE3D: 00
BE3E: 00
BE3F: 00
BE40: 00
BE41: 00
BE42: 00
BE43: 00
BE44: 00
BE45: 00
BE46: 00
BE47: 00
BE48: 00
BE49: 00
BE4A: 00
BE4B: 00
BE4C: 00
BE4D: 00
BE4E: 00
BE4F: 00
BE50: 00
BE51: 00
BE52: 00
BE53: 00
BE54: 00
BE55: 00
BE56: 00
BE57: 00
BE58: 00
BE59: 00
BE5A: 00
BE5B: 00
BE5C: 00
BE5D: 00
BE5E: 00
BE5F: 00
BE60: 00
BE61: 00
BE62: 00
BE63: 00
BE64: 00
BE65: 00
BE66: 00
BE67: 00
BE68: 00
BE69: 00
BE6A: 00
BE6B: 00
BE6C: 00
BE6D: 00
BE6E: 00
BE6F: 00
BE70: 00
BE71: 00
BE72: 00
BE73: 00
BE74: 00
BE75: 00
BE76: 00
BE77: 00
BE78: 00
BE79: 00
BE7A: 00
BE7B: 00
BE7C: 00
BE7D: 00
BE7E: 00
BE7F: 00
BE80: 00
BE81: 00
BE82: 00
BE83: 00
BE84: 00
BE85: 00
BE86: 00
BE87: 00
BE88: 00
BE89: 00
BE8A: 00
BE8B: 00
BE8C: 00
BE8D: 00
BE8E: 00
BE8F: 00
BE90: 00
BE91: 00
BE92: 00
BE93: 00
BE94: 00
BE95: 00
BE96: 00
BE97: 00
BE98: 00
BE99: 00
BE9A: 00
BE9B: 00
BE9C: 00
BE9D: 00
BE9E: 00
BE9F: 00
BEA0: 00
BEA1: 00
BEA2: 00
BEA3: 00
BEA4: 00
BEA5: 00
BEA6: 00
BEA7: 00
BEA8: 00
BEA9: 00
BEAA: 00
BEAB: 00
BEAC: 00
BEAD: 00
BEAE: 00
BEAF: 00
BEB0: 00
BEB1: 00
BEB2: 00
BEB3: 00
BEB4: 00
BEB5: 00
BEB6: 00
BEB7: 00
BEB8: 00
BEB9: 00
BEBA: 00
BEBB: 00
BEBC: 00
BEBD: 00
BEBE: 00
BEBF: 00
BEC0: 00
BEC1: 00
BEC2: 00
BEC3: 00
BEC4: 00
BEC5: 00
BEC6: 00
BEC7: 00
BEC8: 00
BEC9: 00
BECA: 00
BECB: 00
BECC: 00
BECD: 00
BECE: 00
BECF: 00
BED0: 00
BED1: 00
BED2: 00
BED3: 00
BED4: 00
BED5: 00
BED6: 00
BED7: 00
BED8: 00
BED9: 00
BEDA: 00
BEDB: 00
BEDC: 00
BEDD: 00
BEDE: 00
BEDF: 00
BEE0: 00
BEE1: 00
BEE2: 00
BEE3: 00
BEE4: 00
BEE5: 00
BEE6: 00
BEE7: 00
BEE8: 00
BEE9: 00
BEEA: 00
BEEB: 00
BEEC: 00
BEED: 00
BEEE: 00
BEEF: 00
BEF0: 00
BEF1: 00
BEF2: 00
BEF3: 00
BEF4: 00
BEF5: 00
BEF6: 00
BEF7: 00
BEF8: 00
BEF9: 00
BEFA: 00
BEFB: 00
BEFC: 00
BEFD: 00
BEFE: 00
BEFF: 00
BF00: 00
BF01: 00
BF02: 00
BF03: 00
BF04: 00
BF05: 00
BF06: 00
BF07: 00
BF08: 00
BF09: 00
BF0A: 00
BF0B: 00
BF0C: 66 24
BF0E: 3C
BF0F: 18
BF10: 7C
BF11: 54
BF12: 66 00
BF14: 00
BF15: 00
BF16: A9 02 LDA #$02
BF18: 85 02 STA WSYNC ;
BF1A: 85 01 STA VBLANK ;
BF1C: 85 00 STA VSYNC ;
BF1E: A9 29 LDA #$29 ; Set
BF20: 8D 95 02 STA TIM8T ;
BF23: 60 RTS
BF24: AD 84 02 LDA INTIM ;
BF27: D0 FB BNE $BF24 ;
BF29: 85 02 STA WSYNC ;
BF2B: 85 00 STA VSYNC ;
BF2D: A9 30 LDA #$30
BF2F: 8D 96 02 STA TIM64T ;
BF32: 60 RTS
BF33: AD 84 02 LDA INTIM ;
BF36: D0 FB BNE $BF33 ;
BF38: 85 02 STA WSYNC ;
BF3A: 85 01 STA VBLANK ;
BF3C: A9 11 LDA #$11
BF3E: 8D 97 02 STA TIM1024T ;
BF41: 85 02 STA WSYNC ;
BF43: 60 RTS
BF44: AD 84 02 LDA INTIM ;
BF47: D0 FB BNE $BF44 ;
BF49: 60 RTS
BF4A: CC BC D4
BF4D: BC DC BC
BF50: E4 BC
BF52: EC BC 5B
BF55: B0 0B
BF57: B0 4B
BF59: B0 43
BF5B: B0 13
BF5D: B0 13
BF5F: B0 0B
BF61: B0 00
BF63: 00
BF64: 12
BF65: 13
BF66: 12
BF67: 1D 1D 13
BF6A: 12
BF6B: 13
BF6C: 12
BF6D: 00
BF6E: 00
BF6F: 0F
BF70: 0B
BF71: 07
BF72: 0F
BF73: 0B
BF74: 07
BF75: 0F
BF76: 0B
BF77: 07
BF78: 00
BF79: 00
BF7A: 0C
BF7B: 0C
BF7C: 0C
BF7D: 0C
BF7E: 0C
BF7F: 0C
BF80: 0C
BF81: 0C
BF82: 0C
BF83: 00
BF84: 00
BF85: 03
BF86: 04
BF87: 05 06
BF89: 07
BF8A: 08
BF8B: 09 0A
BF8D: 0B
BF8E: 00
BF8F: 00
BF90: 0F
BF91: 0F
BF92: 0F
BF93: 0F
BF94: 0F
BF95: 0F
BF96: 0F
BF97: 0F
BF98: 0F
BF99: 00
BF9A: 00
BF9B: 04
BF9C: 04
BF9D: 04
BF9E: 04
BF9F: 04
BFA0: 04
BFA1: 04
BFA2: 04
BFA3: 04
BFA4: 00
BFA5: 00
BFA6: 0D 0C 0B
BFA9: 0A
BFAA: 09 0A
BFAC: 0B
BFAD: 0C
BFAE: 0D 00 00
BFB1: 05 0A
BFB3: 0F
BFB4: 05 0A
BFB6: 0F
BFB7: 0F
BFB8: 0A
BFB9: 0F
BFBA: 00
BFBB: 00
BFBC: 0C
BFBD: 0B
BFBE: 0A
BFBF: 09 08
BFC1: 06 05
BFC3: 04
BFC4: 01 00
BFC6: 00
BFC7: 1D 1D 1D
BFCA: 18
BFCB: 18
BFCC: 1F
BFCD: 1F
BFCE: 1F
BFCF: 1F
BFD0: 00
BFD1: 00
BFD2: 05 07
BFD4: 09 0B
BFD6: 0C
BFD7: 0D 0E 0F
BFDA: 0F
BFDB: 00
BFDC: 00
BFDD: 01 01
BFDF: 01 01
BFE1: 01 08
BFE3: 08
BFE4: 08
BFE5: 08
BFE6: 00
BFE7: 00
BFE8: 17
BFE9: 18
BFEA: 19 18 17
BFED: 19 18 17
BFF0: 19 00 00
BFF3: 00
BFF4: 00
BFF5: 00
BFF6: 00
BFF7: 0A
BFF8: 00
BFF9: 05
Vectors
BFFA: 0A 0F
BFFC: 00 B0
BFFE: 00 B0