Contra Bank 5 0x14000 - 0x17FFF Mapper 1 (21 00) (0010 0001 0000 0000) -------- 14000: 05 Bank Number ---- 14001: Compressed Graphics Data - Code 05 (A60 bytes) 14A61: Compressed Graphics Data - Code 07 (97F bytes) 153E0: Compressed Graphics Data - Code 0B (F3B bytes) 1631B: Compressed Graphics Data - Code 19 (1E5 bytes) 16500: Compressed Graphics Data - Code 1A (314 bytes) 16814: Compressed Graphics Data - Code 14 (5CB bytes) 16DDF: Compressed Graphics Data - Code 17 (52E bytes) 1730D: Compressed Graphics Data - Code 18 (51 bytes) ---- 1735E: A5 F5 LDA $F5 ; Controller 1 Buttons Pressed 17360: 29 30 AND #$30 ; keep bits ..xx .... 17362: D0 6B BNE $173CF 17364: E6 2E INC $2E 17366: D0 02 BNE $1736A 17368: C6 2E DEC $2E 1736A: A2 01 LDX #$01 ; X = 01 1736C: A5 1A LDA $1A ; Permanent Frame Counter 1736E: 4A LSR 1736F: 90 2E BCC $1739F 17371: B5 5A LDA $5A,X 17373: D0 28 BNE $1739D 17375: A5 30 LDA $30 ; Current Level 17377: 0A ASL 17378: 0A ASL 17379: 85 08 STA $08 1737B: 8A TXA 1737C: 0A ASL 1737D: 65 08 ADC $08 1737F: A8 TAY 17380: B9 D2B3 LDA $B3D2,Y 17383: 85 08 STA $08 17385: B9 D3B3 LDA $B3D3,Y 17388: 85 09 STA $09 1738A: B4 5E LDY $5E,X 1738C: B1 08 LDA ($08),Y 1738E: C9 FF CMP #$FF 17390: F0 3D BEQ $173CF 17392: 95 5C STA $5C,X 17394: C8 INY 17395: B1 08 LDA ($08),Y 17397: 95 5A STA $5A,X 17399: C8 INY 1739A: 98 TYA 1739B: 95 5E STA $5E,X 1739D: D6 5A DEC $5A,X 1739F: B5 5C LDA $5C,X 173A1: 95 F5 STA $F5,X 173A3: 95 F1 STA $F1,X 173A5: A5 2E LDA $2E 173A7: C9 50 CMP #$50 173A9: 90 20 BCC $173CB 173AB: B5 AA LDA $AA,X 173AD: 29 0F AND #$0F ; keep bits .... xxxx 173AF: C9 01 CMP #$01 173B1: F0 04 BEQ $173B7 173B3: C9 04 CMP #$04 173B5: D0 08 BNE $173BF 173B7: B5 F1 LDA $F1,X 173B9: 09 40 ORA #$40 ; set bits .x.. .... 173BB: 95 F1 STA $F1,X 173BD: D0 0C BNE $173CB 173BF: A5 1A LDA $1A ; Permanent Frame Counter 173C1: 29 07 AND #$07 ; keep bits .... .xxx 173C3: D0 06 BNE $173CB 173C5: B5 F5 LDA $F5,X 173C7: 09 40 ORA #$40 ; set bits .x.. .... (B button) 173C9: 95 F5 STA $F5,X 173CB: CA DEX 173CC: 10 9E BPL $1736C 173CE: 60 RTS ---- 173CF: E6 1F INC $1F 173D1: 60 RTS ---- 173D2: Pointer table for Demo Inputs (6 * 2 = C bytes) DEB3 -> 173DE 38B4 -> 17438 8AB4 -> 1748A FCB4 -> 174FC 40B5 -> 17540 B2B5 -> 175B2 ---- 173DE: Table for Demo Input - Level 1 Player 1 (5A bytes) 00 21 01 03 00 0E 01 3D 04 06 05 33 00 0E 04 0A 05 01 01 29 09 01 08 02 09 08 08 0F 09 18 01 05 00 04 01 02 00 1F 01 24 05 33 01 05 81 15 01 0B 09 02 01 22 81 11 89 02 81 03 01 70 09 1C 01 25 09 2F 01 03 05 06 01 0A 08 14 09 01 01 12 09 06 08 05 00 00 00 00 00 00 FF FF Byte 1: Input Code Byte 2: Number of frames to apply input ---- 17438: Table for Demo Input - Level 1 Player 2 (52 bytes) 01 76 05 1F 00 03 80 04 84 0A 05 02 01 86 00 0B 01 0B 81 0B 85 06 84 06 04 07 00 02 01 39 81 0D 01 13 81 09 01 17 81 06 01 31 00 3E 01 19 81 0B 01 14 81 08 01 17 81 0D 01 25 00 01 80 03 84 08 04 0A 05 01 01 08 00 03 02 04 00 07 01 17 00 06 FF FF ---- 1748A: Table for Demo Input - Level 2 Player 1 (72 bytes) 00 49 02 16 00 1F 01 0A 00 0D 04 2A 00 0B 01 0B 00 1B 02 13 82 0A 80 03 00 04 01 1C 00 14 08 05 00 4B 02 15 00 24 04 0B 05 01 01 18 00 07 02 0F 00 01 01 13 00 01 02 0C 82 04 80 03 00 05 01 0A 00 01 02 05 08 01 01 01 00 01 08 01 0A 03 02 04 0A 06 02 0C 04 0A 00 27 01 0F 81 0A 01 07 00 08 02 1E 00 90 01 09 81 0A 01 04 00 03 02 1E 00 00 FF FF ---- 174FC: Table for Demo Input - Level 2 Player 2 (44 bytes) 00 41 02 04 00 2B 04 19 00 16 04 16 00 1D 04 2A 00 3A 08 4B 00 17 01 1C 00 23 04 12 00 1F 02 19 00 01 01 02 81 0D 01 04 00 07 02 10 82 0E 02 02 00 1E 02 15 00 06 02 04 00 0B 04 19 00 3A 08 03 00 2E FF FF ---- 17540: Table for Demo Input - Level 3 Player 1 (72 bytes) 00 17 01 29 81 05 01 13 00 1B 80 0D 00 13 80 0B 00 1A 80 12 00 0D 80 12 00 0B 80 0A 81 03 01 0D 00 09 01 0D 00 03 02 02 00 4D 02 0E 82 11 02 10 00 08 08 03 88 12 08 03 0A 04 02 05 00 02 80 0E 00 08 02 0E 82 0E 02 02 00 0E 80 08 00 06 01 02 00 17 80 0A 00 16 80 0B 00 17 80 0C 00 20 80 0D 00 0F 80 06 81 03 01 09 00 22 01 0B 81 0F 01 25 FF FF ---- 175B2: Table for Demo Input - Level 3 Player 2 (82 bytes) 00 23 01 2C 81 0D 01 0A 00 07 80 0D 00 10 80 07 82 05 02 0F 82 0A 02 0F 00 0F 80 0A 00 35 04 09 00 05 80 01 82 07 02 02 00 10 01 01 81 0C 01 0C 00 1F 80 04 00 14 01 0B 00 0A 04 24 05 01 85 02 81 06 80 01 00 07 02 04 00 03 01 0C 00 07 01 08 81 0D 01 0F 00 04 80 0C 02 08 00 2D 02 14 82 11 80 03 01 0A 00 02 02 02 82 0F 02 0C 00 03 80 05 82 0F 02 04 00 4A 81 0B 01 04 00 11 80 0D 00 00 FF FF ---- 17634: Unused Space (9CC bytes) ---- // End of Bank // --------