Bank 2
RAM Usage
Hardware Info
; ROM pointers
8000 : 7F 80 ; 807F (Sprites - Treasures) $700 bytes (112 images)
8002: 7F 87 ; 877F (Background - Numbers, letters, symbols) $700 bytes (112 images)
8004: 7F 8E ; 8E7F (Misc) E0 bytes (14 images)
;
; Counts
8006 : 07 00 ; 700 bytes in treasure images
8008: 07 00 ; 700 bytes in text images
800A: 00 E0 ; E0 bytes in misc images
;
; VRAM addresses
800C : 00 00 ; Pattern bank 0 (used for sprites)
800E: 10 00 ; Pattern bank 1 (used for background)
8010: 1F 20 ; Pattern bank 1 (used for background)
Init VRAM
InitVRAM :
; Duplicated in 1:8D47
;
; Copy tile images for text and treasures.
; VRAM 0000-06FF Sprites (treasures)
; VRAM 1000-16FF Background (text)
; VRAM 1F00-1FFF Background (misc)
;
8012: 20 25 E6 JSR $E625 ; Turn off all video
8015: AD 02 20 LDA P_STATUS ; Clear address latch (and scroll)
8018 : AD 1D 05 LDA !SetCount ; Set pointer
801B: 0A ASL A ; *2 bytes per structure per set
801C: AA TAX ; Index register
801D: BD 00 80 LDA $8000 ,X ; Read LSB of ...
8020: 85 00 STA <GP_00 ; ... ROM pointer
8022: BD 06 80 LDA $8006 ,X ; Read MSB of ...
8025: 85 02 STA <GP_02 ; ... count
8027: BD 0C 80 LDA $800C ,X ; Read MSB of ...
802A: 8D 06 20 STA P_VRAM_ADDR ; ... VRAM address
802D: E8 INX ; Next in 2 byte pointer
802E: BD 00 80 LDA $8000 ,X ; Read MSB of ...
8031: 85 01 STA <GP_01 ; ... ROM pointer
8033: BD 06 80 LDA $8006 ,X ; Read LSB of ...
8036: 85 03 STA <GP_03 ; ... count
8038: BD 0C 80 LDA $800C ,X ; Read LSB of VRAM address
803B: 20 4F 80 JSR CopyToVRAM ; Do the copy (51D is incremented in routine)
803E: AD 1D 05 LDA !SetCount ; Set count
8041: C9 03 CMP #$03 ; All done?
8043: D0 D3 BNE $8018 ; No ... do all sets
8045: A9 5A LDA #$5A ; Make note that ...
8047: 85 F5 STA <TileFlagA ; ... these tiles have been set
8049: A9 00 LDA #$00 ; Reset set ...
804B: 8D 1D 05 STA !SetCount ; ... counter
804E: 60 RTS ; Done
Copy to VRAM
CopyToVRAM :
;
; Block copy from (00:01) to VRAM (address MSB in A, latch LSB is 0).
; Length in (03:02)
;
804F: 8D 06 20 STA P_VRAM_ADDR ; VRAM address MSB
8052: A0 00 LDY #$00 ; Straight offset from Y coming up
8054 : B1 00 LDA (GP_00 ),Y ; Byte from pointer ...
8056: 8D 07 20 STA P_VRAM_DATA ; ... to next VRAM address
8059: A5 00 LDA <GP_00 ; Increment ...
805B: 18 CLC ; ... two ...
805C: 69 01 ADC #$01 ; ... byte ...
805E: 85 00 STA <GP_00 ; ... pointer ...
8060: A5 01 LDA <GP_01 ; ... at ...
8062: 69 00 ADC #$00 ; ... 00 and ...
8064: 85 01 STA <GP_01 ; ... 01
;
8066: A5 03 LDA <GP_03 ; Decrement ...
8068: 38 SEC ; ... two ...
8069: E9 01 SBC #$01 ; ... byte ...
806B: 85 03 STA <GP_03 ; ... count ...
806D: A5 02 LDA <GP_02 ; ... at ...
806F: E9 00 SBC #$00 ; ... 02 and ...
8071: 85 02 STA <GP_02 ; ... 03
;
8073: A5 02 LDA <GP_02 ; More to do?
8075: D0 DD BNE $8054 ; Yes ... go move all
8077: A5 03 LDA <GP_03 ; More to do?
8079: D0 D9 BNE $8054 ; Yes ... go move all
807B: EE 1D 05 INC !SetCount ; Next set
807E: 60 RTS ; Done
Tiles_S_Common1
Tiles_S_Common1 :
;
; This chunk of tiles, beginning with Link, is copied to VRAM from v0000-v06FF (bank 1 tiles 00-6F).
; These are used for 8x16 sprites common to all screens. These are never changed. It is fitting
; that Link sprites appear first.
; The images of link holding the shields (large and small) appear later
; starting with tile 54.
; ........ 0
; .....111
; ...11111
; .1112113
; 11112233
; 1.112223
; ..133223
; ...33322
807f: 00 07 1F 77 F3 B1 39 1C 00 00 00 09 0F 0F 1F 1F
; ....1111 1
; ..133112
; ..333332
; .1333332
; .1133331
; 33111113
; 33311111
; .333....
808f: 0F 3E 3E 7E 7F FF FF 70 00 19 3F 3F 1E C1 E0 70
; ........ 2
; 1.......
; 3333....
; 33333...
; 3333....
; 2212....
; 223222..
; 2222.3..
809f: 00 80 F0 F8 F0 20 20 04 00 00 F0 F8 F0 D0 FC F4
; 2222.3.. 3
; 223323..
; 221323..
; 2113.3..
; 113..3..
; 3331.3..
; 11133...
; .333....
80af: 04 34 34 74 E4 F4 F8 70 F4 FC DC 94 24 E4 18 70
; .....111 4
; ...11111
; .1112113
; 11112233
; 1.112223
; ..133223
; ...33322
; ....1111
80bf: 07 1F 77 F3 B1 39 1C 0F 00 00 09 0F 0F 1F 1F 00
; ..311111 5
; .3331222
; .3333222
; .3333221
; ..133113
; .1111111
; ....3333
; ....3333
80cf: 3F 78 78 79 3F 7F 0F 0F 20 77 7F 7E 19 00 0F 0F
; 1....... 6
; 3333....
; 33333...
; 3333....
; 2212..3.
; 2232223.
; 2222..3.
; 2222..3.
80df: 80 F0 F8 F0 22 22 02 02 00 F0 F8 F0 D2 FE F2 F2
; 1133323. 7
; 1113323.
; 11133.3.
; 113...3.
; 333...3.
; 111.....
; ........
; 3.......
80ef: FA FA FA E2 E2 E0 00 80 3E 1E 1A 22 E2 00 00 80
; .....111 8
; ....1111
; ..2.1333
; ..2.3333
; ..223212
; ..223232
; ..322222
; ..331223
80ff: 07 0F 0F 0F 0A 0A 20 39 00 00 27 2F 3D 3F 3F 37
; ..211122 9
; ..211111
; ...31133
; ...13331
; ...11133
; ....3111
; ....333.
; ....333.
810f: 1C 1F 1F 1F 1F 0F 0E 0E 23 20 13 0E 03 08 0E 0E
; 111..... A
; 1111....
; 3331.2..
; 3333.2..
; 212322..
; 232322..
; 222223..
; 322113..
811f: E0 F0 F0 F0 50 50 04 9C 00 00 E4 F4 BC FC FC E4
; 2211333. B
; 1111233.
; 3112223.
; 3333222.
; 311112..
; 1111....
; .333....
; ........
812f: 3E F6 E2 F0 F8 F0 70 00 CE 0E 9E FE 84 00 70 00
; .....111 C
; ....1111
; ..2.1111
; ..211111
; ..231111
; ..223311
; ...23331
; ...31333
813f: 07 0F 0F 1F 1F 0F 0F 1F 00 00 20 20 30 3C 1E 17
; ..331111 D
; ..331111
; ...33111
; ...11333
; ...11111
; ...33311
; ...3333.
; ....33..
814f: 3F 3F 1F 1F 1F 1F 1E 0C 30 30 18 07 00 1C 1E 0C
; 111..... E
; 1111....
; 1111.2..
; 111112..
; 111132..
; 113322..
; 13332...
; 33313...
815f: E0 F0 F0 F8 F8 F0 F0 F8 00 00 04 04 0C 3C 78 E8
; 11133... F
; 111332..
; 111332..
; 333122..
; 11111...
; 1113....
; .33.....
; ........
816f: F8 F8 F8 F0 F8 F0 60 00 18 1C 1C EC 00 10 60 00
; ........ 10
; ......11
; ....1111
; ...11211
; ...11223
; ..111222
; .1113322
; .1..3332
817f: 00 03 0F 1B 19 38 7C 4E 00 00 00 04 07 07 0F 0F
; ....1111 11
; ...11333
; ...13333
; ..113333
; .1111333
; 33111111
; 33311111
; .333....
818f: 0F 1F 1F 3F 7F FF FF 70 00 07 0F 0F 07 C0 E0 70
; ........ 12
; 11......
; 13333...
; 333333..
; 33333...
; 32212...
; 3223222.
; 22222...
819f: 00 C0 F8 FC F8 90 90 00 00 00 78 FC F8 E8 FE F8
; 122222.. 13
; 333222..
; 33322...
; 3331....
; 11133...
; 33333...
; 111133..
; ...3333.
81af: 80 E0 E0 F0 F8 F8 FC 1E 7C FC F8 E0 18 F8 0C 1E
; ...33.11 14
; ..323111
; .3321133
; 33221333
; 33223212
; 23323232
; .2331223
; ..231123
81bf: 1B 2F 6F CF CA 6A 39 1D 18 38 73 F7 FD FF 77 33
; ...21112 15
; ....3111
; ....1313
; ....1133
; ...33113
; ..333.11
; ........
; ........
81cf: 0E 0F 0F 0F 1F 3B 00 00 11 08 05 03 19 38 00 00
; 111..... 16
; 1111....
; 33111...
; 33311.2.
; 2133122.
; 232312..
; 32222...
; 32233...
81df: E0 F0 F8 F8 78 58 80 98 00 00 C0 E2 B6 F4 F8 F8
; 223333.. 17
; 113333..
; 333331..
; 133311..
; 3223113.
; 22211333
; 222.3333
; ........
81ef: 3C FC FC FC 9E 1F 0F 00 FC 3C F8 70 F2 E7 EF 00
; ...31111 18
; .2.11111
; .2311111
; .2211111
; .3231111
; .3233111
; .3313313
; .3311333
81ff: 1F 1F 3F 1F 5F 5F 7F 7F 10 40 60 60 70 78 6D 67
; ..311111 19
; ..311111
; ..131111
; .3113333
; 33111111
; 333....1
; ........
; ........
820f: 3F 3F 3F 7F FF E1 00 00 20 20 10 4F C0 E0 00 00
; 1....... 1A
; 11......
; 111.....
; 111.2...
; 11322...
; 3332...2
; 3312..23
; 31333233
821f: 80 C0 E0 E0 E0 E0 E1 FB 00 00 00 08 38 F1 D3 BF
; 11332333 1B
; 11323333
; 1123333.
; 333233..
; 11112...
; 11133...
; ..3333..
; ..3333..
822f: F7 EF DE EC F0 F8 3C 3C 3F 3F 3E FC 08 18 3C 3C
Treasure Images
TreasureImages :
; ........ 1C
; ........
; ........
; ........
; ........
; ........
; ........
; ........
823f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
; ........ 1D
; ........
; ........
; ........
; ........
; ........
; ........
; ........
824f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
; 111..... 1E Pick cursor
; 1.......
; 1.......
; ........
; ........
; ........
; ........
; ........
825f: E0 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00
; ........ 1F
; ........
; ........
; ........
; ........
; 1.......
; 1.......
; 111.....
826f: 00 00 00 00 00 80 80 E0 00 00 00 00 00 00 00 00
; ...3.... 20 Sword
; ..333...
; ..333...
; ..333...
; ..333...
; ..333...
; ..333...
; ..333...
827f: 10 38 38 38 38 38 38 38 10 38 38 38 38 38 38 38
; ..333... 21
; ..333...
; ..333...
; 1111111.
; 1.222.1.
; ..111...
; ..222...
; ..111...
828f: 38 38 38 FE 82 38 00 38 38 38 38 00 38 00 38 00
; ..3.33.. 22 Food
; ...33...
; ...33...
; ..1331..
; .111111.
; 12121211
; 21111111
; 11121111
829f: 2C 18 18 3C 7E AB 7F EF 2C 18 18 18 00 54 80 10
; 21211111 23
; 11111121
; .121211.
; ..1111..
; ...33...
; ...33...
; ...33...
; ..33.3..
82af: 5F FD 56 3C 18 18 18 34 A0 02 28 00 18 18 18 34
; ...111.. 24 Recorder
; ...3.2..
; ...322..
; ...3.2..
; ...322..
; ...3.2..
; ...322..
; ...3.2..
82bf: 1C 10 10 10 10 10 10 10 00 14 1C 14 1C 14 1C 14
; ...322.. 25
; ...3.2..
; ...322..
; ...322..
; ....2...
; ...322..
; ...3.2..
; ...322..
82cf: 10 10 10 10 00 10 10 10 1C 14 1C 1C 08 1C 14 1C
; ....1... 26 Candle
; ..1111..
; .11121..
; .112111.
; ..1221..
; ........
; ..3333..
; ..3333..
82df: 08 3C 74 6E 24 00 3C 3C 00 00 08 10 18 00 3C 3C
; ..3333.. 27
; ..3333.2
; ..3333.2
; ..3333.2
; ..3333.2
; ..3333.2
; 22222222
; .222222.
82ef: 3C 3C 3C 3C 3C 3C 00 00 3C 3D 3D 3D 3D 3D FF 7E
; ....2... 28 Arrow
; ....2...
; ...222..
; ...212..
; ....1...
; ....1...
; ....1...
; ....1...
82ff: 00 00 00 08 08 08 08 08 08 08 1C 14 00 00 00 00
; ....1... 29
; ....1...
; ...313..
; ..3.1.3.
; ...313..
; ..3.1.3.
; ...313..
; ..3.1.3.
830f: 08 08 1C 2A 1C 2A 1C 2A 00 00 14 22 14 22 14 22
; 333..... 2A Bow
; 1..33...
; 1...33..
; 1....33.
; 1....33.
; 1.....33
; 1.....33
; 1.....33
831f: E0 98 8C 86 86 83 83 83 E0 18 0C 06 06 03 03 03
; 1.....33 2B
; 1.....33
; 1.....33
; 1....33.
; 1....33.
; 1...33..
; 1..33...
; 333.....
832f: 83 83 83 86 86 8C 98 E0 03 03 03 06 06 0C 18 E0
; .....2.. 2C Magic key
; ...22211
; ..2.211.
; ..2.2221
; 12222211
; 222.2121
; ....2211
; .222211.
833f: 00 03 06 01 83 05 03 06 04 1C 28 2E 7C EA 0C 78
; ....2... 2D
; ....2...
; ....2...
; ....2...
; .2222...
; ....2...
; .2222...
; ....2...
834f: 00 00 00 00 00 00 00 00 08 08 08 08 78 08 78 08
; ..2221.. 2E Key
; .322221.
; 321..221
; 31....21
; 31....21
; 22222221
; 32222111
; ...21...
835f: 04 42 A1 C1 C1 01 87 08 38 7C C6 82 82 FE F8 10
; ...21... 2F
; ...21...
; ...21...
; .3221...
; .2221...
; ..221...
; .2221...
; ...21...
836f: 08 08 08 48 08 08 08 08 10 10 10 70 70 30 70 10
; ........ 30 ?
; ........
; ........
; .3333...
; 333333..
; 333333..
; 3332233.
; 33222233
837f: 00 00 00 78 FC FC E6 C3 00 00 00 78 FC FC FE FF
; 33211233 31
; 33221...
; .332....
; .333....
; ..33....
; ........
; ........
; ........
838f: DB C8 60 70 30 00 00 00 E7 F0 70 70 30 00 00 00
; ...32... 32 Rupy
; ..3322..
; .333222.
; 3232.2.2
; 33222.22
; 33222.22
; 33222.22
; 33222.22
839f: 10 30 70 A0 C0 C0 C0 C0 18 3C 7E F5 FB FB FB FB
; 33222.22 33
; 33222.22
; 33222.22
; 32322.22
; 2223.2.2
; .222222.
; ..2222..
; ...22...
83af: C0 C0 C0 A0 10 00 00 00 FB FB FB FB F5 7E 3C 18
; .....3.. 34 Bomb
; .....3..
; ......3.
; .......3
; .......3
; ......3.
; ..1111..
; .122111.
83bf: 04 04 02 01 01 02 3C 4E 04 04 02 01 01 02 00 30
; 12321111 35
; 12211111
; 11111111
; 11111111
; .111111.
; ..1111..
; ........
; ........
83cf: AF 9F FF FF 7E 3C 00 00 70 60 00 00 00 00 00 00
; ........ 36 Boomerang
; ........
; ........
; ........
; ...123..
; ..113...
; .213....
; .223....
83df: 00 00 00 00 14 38 30 10 00 00 00 00 0C 08 50 70
; .223.... 37
; .223....
; ..223...
; ...223..
; ........
; ........
; ........
; ........
83ef: 10 10 08 04 00 00 00 00 70 70 38 1C 00 00 00 00
; ........ 38
; ........
; ........
; ........
; 23......
; 23......
; 213.....
; 1113....
83ff: 00 00 00 00 40 40 60 F0 00 00 00 00 C0 C0 A0 10
; .1223... 39
; .22223..
; ..222233
; ....2222
; ........
; ........
; ........
; ........
840f: 48 04 03 00 00 00 00 00 38 7C 3F 0F 00 00 00 00
; ........ 3A
; ........
; ........
; ........
; ........
; ........
; 3......3
; 23....32
841f: 00 00 00 00 00 00 81 42 00 00 00 00 00 00 81 C3
; 11333322 3B
; .112222.
; ..2222..
; ........
; ........
; ........
; ........
; ........
842f: FC 60 00 00 00 00 00 00 3F 1E 3C 00 00 00 00 00
; ........
; ........ 3C
; ........
; ........
; .3...3..
; ..3.33.3
; 3.33333.
; .33333..
843f: 00 00 00 00 44 2D BE 7C 00 00 00 00 44 2D BE 7C
; ..333... 3D
; .33333..
; 3..3....
; ....3...
; ........
; ........
; ........
; ........
844f: 38 7C 90 08 00 00 00 00 38 7C 90 08 00 00 00 00
; 111..... 3E Map dot
; 111.....
; 111.....
; ........
; ........
; ........
; ........
; ........
845f: E0 E0 E0 00 00 00 00 00 00 00 00 00 00 00 00 00
; ........ 3F
; ........
; ........
; ........
; ........
; ........
; ........
; ........
846f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
; ..2222.. 40 Potion
; ...11...
; ..3333..
; ..3113..
; ..3..3..
; ..3..3..
; .33..33.
; 3......3
847f: 00 18 3C 3C 24 24 66 81 3C 00 3C 24 24 24 66 81
; 3......3 41
; 31111113
; 31111123
; 31211113
; 31112113
; 33111133
; 33333333
; .333333.
848f: 81 FF FD DF F7 FF FF 7E 81 81 83 A1 89 C3 FF 7E
; 1111111. 42 Book of magic
; 33333311
; 33333331
; 33333311
; 31111111
; 31111111
; 31.....1
; 31111111
849f: FE FF FF FF FF FF C1 FF 00 FC FE FC 80 80 80 80
; 31.1.1.1 43
; 31111111
; 31111111
; 3111.111
; 311...11
; 1111.111
; .1111111
; .111111.
84af: D5 FF FF F7 E3 F7 7F 7E 80 80 80 80 80 00 00 00
; ........ 44
; ........
; ........
; ..1111..
; .111111.
; .112211.
; 11222211
; 11233211
84bf: 00 00 00 3C 7E 66 C3 DB 00 00 00 00 00 18 3C 3C
; 11233211 45
; 11222211
; .112211.
; .111111.
; ..1111..
; ........
; ........
; ........
84cf: DB C3 66 7E 3C 00 00 00 3C 3C 18 00 00 00 00 00
; ........ 46 Ring
; ........
; ........
; ...111..
; ..13111.
; .1111111
; .2111112
; ..22222.
84df: 00 00 00 1C 3E 7F 3E 00 00 00 00 00 10 00 41 3E
; .32....1 47
; .2.....2
; .22...2.
; ..2222..
; ........
; ........
; ........
; ........
84ef: 41 00 00 00 00 00 00 00 60 41 62 3C 00 00 00 00
; 3....... 48 Magic sword
; 33......
; 333.....
; 333.....
; .333....
; .333....
; ..33.1..
; ..333.3.
84ff: 80 C0 E0 E0 70 70 34 3A 80 C0 E0 E0 70 70 30 3A
; ...33.1. 49
; .1.33311
; .3..311.
; ..1.112.
; ...1122.
; ...1.212
; ......22
; ......21
850f: 1A 5F 4E 2C 18 12 00 01 18 1C 48 02 06 05 03 02
; ...11... 4A Magical rod
; ..1311..
; ..1111..
; ..3113..
; ...33...
; ...22...
; ...33...
; ...22...
851f: 18 3C 3C 3C 18 00 18 00 00 10 00 24 18 18 18 18
; ...22... 4B
; ...22...
; ...22...
; ...22...
; ...22...
; ...22...
; ...22...
; ...22...
852f: 00 00 00 00 00 00 00 00 18 18 18 18 18 18 18 18
; 22.22.22 4C Map/Letter
; 22222222
; 22222222
; 22112123
; .2222223
; 22121233
; 2222233.
; 2121333.
853f: 00 00 00 35 01 2B 06 5E DB FF FF CB 7F D7 FE AE
; 2223333. 4D
; 223333..
; 233333..
; 222333..
; 21213...
; .2223...
; 22223...
; 2223....
854f: 1E 3C 7C 1C 58 08 08 10 FE FC FC FC A8 78 F8 F0
; ........ 4E Power bracelet
; ...121..
; ..11121.
; .2221211
; .1112.11
; 1111...2
; 2211...1
; 3321....
855f: 00 14 3A 0B 73 F0 31 D0 00 08 04 74 08 01 C0 E0
; 3321.... 4F
; 2211....
; 1111...1
; .111...2
; .1112.21
; ..22112.
; ...112..
; ........
856f: D0 30 F1 70 71 0C 18 00 E0 C0 00 01 0A 32 04 00
; .21112.. 50 Fairy
; .12121..
; 31111113
; 31222113
; 31222113
; .312113.
; .122213.
; .21212..
857f: 38 54 FF C7 C7 6E 46 28 44 28 81 B9 B9 52 3A 54
; .23132.. 51
; 2311132.
; ..212.3.
; ..2221..
; ..22....
; ..2.....
; ..2.....
; ..1.....
858f: 38 7C 12 04 00 00 00 20 6C C6 2A 38 30 20 20 00
; .21112.. 52 Fairy
; .12121..
; .111111.
; .122211.
; .3222113
; 311211.3
; 31222133
; 3212133.
859f: 38 54 7E 46 47 ED C7 AE 44 28 00 38 79 91 BB D6
; .2.1.23. 53
; 2.111.23
; ..212...
; ..2221..
; ..22....
; ..2.....
; ..2.....
; ..1.....
85af: 12 39 10 04 00 00 00 20 46 83 28 38 30 20 20 00
; 1....... 54 Link with large shield
; 3333....
; 33333...
; 3333..33
; 2212..33
; 22322232
; 2222..32
; 2222..32
85bf: 80 F0 F8 F3 23 22 02 02 00 F0 F8 F3 D3 FF F3 F3
; 11333232 55
; 11133232
; 11133.32
; 113...32
; 333...32
; 111...33
; ......33
; 3.......
85cf: FA FA FA E2 E2 E3 03 80 3F 1F 1B 23 E3 03 03 80
; ........ 56 Large shield
; ........
; 33333333
; 33333333
; 33322333
; 33322333
; 32222223
; 32222223
85df: 00 00 FF FF E7 E7 81 81 00 00 FF FF FF FF FF FF
; 33322333 57
; 33322333
; 33322333
; 33322333
; .333333.
; ..3333..
; ........
; ........
85ef: E7 E7 E7 E7 7E 3C 00 00 FF FF FF FF 7E 3C 00 00
; .....111 58 Link with small shield
; ....1111
; ..2.1333
; ..2.3333
; ..223212
; ..223232
; ...22222
; ...11223
85ff: 07 0F 0F 0F 0A 0A 00 19 00 00 27 2F 3D 3F 1F 07
; .3333322 59
; 33233331
; 32223323
; 33233321
; 33233323
; 33333321
; .222223.
; ....333.
860f: 7C DF 8D DD DD FD 02 0E 7F FE FF FE FF FE 7E 0E
; .....111 5A Link with small shield
; ....1111
; ..2.1333
; ..2.3333
; ..223212
; ..223232
; ...22222
; ....1223
861f: 07 0F 0F 0F 0A 0A 00 09 00 00 27 2F 3D 3F 1F 07
; ..333332 5B
; .3323333
; .3222332
; .3323332
; .3323332
; .3333332
; ..22222.
; ........
862f: 3E 6F 46 6E 6E 7E 00 00 3F 7F 7F 7F 7F 7F 3E 00
; ........ 5C Fire
; ...2.1..
; ..1.1..1
; ..1.1.11
; ....1111
; .21.1121
; .1111211
; .1111212
863f: 00 04 29 2B 0F 2D 7B 7A 00 10 00 00 00 42 04 05
; .1112212 5D
; 1.122222
; 11121223
; 11122323
; .1112233
; .1112233
; ..111122
; .....111
864f: 72 A0 E9 E5 73 73 3C 07 0D 1F 17 1F 0F 0F 03 00
; .1...1.. 5E Fire
; 1....1..
; 1.1.....
; 111..2..
; 111.1...
; 11.11.1.
; 1121111.
; 111111.1
865f: 44 84 A0 E0 E8 DA DE FD 00 00 00 04 00 00 20 00
; 121111.1 5F
; 21211111
; 22221111
; 2322211.
; 3332211.
; 332211..
; 222111..
; 1111....
866f: BD 5F 0F 46 E6 CC 1C F0 40 A0 F0 F8 F8 F0 E0 00
; .....111 60 Link with large shield
; ....1111
; ..2.1333
; ..2.3333
; ..223212
; ..223232
; 33333333
; 33322333
867f: 07 0F 0F 0F 0A 0A FF E7 00 00 27 2F 3D 3F FF FF
; 33322333 61
; 32222223
; 32222223
; 33322333
; 33322333
; 33322333
; .333333.
; ..3333..
868f: E7 81 81 E7 E7 E7 7E 3C FF FF FF FF FF FF 7E 3C
; ........ 62
; ........
; ........
; ...3....
; .......3
; .....3.2
; .......3
; ....3232
869f: 00 00 00 10 01 04 01 0A 00 00 00 10 01 05 01 0F
; ....3232 63
; .......3
; .....3.2
; .......3
; ...3....
; ........
; ........
; ........
86af: 0A 01 04 01 10 00 00 00 0F 01 05 01 10 00 00 00
; .......3 64
; .3......
; ..2....3
; ...3...3
; ....3..2
; .....3.3
; ......22
; 3.332323
86bf: 01 40 01 11 08 05 00 B5 01 40 21 11 09 05 03 BF
; 3.332323 65
; ......22
; .....3.3
; ....3..2
; ...3...3
; ..2....3
; .3......
; .......3
86cf: B5 00 05 08 11 01 40 01 BF 03 05 09 11 21 40 01
; .....111 66 Clock
; .....111
; .......3
; .....111
; ....1132
; ...11333
; ...13333
; ..113133
86df: 07 07 01 07 0E 1F 1F 3F 00 00 01 00 03 07 0F 0B
; ..133313 67
; ..123331
; ..133333
; ..113333
; ...13333
; ...11333
; ....1132
; .....111
86ef: 3F 2F 3F 3F 1F 1F 0E 07 1D 1E 1F 0F 0F 07 03 00
; ........ 68 Heart container
; ........
; ...232..
; ..31113.
; .2111112
; .3111111
; .2111111
; .3111111
86ff: 00 00 08 3E 3E 7F 3F 7F 00 00 1C 22 41 40 40 40
; ..211111 69
; ..311111
; ...21111
; ....3111
; .....211
; ......31
; .......2
; ........
870f: 1F 3F 0F 0F 03 03 00 00 20 20 10 08 04 02 01 00
; ........ 6A Compass
; ........
; .....333
; ....3221
; ...32211
; ..322111
; ..322333
; ..322.33
871f: 00 00 07 09 13 27 27 23 00 00 07 0E 1C 38 3F 3B
; ..1322.3 6B
; ..11322.
; ..111333
; ...11111
; ...11111
; .....111
; ........
; ........
872f: 31 38 3F 1F 1F 07 00 00 1D 0E 07 00 00 00 00 00
; ..33...3 6C Raft
; .3333.33
; .3333.33
; .3333.33
; .3111111
; .1333.33
; .3333.33
; .3333133
873f: 31 7B 7B 7B 7F 7B 7B 7F 31 7B 7B 7B 40 3B 7B 7B
; .3333.33 6D
; .3333.33
; .3111111
; .1333.33
; .3333.33
; .3223132
; .2222.22
; ..22...2
874f: 7B 7B 7F 7B 7B 4E 00 00 7B 7B 40 3B 7B 7B 7B 31
; ........ 6E Triforce
; ........
; ........
; ........
; ........
; ........
; .......2
; .......2
875f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01
; ......22 6F
; ......22
; .....222
; .....222
; ....2222
; ....2222
; ...22222
; ...22222
876f: 00 00 00 00 00 00 00 00 03 03 07 07 0F 0F 1F 1F
Tiles_B_Common1
Tiles_B_Common1 :
;
; These are placed in VRAM from v1000-v16FF (bank-2 tiles 00-6F)
; Tiles 30-5F are blank (room for growth).
;
; Tiles 70-F1 are filled in with overworld/underworld background tiles (also
; splash-screen tiles at beginning).
Text Images
TextImages :
; ..111... 0
; .1..11..
; 11...11.
; 11...11.
; 11...11.
; .11..1..
; ..111...
; ........
877f: 38 4C C6 C6 C6 64 38 00 00 00 00 00 00 00 00 00
; ...11... 1
; ..111...
; ...11...
; ...11...
; ...11...
; ...11...
; .111111.
; ........
878f: 18 38 18 18 18 18 7E 00 00 00 00 00 00 00 00 00
; .11111..
; 11...11.
; ....111.
; ..1111..
; .1111...
; 111.....
; 1111111.
; ........
879f: 7C C6 0E 3C 78 E0 FE 00 00 00 00 00 00 00 00 00
; .111111.
; ....11..
; ...11...
; ..1111..
; .....11.
; 11...11.
; .11111..
; ........
87af: 7E 0C 18 3C 06 C6 7C 00 00 00 00 00 00 00 00 00
; ...111..
; ..1111..
; .11.11..
; 11..11..
; 1111111.
; ....11..
; ....11..
; ........
87bf: 1C 3C 6C CC FE 0C 0C 00 00 00 00 00 00 00 00 00
; 111111..
; 11......
; 111111..
; .....11.
; .....11.
; 11...11.
; .11111..
; ........
87cf: FC C0 FC 06 06 C6 7C 00 00 00 00 00 00 00 00 00
; ..1111..
; .11.....
; 11......
; 111111..
; 11...11.
; 11...11.
; .11111..
; ........
87df: 3C 60 C0 FC C6 C6 7C 00 00 00 00 00 00 00 00 00
; 1111111.
; 11...11.
; ....11..
; ...11...
; ..11....
; ..11....
; ..11....
; ........
87ef: FE C6 0C 18 30 30 30 00 00 00 00 00 00 00 00 00
; .1111...
; 11...1..
; 111..1..
; .1111...
; 1....11.
; 1....11.
; .11111..
; ........
87ff: 78 C4 E4 78 86 86 7C 00 00 00 00 00 00 00 00 00
; .11111..
; 11...11.
; 11...11.
; .111111.
; .....11.
; ....11..
; .1111...
; ........
880f: 7C C6 C6 7E 06 0C 78 00 00 00 00 00 00 00 00 00
; ..111...
; .11.11..
; 11...11.
; 11...11.
; 1111111.
; 11...11.
; 11...11.
; ........
881f: 38 6C C6 C6 FE C6 C6 00 00 00 00 00 00 00 00 00
; 111111..
; 11...11.
; 11...11.
; 111111..
; 11...11.
; 11...11.
; 111111..
; ........
882f: FC C6 C6 FC C6 C6 FC 00 00 00 00 00 00 00 00 00
; ..1111..
; .11..11.
; 11......
; 11......
; 11......
; .11..11.
; ..1111..
; ........
883f: 3C 66 C0 C0 C0 66 3C 00 00 00 00 00 00 00 00 00
; 11111...
; 11..11..
; 11...11.
; 11...11.
; 11...11.
; 11..11..
; 11111...
; ........
884f: F8 CC C6 C6 C6 CC F8 00 00 00 00 00 00 00 00 00
; 1111111.
; 11......
; 11......
; 111111..
; 11......
; 11......
; 1111111.
; ........
885f: FE C0 C0 FC C0 C0 FE 00 00 00 00 00 00 00 00 00
; 1111111.
; 11......
; 11......
; 111111..
; 11......
; 11......
; 11......
; ........
886f: FE C0 C0 FC C0 C0 C0 00 00 00 00 00 00 00 00 00
; ..11111.
; .11.....
; 11......
; 11..111.
; 11...11.
; .11..11.
; ..11111.
; ........
887f: 3E 60 C0 CE C6 66 3E 00 00 00 00 00 00 00 00 00
; 11...11.
; 11...11.
; 11...11.
; 1111111.
; 11...11.
; 11...11.
; 11...11.
; ........
888f: C6 C6 C6 FE C6 C6 C6 00 00 00 00 00 00 00 00 00
; ..1111..
; ...11...
; ...11...
; ...11...
; ...11...
; ...11...
; ..1111..
; ........
889f: 3C 18 18 18 18 18 3C 00 00 00 00 00 00 00 00 00
; ...1111.
; .....11.
; .....11.
; .....11.
; 11...11.
; 11...11.
; .11111..
; ........
88af: 1E 06 06 06 C6 C6 7C 00 00 00 00 00 00 00 00 00
; 11...11.
; 11..11..
; 11.11...
; 1111....
; 11.11...
; 11..11..
; 11...11.
; ........
88bf: C6 CC D8 F0 D8 CC C6 00 00 00 00 00 00 00 00 00
; .11.....
; .11.....
; .11.....
; .11.....
; .11.....
; .11.....
; .111111.
; ........
88cf: 60 60 60 60 60 60 7E 00 00 00 00 00 00 00 00 00
; 11...11.
; 111.111.
; 1111111.
; 1111111.
; 11.1.11.
; 11...11.
; 11...11.
; ........
88df: C6 EE FE FE D6 C6 C6 00 00 00 00 00 00 00 00 00
; 11...11.
; 111..11.
; 1111.11.
; 1111111.
; 11.1111.
; 11..111.
; 11...11.
; ........
88ef: C6 E6 F6 FE DE CE C6 00 00 00 00 00 00 00 00 00
; .11111..
; 11...11.
; 11...11.
; 11...11.
; 11...11.
; 11...11.
; .11111..
; ........
88ff: 7C C6 C6 C6 C6 C6 7C 00 00 00 00 00 00 00 00 00
; 111111..
; 11...11.
; 11...11.
; 111111..
; 11......
; 11......
; 11......
; ........
890f: FC C6 C6 FC C0 C0 C0 00 00 00 00 00 00 00 00 00
; .11111..
; 11...11.
; 11...11.
; 11...11.
; 11.1111.
; 11..11..
; .1111.1.
; ........
891f: 7C C6 C6 C6 DE CC 7A 00 00 00 00 00 00 00 00 00
; 111111..
; 11...11.
; 11...11.
; 111111..
; 11.11...
; 11..11..
; 11...11.
; ........
892f: FC C6 C6 FC D8 CC C6 00 00 00 00 00 00 00 00 00
; .1111...
; 11..11..
; 11......
; .11111..
; .....11.
; 11...11.
; .11111..
; ........
893f: 78 CC C0 7C 06 C6 7C 00 00 00 00 00 00 00 00 00
; .111111.
; ...11...
; ...11...
; ...11...
; ...11...
; ...11...
; ...11...
; ........
894f: 7E 18 18 18 18 18 18 00 00 00 00 00 00 00 00 00
; 11...11.
; 11...11.
; 11...11.
; 11...11.
; 11...11.
; 11...11.
; .11111..
; ........
895f: C6 C6 C6 C6 C6 C6 7C 00 00 00 00 00 00 00 00 00
; 11...11.
; 11...11.
; 11...11.
; 111.111.
; .11111..
; ..111...
; ...1....
; ........
896f: C6 C6 C6 EE 7C 38 10 00 00 00 00 00 00 00 00 00
; 11...11.
; 11...11.
; 11.1.11.
; 1111111.
; 1111111.
; 111.111.
; 11...11.
; ........
897f: C6 C6 D6 FE FE EE C6 00 00 00 00 00 00 00 00 00
; 11...11.
; 111.111.
; .11111..
; ..111...
; .11111..
; 111.111.
; 11...11.
; ........
898f: C6 EE 7C 38 7C EE C6 00 00 00 00 00 00 00 00 00
; .11..11.
; .11..11.
; .11..11.
; ..1111..
; ...11...
; ...11...
; ...11...
; ........
899f: 66 66 66 3C 18 18 18 00 00 00 00 00 00 00 00 00
; 1111111.
; ....111.
; ...111..
; ..111...
; .111....
; 111.....
; 1111111.
; ........
89af: FE 0E 1C 38 70 E0 FE 00 00 00 00 00 00 00 00 00
; ........
; ........
; ........
; ........
; ........
; ........
; ........
; ........
89bf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
; 11111111
; 11111111
; 11111111
; 11111111
; 11111111
; 11111111
; 11111111
; 11111111
89cf: FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00
; 22222222
; 22222222
; 22222222
; 22222222
; 22222222
; 22222222
; 22222222
; 22222222
89df: 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF
; 33333333
; 33333333
; 33333333
; 33333333
; 33333333
; 33333333
; 33333333
; 33333333
89ef: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
; ........
; ........
; ........
; ........
; ..11....
; ...1....
; ..1.....
; ........
89ff: 00 00 00 00 30 10 20 00 00 00 00 00 00 00 00 00
; ...11...
; ...11...
; ...11...
; ...11...
; ...11...
; ........
; ...11...
; ........
8a0f: 18 18 18 18 18 00 18 00 00 00 00 00 00 00 00 00
; ..11....
; ...1....
; ..1.....
; ........
; ........
; ........
; ........
; ........
8a1f: 30 10 20 00 00 00 00 00 00 00 00 00 00 00 00 00
; .111....
; 1...1...
; .1.1....
; ..1.....
; .1.1.1..
; 1...1...
; .111.11.
; ........
8a2f: 70 88 50 20 54 88 76 00 00 00 00 00 00 00 00 00
; ........
; ........
; ........
; ........
; ........
; ..11....
; ..11....
; ........
8a3f: 00 00 00 00 00 30 30 00 00 00 00 00 00 00 00 00
; ..1..1..
; ..1..1..
; ..1..1..
; ........
; ........
; ........
; ........
; ........
8a4f: 24 24 24 00 00 00 00 00 00 00 00 00 00 00 00 00
; ..111...
; .1...1..
; .....1..
; ....1...
; ...1....
; ........
; ...1....
; ........
8a5f: 38 44 04 08 10 00 10 00 00 00 00 00 00 00 00 00
; ........
; ........
; ........
; 111111..
; ........
; ........
; ........
; ........
8a6f: 00 00 00 FC 00 00 00 00 00 00 00 00 00 00 00 00
8a7f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; 30
8a8f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8a9f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8aaf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8abf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8acf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8adf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8aef: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8aff: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b0f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b1f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b2f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b3f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b4f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b5f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b6f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b7f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; 40
8b8f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8b9f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8baf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8bbf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8bcf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8bdf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8bef: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8bff: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c0f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c1f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c2f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c3f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c4f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c5f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c6f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c7f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; 50
8c8f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8c9f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8caf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8cbf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8ccf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8cdf: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8cef: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8cff: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8d0f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8d1f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8d2f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8d3f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8d4f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8d5f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
8d6f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; 5F
; ........ 60
; ........
; ........
; ........
; ........
; ........
; ........
; ........
8d7f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
; .......1 61
; ..2333.1
; .212333.
; 21233333
; 21233333
; 32333333
; .333333.
; ..3333..
8d8f: 01 1D 2E 5F 5F BF 7E 3C 00 3C 5E BF BF FF 7E 3C
; ........ 62
; ........
; ........
; 111111..
; ........
; ........
; ........
; ........
8d9f: 00 00 00 FC 00 00 00 00 00 00 00 00 00 00 00 00
; ........ 63
; ........
; ........
; ........
; ........
; ..11....
; ..11....
; ........
8daf: 00 00 00 00 00 30 30 00 00 00 00 00 00 00 00 00
; ...1.... 64
; ...1....
; ...1....
; 1111111.
; ...1....
; ...1....
; ...1....
; ........
8dbf: 10 10 10 FE 10 10 10 00 00 00 00 00 00 00 00 00
; .11.33.. 65
; 1111333.
; 1113333.
; 1111333.
; 1113333.
; .11133..
; ..133...
; ...1....
8dcf: 6C FE FE FE FE 7C 38 10 0C 0E 1E 0E 1E 0C 18 00
; .33.33.. 66
; 3333333.
; 3333333.
; 3333333.
; 3333333.
; .33333..
; ..333...
; ...3....
8ddf: 6C FE FE FE FE 7C 38 10 6C FE FE FE FE 7C 38 10
; 3333333. 67
; 3333333.
; 3333333.
; ........
; ........
; ........
; ........
; ........
8def: FE FE FE 00 00 00 00 00 FE FE FE 00 00 00 00 00
; 22222221 68
; 32212222
; 22222222
; 21222232
; 22221222
; 22222212
; 22122222
; 22222322
8dff: 01 90 00 42 08 02 20 04 FE EF FF BF F7 FD DF FF
; ........ 69
; ........
; ........
; ....3333
; ...33333
; ...33...
; ...33...
; ...33...
8e0f: 00 00 00 0F 1F 18 18 18 00 00 00 0F 1F 18 18 18
; ........ 6A
; ........
; ........
; 33333333
; 33333333
; ........
; ........
; ........
8e1f: 00 00 00 FF FF 00 00 00 00 00 00 FF FF 00 00 00
; ........ 6B
; ........
; ........
; 3333....
; 33333...
; ...33...
; ...33...
; ...33...
8e2f: 00 00 00 F0 F8 18 18 18 00 00 00 F0 F8 18 18 18
; ...33... 6C
; ...33...
; ...33...
; ...33...
; ...33...
; ...33...
; ...33...
; ...33...
8e3f: 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18
; ...33... 6D
; ...33...
; ...33...
; 33333...
; 3333....
; ........
; ........
; ........
8e4f: 18 18 18 F8 F0 00 00 00 18 18 18 F8 F0 00 00 00
; ...33... 6E
; ...33...
; ...33...
; ...33333
; ....3333
; ........
; ........
; ........
8e5f: 18 18 18 1F 0F 00 00 00 18 18 18 1F 0F 00 00 00
; 11111111 6F
; 11111111
; 22222222
; 33333333
; 11111111
; 11111111
; 22222222
; 33333333
8e6f: FF FF 00 FF FF FF 00 FF 00 00 FF FF 00 00 FF FF
Tiles_B_Common2
Tiles_B_Common2 :
MiscImages :
; .11.11.. ; F2
; 1111111.
; 1111111.
; 1111111.
; 1111111.
; .11111..
; ..111...
; ...1....
8e7f: 6C FE FE FE FE 7C 38 10 00 00 00 00 00 00 00 00
; ........
; ........
; ........
; ........
; ........
; ........
; ........
; ........
8e8f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
; 11111111
; 11111111
; 11111111
; 11111111
; 11111111
; 11111111
; 11111111
; 11111111
8e9f: FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00
; 22222222
; 22222222
; 22222222
; 22222222
; 22222222
; 22222222
; 22222222
; 22222222
8eaf: 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF
; 21322222
; 21222222
; 21222222
; 11111111
; 22222132
; 22222122
; 22222122
; 11111111
8ebf: 60 40 40 FF 06 04 04 FF BF BF BF 00 FB FB FB 00
; ...23332
; ..3222.2
; .32222.2
; 222222.2
; 32222...
; 3222.22.
; 3...22..
; 222.2...
8ecf: 0E 20 40 00 80 80 80 00 1F 3D 7D FD F8 F6 8C E8
; ........
; ........
; ........
; ........
; ........
; ........
; .....1.1
; ........
8edf: 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00
; ....222.
; ...2..22
; ...2...2
; ....2..2
; ...2.22.
; ..2.....
; .2.2....
; 2.2.....
8eef: 00 00 00 00 00 00 00 00 0E 13 11 09 16 20 50 A0
; 111111.1
; 222222.1
; 222222.1
; ........
; 11.11111
; 22.12222
; 22.12222
; ........
8eff: FD 01 01 00 DF 10 10 00 00 FC FC 00 00 CF CF 00
; ........
; ........
; ........
; ........
; 3333333.
; 3333333.
; 3333333.
; ........
8f0f: 00 00 00 00 FE FE FE 00 00 00 00 00 FE FE FE 00
; ..1111..
; .1....1.
; 1..11..1
; 1.1....1
; 1.1....1
; 1..11..1
; .1....1.
; ..1111..
8f1f: 3C 42 99 A1 A1 99 42 3C 00 00 00 00 00 00 00 00
; .....2..
; ...2.22.
; 2..2222.
; 2..22222
; 2.222222
; 2.222222
; 22222222
; 22222222
8f2f: 00 00 00 00 00 00 00 00 04 16 9E 9F BF BF FF FF
; 22222222
; 22222222
; 2.222222
; 2.222222
; 2.222222
; 2..222.2
; ...22..2
; ....2...
8f3f: 00 00 00 00 00 00 00 00 FF FF BF BF BF 9D 19 08
; 3333333.
; 3333333.
; 3333333.
; ........
; 3333333.
; 3333333.
; 3333333.
; ........
8f4f: FE FE FE 00 FE FE FE 00 FE FE FE 00 FE FE FE 00
; Unused (available for more images)
8f5f: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8f6f: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8f7f: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8f8f: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8f9f: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8faf: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8fbf: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8fcf: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8fdf: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8fef: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
8FFF: FF
; The "attract mode" has two main modes:
; 042C=0 : The splash screen Zelda logo
; 042C=1 : The scrolling game text and treasure information
;
; There are several sequence functions within each mode:
; * Zelda logo:
; 042D=0 Main logo is shown for a moment
; 042D=1 Main logo is "blued out" for a moment
; 042D=2
; * Scrolling game text:
; 042D=0 Game plot scrolls up the screen
; 042D=1 Game plot steady for a moment
; 042D=2 Treasure info scrolls up the screen
; 042D=3 End of treasure info steady for a moment
9000: 20 25 E6 JSR $E625 ; Disable the video
9003: AD 2C 04 LDA !SplashMode ; Are we on the splash LOGO screen?
9006: D0 0C BNE $9014 ; No ... handle the treasure info sequence
;
9008: AD 2D 04 LDA !SplashSeq ; The splash sequence number
900B: 20 E2 E5 JSR $E5E2 ; Do the LOGO screen sequence function
900E: E7 94 ; 94E7 if A=0
9010: 12 95 ; 9512 if A=1
9012: 45 95 ; 9545 if A=2 ; Start the main Zelda theme, ?MORE?
9014 : AD 2D 04 LDA !SplashSeq ; The splash sequence number
9017: 20 E2 E5 JSR $E5E2 ; Do the TREASURE INFO screen sequence function
901A: E7 94 ; 94E7 if A=0
901C: 73 95 ; 9573 if A=1
901E: 9A 95 ; 959A if A=2
9020: A5 13 LDA <0013 ;
9022: D0 0C BNE $9030 ;
9024: AD 28 05 LDA 0528 ;
9027: D0 07 BNE $9030 ;
9029: 20 CF 90 JSR $90CF ;
902C: A5 11 LDA <0011 ;
902E: F0 2C BEQ $905C ;
9030 : A5 13 LDA <0013 ;
9032: 20 E2 E5 JSR $E5E2 ;
9035: 3B 90 ; 903B if A=0
9037: A0 A2 ; A2A0 if A=1
9039: 5D 90 ; 905D if A=2
903B: A5 F8 LDA <00F8 ;
903D: 29 10 AND #$10 ;
903F: F0 1B BEQ $905C ;
9041: 85 F6 STA <TileFlagB ;
9043: A9 00 LDA #$00 ;
9045: 8D 00 06 STA SND_ReqMusic ;
9048: 20 E9 6E JSR 6EE9 ; (BAT-RAM)
904B: A9 5A LDA #$5A ;
904D: 8D 28 05 STA 0528 ;
9050: E6 13 INC <0013 ;
9052: 20 25 E6 JSR $E625 ;
9055: 20 F7 E5 JSR $E5F7 ;
9058: A9 12 LDA #$12 ;
905A: 85 14 STA <0014 ;
905C : 60 RTS ;
905D: 20 25 E6 JSR $E625 ;
9060: A9 00 LDA #$00 ;
9062: 85 16 STA <0016 ;
9064: 20 F1 6D JSR 6DF1 ; (BAT-RAM)
9067: A0 02 LDY #$02 ;
9069 : B1 06 LDA (0006 ),Y ;
906B: 99 33 06 STA $0633,Y ;
906E: D0 13 BNE $9083 ;
9070: 98 TYA ;
9071: 48 PHA ;
9072: 84 16 STY <0016 ;
9074: 20 F1 6D JSR 6DF1 ; (BAT-RAM)
9077: 20 5D A3 JSR $A35D ;
907A: A9 00 LDA #$00 ;
907C: 85 16 STA <0016 ;
907E: 20 F1 6D JSR 6DF1 ; (BAT-RAM)
9081: 68 PLA ;
9082: A8 TAY ;
9083 : B1 0A LDA (000A ),Y ;
9085: 99 30 06 STA $0630,Y ;
9088: B1 0C LDA (000C ),Y ;
908A: 99 2D 06 STA $062D,Y ;
908D: 88 DEY ;
908E: 10 D9 BPL $9069 ;
9090: A0 18 LDY #$18 ;
9092: A2 00 LDX #$00 ;
9094 : B1 00 LDA (GP_00 ),Y ;
9096: 48 PHA ;
9097: 8A TXA ;
9098: 4A LSR A ;
9099: B0 0C BCS $90A7 ;
909B: 68 PLA ;
909C: 29 F0 AND #$F0 ;
909E: 85 0C STA <000C ;
90A0: 4A LSR A ;
90A1: 4A LSR A ;
90A2: 4A LSR A ;
90A3: 4A LSR A ;
90A4: 05 0C ORA <000C ;
90A6: 48 PHA ;
90A7 : 68 PLA ;
90A8: 9D 50 06 STA $0650,X ;
90AB: C8 INY ;
90AC: E8 INX ;
90AD: E0 06 CPX #$06 ;
90AF: F0 0B BEQ $90BC ;
90B1: 8A TXA ;
90B2: 4A LSR A ;
90B3: B0 DF BCS $9094 ;
90B5: 98 TYA ;
90B6: 69 26 ADC #$26 ;
90B8: A8 TAY ;
90B9: 4C 94 90 JMP $9094 ;
90BC : A0 17 LDY #$17 ;
90BE : B1 04 LDA (0004 ),Y ;
90C0: 99 38 06 STA $0638,Y ;
90C3: 88 DEY ;
90C4: 10 F8 BPL $90BE ;
90C6: E6 12 INC <0012 ;
90C8: A9 00 LDA #$00 ;
90CA: 85 11 STA <0011 ;
90CC: 85 13 STA <0013 ;
90CE: 60 RTS ;
90CF : AD 2C 04 LDA !SplashMode ;
90D2: D0 0A BNE $90DE ;
90D4: AD 2D 04 LDA !SplashSeq ;
90D7: 20 E2 E5 JSR $E5E2 ;
90DA: AC 95 ; 95AC if A=0
90DC: 79 9B ; 9B79 if A=1
90DE : AD 2D 04 LDA !SplashSeq ;
90E1: 20 E2 E5 JSR $E5E2 ;
90E4: C1 95 ; 95C1 if A=0
90E6: EC 95 ; 95EC if A=1
90E8: 0C 96 ; 960C if A=2
90EA: 30 98 ; 9830 if A=3
90EC: 3C 98 ; 983C if A=4
; ?? 70 bytes (accessed offset from 90ED)
90EE: 77 CA
90F0: C2 D0
90F2: 77 CC
90F4: C2 C8
90F6: 77 CA
90F8: 82 28
90FA: 77 CC
90FC: 82 30
90FE: 27 CA
9100: 42 D0
9102: 27 CC
9104: 42 C8
9106: 27 CA
9108: 02 28
910A: 27 CC
910C: 02 30
910E: 57 CE
9110: 02 74
9112: 57 D0
9114: 02 7C
9116: 31 D2
9118: 02 57
911A: 4F D2
911C: 02 CC
911E: 67 D2
9120: 02 7B
9122: 83 D2
9124: 02 50
9126: 31 D4
9128: 02 5F
912A: 3F D4
912C: 02 24
912E: 41 D4
9130: 02 64
9132: 7B D4
9134: 02 90
9136: 27 D6
9138: 02 50
913A: 2B D6
913C: 02 A0
913E: 4F D6
9140: 02 2C
9142: 7B D6
9144: 02 BC
9146: 67 A0
9148: 03 60
914A: 67 A0
914C: 03 68
914E: 67 A0
9150: 03 70
9152: 67 A0
9154: 03 78
9156: 67 A0
9158: 03 80
915A: 67 A0
915C: 03 88
915E : 80 ;
915F: 00 BRK ;
9160: 00 BRK ;
9161: 00 BRK ;
9162: 00 BRK ;
9163: 00 BRK ;
9164: 00 BRK ;
9165: 00 BRK ;
9166: 40 RTI ;
9167: 80 ;
9168: 80 ;
9169: 00 BRK ;
916A: 60 RTS ;
916B: 00 BRK ;
916C: 00 BRK ;
916D: 00 BRK ;
916E: 40 RTI ;
916F: 80 ;
9170: 00 BRK ;
9171: 00 BRK ;
9172: 60 RTS ;
9173: 00 BRK ;
9174: 00 BRK ;
9175: 00 BRK ;
9176: 00 BRK ;
9177: C0 00 CPY #$00 ;
9179: 00 BRK ;
917A: 60 RTS ;
917B: 00 BRK ;
917C: 40 RTI ;
917D: 00 BRK ;
917E: 00 BRK ;
917F: C0 00 CPY #$00 ;
9181: 00 BRK ;
9182: 20 00 40 JSR S_SQR1_A ;
9185: 00 BRK ;
9186: 00 BRK ;
9187: C0 00 CPY #$00 ;
9189: 00 BRK ;
918A: 20 00 40 JSR S_SQR1_A ;
918D: 00 BRK ;
918E: 40 RTI ;
918F: 80 ;
9190: 80 ;
9191: 00 BRK ;
9192: 20 00 40 JSR S_SQR1_A ;
9195: 00 BRK ;
9196: 40 RTI ;
9197: 80 ;
9198: 80 ;
9199: 00 BRK ;
919A: 60 RTS ;
919B: 00 BRK ;
919C: 00 BRK ;
919D: 00 BRK ;
919E: 40 RTI ;
919F: 80 ;
91A0: 80 ;
91A1: 00 BRK ;
91A2: 60 RTS ;
91A3: 00 BRK ;
91A4: 00 BRK ;
91A5: 00 BRK ;
91A6: 40 RTI ;
91A7: 80 ;
91A8: 00 BRK ;
91A9: 00 BRK ;
91AA: 60 RTS ;
91AB: 00 BRK ;
91AC: 00 BRK ;
91AD: 00 BRK ;
91AE: 40 RTI ;
91AF: 80 ;
91B0: 80 ;
91B1: 00 BRK ;
91B2: 60 RTS ;
91B3: 00 BRK ;
91B4: 00 BRK ;
91B5: 00 BRK ;
91B6: 40 RTI ;
91B7: C0 80 CPY #$80 ;
91B9: 00 BRK ;
91BA: 20 00 40 JSR S_SQR1_A ;
91BD: 00 BRK ;
91BE: 40 RTI ;
91BF: 80 ;
91C0: 80 ;
91C1: 00 BRK ;
91C2: 20 00 40 JSR S_SQR1_A ;
91C5: 00 BRK ;
91C6: 40 RTI ;
91C7: 80 ;
91C8: 80 ;
91C9: 00 BRK ;
91CA: 20 00 40 JSR S_SQR1_A ;
91CD: 00 BRK ;
91CE: 40 RTI ;
91CF: 80 ;
91D0: 00 BRK ;
91D1: 00 BRK ;
91D2: 20 00 40 JSR S_SQR1_A ;
91D5: 00 BRK ;
91D6: 40 RTI ;
91D7: 80 ;
91D8: 80 ;
91D9: 00 BRK ;
91DA: 60 RTS ;
91DB: 00 BRK ;
91DC: 00 BRK ;
91DD: 00 BRK ;
91DE: 40 RTI ;
91DF: 80 ;
91E0: 80 ;
91E1: 00 BRK ;
91E2: 60 RTS ;
91E3: 00 BRK ;
91E4: 00 BRK ;
91E5: 00 BRK ;
91E6: 00 BRK ;
91E7: C0 00 CPY #$00 ;
91E9: 00 BRK ;
91EA: 60 RTS ;
91EB: 00 BRK ;
91EC: 00 BRK ;
91ED: 00 BRK ;
91EE: 40 RTI ;
91EF: 00 BRK ;
91F0: C0 00 CPY #$00 ;
91F2: 00 BRK ;
91F3: 20 40 00 JSR 0040 ;
91F6: 00 BRK ;
91F7: 00 BRK ;
91F8: 40 RTI ;
91F9: 00 BRK ;
91FA: 00 BRK ;
91FB: 00 BRK ;
91FC: 00 BRK ;
91FD: 20 00 20 JSR P_CNTRL_1 ;
9200: 00 BRK ;
9201: 20 00 20 JSR P_CNTRL_1 ;
9204: 00 BRK ;
9205: 00 BRK ;
9206: 00 BRK ;
9207: 00 BRK ;
9208: 00 BRK ;
9209: 00 BRK ;
920A: 00 BRK ;
920B: 00 BRK ;
920C: 00 BRK ;
920D: 00 BRK ;
920E: 00 BRK ;
920F: 00 BRK ;
9210: 00 BRK ;
9211: 00 BRK ;
9212: 00 BRK ;
9213: 00 BRK ;
9214: 00 BRK ;
9215: 00 BRK ;
9216: 00 BRK ;
9217: 00 BRK ;
9218: 00 BRK ;
9219: 00 BRK ;
921A: 00 BRK ;
921B: 00 BRK ;
921C: 00 BRK ;
921D: 00 BRK ;
921E: 00 BRK ;
921F: 00 BRK ;
9220: 00 BRK ;
9221: 00 BRK ;
9222: 00 BRK ;
9223: 00 BRK ;
9224: 00 BRK ;
9225: 00 BRK ;
9226: 00 BRK ;
9227: 00 BRK ;
9228: 00 BRK ;
9229: 00 BRK ;
922A: 00 BRK ;
922B: 00 BRK ;
922C: 00 BRK ;
922D: 00 BRK ;
922E: 00 BRK ;
922F: 00 BRK ;
9230: 00 BRK ;
9231: 00 BRK ;
9232: 00 BRK ;
9233: 00 BRK ;
9234: 00 BRK ;
9235: 00 BRK ;
9236: 00 BRK ;
9237: 00 BRK ;
9238: 00 BRK ;
9239: 00 BRK ;
923A: 00 BRK ;
923B: 00 BRK ;
923C: 00 BRK ;
923D: 00 BRK ;
923E: 00 BRK ;
923F: 00 BRK ;
9240 : 22 ;
9241: 23 ;
9242: 18 CLC ;
9243: 1F ;
9244: 15 01 ORA GP_01 ,X ;
9246: 03 ;
9247: 1D 00 08 ORA $0800,X ;
924A: 06 12 ASL <0012 ;
924C: 14 ;
924D: 0C ;
924E: 10 19 BPL $9269 ;
9250: 17 ;
9251: 1B ;
9252: 30 31 BMI $9285 ;
9254: 32 ;
9255: 33 ;
9256 : 1A ;
9257: 21 0F AND (000F ,X) ;
9259: 20 04 02 JSR 0204 ;
925C: 1C ;
925D: 1E 0A 09 ASL $090A,X ;
9260: 07 ;
9261: 13 ;
9262: 05 0D ORA <000D ;
9264: 11 0B ORA (000B ),Y ;
9266 : 16 1B ASL 001B ,X ;
9268 : 44 ;
9269 : AC E0 E2 LDY $E2E0 ;
926C: EC EE F8 CPX $F8EE ;
926F: FA ;
9270: E4 E6 CPX <00E6 ;
9272: F0 F2 BEQ $9266 ;
9274: FC ;
9275: FE E8 EA INC $EAE8,X ;
9278: F4 ;
9279: F6 DC INC $DC,X ;
927B: DE 00 00 DEC GP_00 ,X ;
927E: 78 SEI ;
927F: 78 SEI ;
9280: 00 BRK ;
9281: 00 BRK ;
9282 : 00 BRK ;
9283: 00 BRK ;
9284: 00 BRK ;
9285 : 00 BRK ;
9286: 00 BRK ;
9287: 00 BRK ;
9288: 00 BRK ;
9289: 00 BRK ;
928A: 00 BRK ;
928B: 00 BRK ;
928C: 00 BRK ;
928D: 00 BRK ;
928E: 00 BRK ;
928F: 00 BRK ;
9290: 00 BRK ;
9291: 00 BRK ;
9292: 00 BRK ;
9293: 00 BRK ;
9294: 00 BRK ;
9295: 00 BRK ;
9296: 00 BRK ;
9297: 40 RTI ;
9298: 00 BRK ;
9299: 00 BRK ;
Treasure Text
TreasureText :
;@@@@@@@_ALL_OF_TREASURES_@@@@@@@
929A: 00 ; Start column 0
929B: E4 E5 E4 E5 E4 E5 E6 24 0A 15 15 24 18 0F 24 1D
92AB: 1B 0E 0A 1C 1E 1B 0E 1C 24 E6 E4 E5 E4 E5 E4 E5
92BB: FF
; HEART_____CONTAINER
92BC: 07 ; Start column 7
92BD: 11 0E 0A 1B 1D 24 24 24 24 24 0C 18 17 1D 0A 12
92CD: 17 0E 1B FF
; HEART
92D1: 14 ; Start column 20
92D2: 11 0E 0A 1B 1D FF
; FAIRY________CLOCK
92D8: 07 ; Start column 7
92D9: 0F 0A 12 1B 22 24 24 24 24 24 24 24 24 0C 15 18
92E9: 0C 14 FF
; RUPY_______5_RUPIES
92EC: 07 ; Start column 7
92ED: 1B 1E 19 22 24 24 24 24 24 24 24 05 24 1B 1E 19
92FD: 12 0E 1C FF
; SWORD________WHITE
9301: 07 ; Start column 7
9302: 1C 20 18 1B 0D 24 24 24 24 24 24 24 24 20 11 12
9312: 1D 0E FF
; SWORD
9315: 14 ; Start column 20
9316: 1C 20 18 1B 0D FF
; MAGICAL______MAGICAL
931C: 06 ; Start column 6
931D: 16 0A 10 12 0C 0A 15 24 24 24 24 24 24 16 0A 10
932D: 12 0C 0A 15 FF
; SWORD________SHIELD
9332: 07 ; Start column 7
9333: 1C 20 18 1B 0D 24 24 24 24 24 24 24 24 1C 11 12
9343: 0E 15 0D FF
; BOOMERANG_____MAGICAL
9347: 05 ; Start column 5
9348: 0B 18 18 16 0E 1B 0A 17 10 24 24 24 24 24 16 0A
9358: 10 12 0C 0A 15 FF
; BOOMERANG
935E: 12 ; Start column 18
935F: 0B 18 18 16 0E 1B 0A 17 10 FF
; BOMB__________BOW
9369: 07 ; Start column 7
936A: 0B 18 16 0B 24 24 24 24 24 24 24 24 24 24 0B 18
937A: 20 FF
; ARROW________SILVER
937C: 07 ; Start column 7
937D: 0A 1B 1B 18 20 24 24 24 24 24 24 24 24 1C 12 15
938D: 1F 0E 1B FF
; ARROW
9391: 14 ; Start column 20
9392: 0A 1B 1B 18 20 FF
; BLUE__________RED
9398: 07 ; Start column 7
9399: 0B 15 1E 0E 24 24 24 24 24 24 24 24 24 24 1B 0E
93A9: 0D FF
; CANDLE________CANDLE
93AB: 06 ; Start column 6
93AC: 0C 0A 17 0D 15 0E 24 24 24 24 24 24 24 24 0C 0A
93BC: 17 0D 15 0E FF
; BLUE__________RED
93C1: 07 ; Start column 7
93C2: 0B 15 1E 0E 24 24 24 24 24 24 24 24 24 24 1B 0E
93D2: 0D FF
; RING__________RING
93D4: 07 ; Start column 7
93D5: 1B 12 17 10 24 24 24 24 24 24 24 24 24 24 1B 12
93E5: 17 10 FF
; POWER_______RECORDER
93E8: 07 ; Start column 7
93E9: 19 18 20 0E 1B 24 24 24 24 24 24 24 1B 0E 0C 18
93F9: 1B 0D 0E 1B FF
; BRACELET
93FE: 05 ; Start column 5
93FF: 0B 1B 0A 0C 0E 15 0E 1D FF
; RAFT_______STEPLADDER
9408: 07 ; Start column 7
9409: 1B 0A 0F 1D 24 24 24 24 24 24 24 1C 1D 0E 19 15
9419: 0A 0D 0D 0E 1B FF
; MAGICAL______BOOK_OF
941F: 06 ; Start column 6
9420: 16 0A 10 12 0C 0A 15 24 24 24 24 24 24 0B 18 18
9430: 14 24 18 0F FF
; ROD_________MAGIC
9435: 08 ; Start column 8
9436: 1B 18 0D 24 24 24 24 24 24 24 24 24 16 0A 10 12
9446: 0C FF
; KEY________MAGICAL
9448: 08 ; Start column 8
9449: 14 0E 22 24 24 24 24 24 24 24 24 16 0A 10 12 0C
9459: 0A 15 FF
; KEY
945C: 15 ; Start column 21
945D: 14 0E 22 FF
; MAP________COMPASS
9461: 08 ; Start column 8
9462: 16 0A 19 24 24 24 24 24 24 24 24 0C 18 16 19 0A
9472: 1C 1C FF
; TRIFORCE
9475: 0C ; Start column 12
9476: 1D 1B 12 0F 18 1B 0C 0E FF
; LIFE_POTION___2ND_POTION
947F: 04 ; Start column 4
9480: 15 12 0F 0E 24 19 18 1D 12 18 17 24 24 24 02 17
9490: 0D 24 19 18 1D 12 18 17 FF
; LETTER________FOOD
9499: 06 ; Start column 6
949A: 15 0E 1D 1D 0E 1B 24 24 24 24 24 24 24 24 0F 18
94AA: 18 0D FF
Treasure Info Ptrs
TrInfoPtrs :
;
; The strings used on the treasure-info screen are varied sized.
; This table points to each string in the order it is shown.
;
94AD: 9A 92 ;@@@@@@@ ALL OF TREASURES @@@@@@@;
94AF: BC 92 ; HEART CONTAINER ;
94B1: D1 92 ; HEART ;
94B3: D8 92 ; FAIRY CLOCK ;
94B5: EC 92 ; RUPY 5 RUPIES ;
94B7: 7F 94 ; LIFE POTION 2ND POTION ;
94B9: 99 94 ; LETTER FOOD ;
94BB: 01 93 ; SWORD WHITE ;
94BD: 15 93 ; SWORD ;
94BF: 1C 93 ; MAGICAL MAGICAL ;
94C1: 32 93 ; SWORD SHIELD ;
94C3: 47 93 ; BOOMERANG MAGICAL ;
94C5: 5E 93 ; BOOMERANG ;
94C7: 69 93 ; BOMB BOW ;
94C9: 7C 93 ; ARROW SILVER ;
94CB: 91 93 ; ARROW ;
94CD: 98 93 ; BLUE RED ;
94CF: AB 93 ; CANDLE CANDLE ;
94D1: C1 93 ; BLUE RED ; Could have reused 9398
94D3: D4 93 ; RING RING ;
94D5: E8 93 ; POWER RECORDER ;
94D7: FE 93 ; BRACELET ;
94D9: 08 94 ; RAFT STEPLADDER ;
94DB: 1F 94 ; MAGICAL BOOK OF ;
94DD: 35 94 ; ROD MAGIC ;
94DF: 48 94 ; KEY MAGICAL ;
94E1: 5C 94 ; KEY ;
94E3: 61 94 ; MAP COMPASS ;
94E5: 75 94 ; TRIFORCE ;
94E7: 20 6D E4 JSR $E46D ; ??
94EA : EE 2D 04 INC !SplashSeq ; Next sequence routine
94ED: 60 RTS ; Done
94EE : 3F ;
94EF: 00 BRK ;
94F0: 20 36 0F JSR $0F36 ;
94F3: 00 BRK ;
94F4: 10 36 BPL $952C ;
94F6: 17 ;
94F7: 27 ;
94F8: 0F ;
94F9: 36 08 ROL 0008 ,X ;
94FB: 1A ;
94FC: 28 PLP ;
94FD: 36 30 ROL 0030 ,X ;
94FF: 3B ;
9500: 22 ;
9501: 36 30 ROL 0030 ,X ;
9503: 3B ;
9504: 16 36 ASL 0036 ,X ;
9506: 17 ;
9507: 27 ;
9508: 0F ;
9509: 36 08 ROL 0008 ,X ;
950B: 1A ;
950C: 28 PLP ;
950D: 36 30 ROL 0030 ,X ;
950F: 3B ;
9510: 22 ;
9511: FF ;
9512: A2 23 LDX #$23 ;
9514: 8E 00 03 STX 0300 ;
9517: 8E 01 03 STX 0301 ;
951A : BD EE 94 LDA $94EE ,X ;
951D: 9D 02 03 STA 0302 ,X ;
9520 : CA DEX ;
9521: 10 F7 BPL $951A ;
;
9523: A2 0A LDX #$0A ;
9525: A9 00 LDA #$00 ;
9527: 8D 2E 04 STA 042E ;
952A: 8D 2F 04 STA 042F ;
952D : 9D 12 04 STA 0412 ,X ;
9530: 9D 1F 04 STA 041F ,X ;
9533: 9D 37 04 STA 0437 ,X ;
9536: CA DEX ;
9537: 10 F4 BPL $952D ;
;
9539: A2 0A LDX #$0A ;
953B : A9 FF LDA #$FF ;
953D: 95 AC STA 00AC ,X ;
953F: CA DEX ;
9540: D0 F9 BNE $953B ;
9542: 4C EA 94 JMP $94EA ;
9545: A9 80 LDA #$80 ; Start splash song ...
9547: 8D 00 06 STA SND_ReqMusic ; ... (Zelda theme)
954A: A9 10 LDA #$10 ;
954C: 4C A2 95 JMP $95A2 ;
954F : 3F ;
9550: 00 BRK ;
9551: 20 0F 30 JSR $300F ;
9554: 30 30 BMI $9586 ;
9556: 0F ;
9557: 21 30 AND (0030 ,X) ;
9559: 30 0F BMI $956A ;
955B: 16 30 ASL 0030 ,X ;
955D: 30 0F BMI $956E ;
955F: 29 1A AND #$1A ;
9561: 09 0F ORA #$0F ;
9563: 29 37 AND #$37 ;
9565: 17 ;
9566: 0F ;
9567: 02 ;
9568: 22 ;
9569: 30 0F BMI $957A ;
956B: 16 27 ASL 0027 ,X ;
956D: 30 0F BMI $957E ;
956F: 0B ;
9570: 1B ;
9571: 2B ;
9572: FF ;
9573: A2 23 LDX #$23 ; ?? affects colors in splash info screen
9575: 8E 00 03 STX 0300 ;
9578: 8E 01 03 STX 0301 ;
957B : BD 4F 95 LDA $954F ,X ;
957E : 9D 02 03 STA 0302 ,X ;
9581: CA DEX ;
9582: 10 F7 BPL $957B ;
9584: A2 0A LDX #$0A ;
9586 : A9 00 LDA #$00 ;
9588 : 9D 12 04 STA 0412 ,X ;
958B: 9D 1F 04 STA 041F ,X ;
958E: 9D 37 04 STA 0437 ,X ;
9591: 9D 44 04 STA $0444,X ;
9594: CA DEX ;
9595: 10 F1 BPL $9588 ;
9597: 4C EA 94 JMP $94EA ;
959A: E6 5C INC <!FlipFlag ;
959C: A9 10 LDA #$10 ;
959E: 85 FC STA <CUR_VScroll ;
95A0: A9 02 LDA #$02 ;
95A2 : 85 14 STA <0014 ;
95A4: A9 00 LDA #$00 ; To first ...
95A6: 8D 2D 04 STA !SplashSeq ; ... sequence routine
95A9: E6 11 INC <0011 ;
95AB: 60 RTS ;
95AC: A5 15 LDA <0015 ;
95AE: 29 01 AND #$01 ;
95B0: F0 0B BEQ $95BD ;
95B2: EE 1A 04 INC !SeqCount ;
95B5: AD 1A 04 LDA !SeqCount ;
95B8: D0 03 BNE $95BD ;
95BA: 4C EA 94 JMP $94EA ;
95BD : 20 6B 98 JSR $986B ;
95C0: 60 RTS ;
95C1: A5 15 LDA <0015 ;
95C3: 29 01 AND #$01 ;
95C5: F0 11 BEQ $95D8 ;
95C7: E6 FC INC <CUR_VScroll ;
95C9: A5 FC LDA <CUR_VScroll ;
95CB: C9 F0 CMP #$F0 ;
95CD: D0 09 BNE $95D8 ;
95CF: EE 15 04 INC 0415 ;
95D2: A9 00 LDA #$00 ;
95D4: 85 FC STA <CUR_VScroll ;
95D6: E6 5C INC <!FlipFlag ;
95D8 : A5 FC LDA <CUR_VScroll ;
95DA: C9 08 CMP #$08 ;
95DC: D0 0D BNE $95EB ;
95DE: AD 15 04 LDA 0415 ;
95E1: F0 08 BEQ $95EB ;
95E3: A9 00 LDA #$00 ;
95E5: 8D 15 04 STA 0415 ;
95E8: EE 2D 04 INC !SplashSeq ; Next sequence routine
95EB : 60 RTS ;
95EC: EE 1A 04 INC !SeqCount ;
95EF: AD 1A 04 LDA !SeqCount ;
95F2: D0 03 BNE $95F7 ;
95F4: EE 2D 04 INC !SplashSeq ; Next sequence routine
95F7 : A9 29 LDA #$29 ;
95F9: 8D 1D 04 STA 041D ;
95FC: A9 00 LDA #$00 ;
95FE: 8D 1C 04 STA 041C ;
9601: A9 2B LDA #$2B ;
9603: 8D 18 04 STA 0418 ;
9606: A9 E0 LDA #$E0 ;
9608: 8D 17 04 STA 0417 ;
960B: 60 RTS ;
960C: 20 F7 E5 JSR $E5F7 ;
960F: 20 2A 97 JSR $972A ;
9612: 20 9D 97 JSR $979D ;
9615: A5 15 LDA <0015 ;
9617: 29 01 AND #$01 ;
9619: F0 23 BEQ $963E ;
961B: A2 0A LDX #$0A ;
961D : D6 84 DEC 0084 ,X ;
961F: CA DEX ;
9620: D0 FB BNE $961D ;
9622: EE 1B 04 INC 041B ;
9625: AD 1B 04 LDA 041B ;
9628: D0 03 BNE $962D ;
962A: EE 15 04 INC 0415 ;
962D : AD 15 04 LDA 0415 ;
9630: C9 05 CMP #$05 ;
9632: D0 0B BNE $963F ;
9634: AD 1B 04 LDA 041B ;
9637: C9 80 CMP #$80 ;
9639: D0 04 BNE $963F ;
963B: EE 2D 04 INC !SplashSeq ; Next sequence routine
963E : 60 RTS ;
963F : E6 FC INC <CUR_VScroll ;
9641: A5 FC LDA <CUR_VScroll ;
9643: C9 F0 CMP #$F0 ;
9645: D0 06 BNE $964D ;
9647: E6 5C INC <!FlipFlag ;
9649: A9 00 LDA #$00 ;
964B: 85 FC STA <CUR_VScroll ;
964D : AD 1B 04 LDA 041B ;
9650: 29 07 AND #$07 ;
9652: D0 EA BNE $963E ;
9654: 20 3A 97 JSR $973A ;
9657: A2 20 LDX #$20 ; 32 bytes in buffer
9659: A9 FF LDA #$FF ; Terminator value
965B: 9D 05 03 STA !BckGndBuf ,X ; Terminate list
965E: CA DEX ; Count the terminator
965F : A9 24 LDA #$24 ; ??
9661: 9D 05 03 STA !BckGndBuf ,X ; Fill ...
9664: CA DEX ; ... list ...
9665: 10 F8 BPL $965F ; ... with 24 (blank "space" tile)
9667: A9 20 LDA #$20 ;
9669: 8D 04 03 STA 0304 ;
966C: AD 1D 04 LDA 041D ;
966F: 8D 02 03 STA 0302 ;
9672: AD 1C 04 LDA 041C ;
9675: 8D 03 03 STA 0303 ;
9678: 18 CLC ;
9679: 69 20 ADC #$20 ;
967B: 8D 1C 04 STA 041C ;
967E: D0 06 BNE $9686 ;
9680: EE 1D 04 INC 041D ;
9683: 4C A7 96 JMP $96A7 ;
9686 : C9 C0 CMP #$C0 ;
9688: D0 1D BNE $96A7 ;
968A: AD 1D 04 LDA 041D ;
968D: C9 2B CMP #$2B ;
968F: D0 08 BNE $9699 ;
9691: A9 20 LDA #$20 ;
9693: 8D 1D 04 STA 041D ;
9696: 4C A2 96 JMP $96A2 ;
9699 : C9 23 CMP #$23 ;
969B: D0 0A BNE $96A7 ;
969D: A9 28 LDA #$28 ;
969F: 8D 1D 04 STA 041D ;
96A2 : A9 00 LDA #$00 ;
96A4: 8D 1C 04 STA 041C ;
96A7 : AE 19 04 LDX 0419 ;
96AA: BD 5E 91 LDA $915E ,X ;
96AD: 29 80 AND #$80 ;
96AF: F0 25 BEQ $96D6 ;
96B1: AD 2E 04 LDA 042E ;
96B4: 0A ASL A ;
96B5: AA TAX ;
96B6: A0 00 LDY #$00 ;
96B8: BD AD 94 LDA TrInfoPtrs ,X ; Get treasure info ...
96BB: 85 00 STA <GP_00 ; ... row ...
96BD: BD AE 94 LDA $94AE ,X ; ... address ...
96C0: 85 01 STA <GP_01 ; ... to pointer
96C2: B1 00 LDA (GP_00 ),Y ; Get ...
96C4: AA TAX ; ... column start
;
96C5 : C8 INY ; Next character ...
96C6: B1 00 LDA (GP_00 ),Y ; ... in string
96C8: C9 FF CMP #$FF ; End marker?
96CA: F0 07 BEQ $96D3 ; Yes ... move on
96CC: 9D 05 03 STA !BckGndBuf ,X ; Store to screen buffer
96CF: E8 INX ; Next in screen buffer
96D0: 4C C5 96 JMP $96C5 ; Next character in string
;
96D3 : EE 2E 04 INC 042E ;
96D6 : 20 DD 96 JSR $96DD ;
96D9: EE 19 04 INC 0419 ;
96DC: 60 RTS ;
96DD : AE 19 04 LDX 0419 ;
96E0: BD 5E 91 LDA $915E ,X ;
96E3: 29 40 AND #$40 ;
96E5: F0 42 BEQ $9729 ;
96E7: AD 18 04 LDA 0418 ;
96EA: 8D 25 03 STA 0325 ;
96ED: AD 17 04 LDA 0417 ;
96F0: 8D 26 03 STA 0326 ;
96F3: A9 48 LDA #$48 ;
96F5: 8D 27 03 STA 0327 ;
96F8: A9 00 LDA #$00 ;
96FA: 8D 28 03 STA 0328 ;
96FD: A9 FF LDA #$FF ;
96FF: 8D 29 03 STA 0329 ;
9702: EE 16 04 INC 0416 ;
9705: AD 17 04 LDA 0417 ;
9708: 18 CLC ;
9709: 69 08 ADC #$08 ;
970B: 8D 17 04 STA 0417 ;
970E: D0 19 BNE $9729 ;
9710: AD 18 04 LDA 0418 ; ?? Ensure color is right for text??
9713: C9 23 CMP #$23 ;
9715: D0 08 BNE $971F ;
9717: A9 2B LDA #$2B ;
9719: 8D 18 04 STA 0418 ;
971C: 4C 24 97 JMP $9724 ;
971F : A9 23 LDA #$23 ;
9721: 8D 18 04 STA 0418 ;
9724 : A9 C0 LDA #$C0 ;
9726: 8D 17 04 STA 0417 ;
9729 : 60 RTS ;
972A : A2 0A LDX #$0A ;
972C : B5 84 LDA 0084 ,X ;
972E: C9 F0 CMP #$F0 ;
9730: D0 04 BNE $9736 ;
9732: A9 FF LDA #$FF ;
9734: 95 AC STA 00AC ,X ;
9736 : CA DEX ;
9737: D0 F3 BNE $972C ;
9739: 60 RTS ;
973A : AC 19 04 LDY 0419 ;
973D: B9 5E 91 LDA $915E ,Y ;
9740: 29 20 AND #$20 ;
9742: D0 01 BNE $9745 ;
9744: 60 RTS ;
9745 : A2 0A LDX #$0A ;
9747 : B5 AC LDA 00AC ,X ;
9749: D0 04 BNE $974F ;
974B: CA DEX ;
974C: 4C 47 97 JMP $9747 ;
974F : AC 2F 04 LDY 042F ;
9752: B9 40 92 LDA $9240 ,Y ;
9755: 9D 44 04 STA $0444,X ;
9758: A9 EF LDA #$EF ;
975A: 95 84 STA 0084 ,X ;
975C: AD 68 92 LDA $9268 ;
975F: 95 70 STA 0070 ,X ;
9761: A9 00 LDA #$00 ;
9763: 95 AC STA 00AC ,X ;
9765: BD 44 04 LDA $0444,X ;
9768: C9 30 CMP #$30 ;
976A: B0 2A BCS $9796 ;
976C: CA DEX ;
976D: B9 56 92 LDA $9256 ,Y ;
9770: 9D 44 04 STA $0444,X ;
9773: A9 EF LDA #$EF ;
9775: 95 84 STA 0084 ,X ;
9777: AD 69 92 LDA $9269 ;
977A: 95 70 STA 0070 ,X ;
977C: A9 00 LDA #$00 ;
977E: 95 AC STA 00AC ,X ;
9780: B9 40 92 LDA $9240 ,Y ;
9783: C9 1B CMP #$1B ;
9785: D0 0B BNE $9792 ;
9787: A9 78 LDA #$78 ;
9789: 95 70 STA 0070 ,X ;
978B: 95 71 STA 0071 ,X ;
978D: A9 00 LDA #$00 ;
978F: 8D 30 04 STA 0430 ;
9792 : EE 2F 04 INC 042F ;
9795: 60 RTS ;
9796 : A9 68 LDA #$68 ;
9798: 95 70 STA 0070 ,X ;
979A: 4C 92 97 JMP $9792 ;
979D : A2 0A LDX #$0A ; ?? 10 sprites ??
979F : B5 AC LDA 00AC ,X ;
97A1: D0 1E BNE $97C1 ;
97A3: 8A TXA ;
97A4: 48 PHA ;
97A5: BD 44 04 LDA $0444,X ;
97A8: C9 23 CMP #$23 ;
97AA: D0 06 BNE $97B2 ;
97AC: 20 D8 97 JSR $97D8 ;
97AF: 4C BF 97 JMP $97BF ;
97B2 : C9 30 CMP #$30 ;
97B4: B0 06 BCS $97BC ;
97B6: 20 0E E7 JSR $E70E ;
97B9: 4C BF 97 JMP $97BF ;
97BC : 20 EA 97 JSR $97EA ;
97BF : 68 PLA ;
97C0: AA TAX ;
97C1 : CA DEX ;
97C2: D0 DB BNE $979F ;
97C4: 60 RTS ;
97C5: A2 04 LDX #$04 ;
97C7: C9 14 CMP #$14 ;
97C9: D0 02 BNE $97CD ;
97CB: A2 0C LDX #$0C ;
97CD : DE 50 02 DEC 0250 ,X ;
97D0: AA TAX ;
97D1: 38 SEC ;
97D2: E9 04 SBC #$04 ;
97D4: AA TAX ;
97D5: 10 F6 BPL $97CD ;
97D7: 60 RTS ;
97D8 : 20 93 FA JSR $FA93 ;
97DB: 20 86 79 JSR 7986 ;
97DE: 0A ASL A ;
97DF: 25 15 AND <0015 ;
97E1: 4A LSR A ;
97E2: 4A LSR A ;
97E3: 85 0C STA <000C ;
97E5: A0 14 LDY #$14 ;
97E7: 4C 15 79 JMP 7915 ;
97EA : BD 44 04 LDA $0444,X ;
97ED: 29 0F AND #$0F ;
97EF: 0A ASL A ;
97F0: 85 00 STA <GP_00 ;
97F2: 0A ASL A ;
97F3: 18 CLC ;
97F4: 65 00 ADC <GP_00 ;
97F6: A8 TAY ;
97F7: B5 84 LDA 0084 ,X ;
97F9: 85 00 STA <GP_00 ;
97FB: B5 70 LDA 0070 ,X ;
97FD: 85 01 STA <GP_01 ;
97FF: A9 05 LDA #$05 ;
9801: 85 02 STA <GP_02 ;
9803: 98 TYA ;
9804: 0A ASL A ;
9805: 0A ASL A ;
9806: AA TAX ;
9807 : B9 6A 92 LDA $926A ,Y ;
980A: F0 17 BEQ $9823 ;
980C: 9D 01 02 STA 0201 ,X ;
980F: A5 00 LDA <GP_00 ;
9811: 9D 00 02 STA 0200 ,X ;
9814: B9 82 92 LDA $9282 ,Y ;
9817: 9D 02 02 STA 0202 ,X ;
981A: A5 01 LDA <GP_01 ;
981C: 9D 03 02 STA $0203,X ;
981F: E8 INX ;
9820: E8 INX ;
9821: E8 INX ;
9822: E8 INX ;
9823 : A5 01 LDA <GP_01 ;
9825: 18 CLC ;
9826: 69 08 ADC #$08 ;
9828: 85 01 STA <GP_01 ;
982A: C8 INY ;
982B: C6 02 DEC <GP_02 ;
982D: 10 D8 BPL $9807 ;
982F: 60 RTS ;
9830: EE 1A 04 INC !SeqCount ; Increment the sequence count
9833: AD 1A 04 LDA !SeqCount ; Has it rolled ...
9836: D0 1C BNE $9854 ; ... to zero?
9838: EE 2D 04 INC !SplashSeq ; Yes ... next sequence routine
983B: 60 RTS ; Done
983C: EE 1A 04 INC !SeqCount ; Increment the sequence count
983F: AD 1A 04 LDA !SeqCount ; Has the main song ...
9842: C9 39 CMP #$39 ; ... come to an end (based on known time)
9844: D0 0E BNE $9854 ; No ... keep waiting
;
; Transition from scrolling text to splash logo
9846: A9 00 LDA #$00 ;
9848: 85 11 STA <0011 ;
984A: 8D 1A 04 STA !SeqCount ;
984D: 8D 2C 04 STA !SplashMode ; In the splash LOGO (first thing we do)
9850: 8D 2D 04 STA !SplashSeq ; First sequence routine
9853: 60 RTS ;
9854 : 20 F7 E5 JSR $E5F7 ;
9857: 20 9D 97 JSR $979D ;
985A: 60 RTS ;
985B : 3F ;
985C: 04 ;
985D: 04 ;
985E: 36 17 ;
9860: 27 ;
9861: 0F ;
9862: FF ;
9863 : 27 ;
9864: 37 ;
9865: 37 ;
9866: 27 ;
9867: 17 ;
9868: 07 ;
9869: 07 ;
986A: 17 ;
986B : A0 70 LDY #$70 ;
986D : B9 ED 90 LDA $90ED ,Y ;
9870: 99 FF 01 STA 01FF ,Y ;
9873: 88 DEY ;
9874: D0 F7 BNE $986D ;
9876: 20 C3 98 JSR $98C3 ;
9879: AD 12 04 LDA 0412 ;
987C: D0 2D BNE $98AB ;
987E: A0 07 LDY #$07 ;
9880 : B9 5B 98 LDA $985B ,Y ;
9883: 99 02 03 STA 0302 ,Y ;
9886: 88 DEY ;
9887: 10 F7 BPL $9880 ;
9889: AC 13 04 LDY 0413 ;
988C: B9 63 98 LDA $9863 ,Y ;
988F: 8D 07 03 STA 0307 ;
9892: A9 06 LDA #$06 ;
9894: 8D 12 04 STA 0412 ;
9897: EE 13 04 INC 0413 ;
989A: AD 13 04 LDA 0413 ;
989D: C9 08 CMP #$08 ;
989F: D0 0A BNE $98AB ;
98A1: A9 10 LDA #$10 ;
98A3 : 8D 12 04 STA 0412 ;
98A6: A9 00 LDA #$00 ;
98A8: 8D 13 04 STA 0413 ;
98AB : CE 12 04 DEC 0412 ;
98AE: 60 RTS ;
98AF : B2 ;
98B0: B4 B6 LDY 00B6 ,X ;
98B2: B8 CLV ;
98B3 : A2 A4 LDX #$A4 ;
98B5: A6 A8 LDX <00A8 ;
98B7 : 50 58 BVC $9911 ;
98B9: 60 RTS ;
98BA: 68 PLA ;
98BB : 70 80 BVS $983D ;
98BD: 90 A0 BCC $985F ;
98BF: B0 C0 BCS $9881 ;
98C1: D0 E0 BNE $98A3 ;
98C3 : AD 1F 04 LDA 041F ;
98C6: D0 21 BNE $98E9 ;
98C8: A9 B6 LDA #$B6 ;
98CA: 8D 20 04 STA 0420 ;
98CD: A9 C8 LDA #$C8 ;
98CF: 8D 21 04 STA 0421 ;
98D2: A9 D8 LDA #$D8 ;
98D4: 8D 22 04 STA 0422 ;
98D7: A9 C0 LDA #$C0 ;
98D9: 8D 23 04 STA 0423 ;
98DC: A9 D0 LDA #$D0 ;
98DE: 8D 24 04 STA 0424 ;
98E1: A9 DD LDA #$DD ;
98E3: 8D 25 04 STA 0425 ;
98E6: EE 1F 04 INC 041F ;
98E9 : A2 02 LDX #$02 ;
98EB : 20 F5 98 JSR $98F5 ;
98EE: CA DEX ;
98EF: 10 FA BPL $98EB ;
98F1: 20 43 99 JSR $9943 ;
98F4: 60 RTS ;
98F5 : FE 20 04 INC 0420 ,X ;
98F8: FE 20 04 INC 0420 ,X ;
98FB: BD 20 04 LDA 0420 ,X ;
98FE: C9 E3 CMP #$E3 ;
9900: 90 05 BCC $9907 ;
9902: A9 B2 LDA #$B2 ;
9904: 9D 20 04 STA 0420 ,X ;
9907 : 85 05 STA <0005 ;
9909: A8 TAY ;
990A: A9 10 LDA #$10 ;
990C: C0 C2 CPY #$C2 ;
990E: B0 07 BCS $9917 ;
9910: 4A LSR A ;
9911 : C0 B9 CPY #$B9 ;
9913: B0 02 BCS $9917 ;
9915: A9 00 LDA #$00 ;
9917 : 85 00 STA <GP_00 ;
9919: 86 02 STX <GP_02 ;
991B: BC BB 98 LDY $98BB ,X ;
991E: A2 03 LDX #$03 ;
9920 : BD AF 98 LDA $98AF ,X ;
9923: 18 CLC ;
9924: 65 00 ADC <GP_00 ;
9926: 99 01 02 STA 0201 ,Y ;
9929: BD B7 98 LDA $98B7 ,X ;
992C: 99 03 02 STA $0203,Y ;
992F: A5 05 LDA <0005 ;
9931: 99 00 02 STA 0200 ,Y ;
9934: A9 00 LDA #$00 ;
9936: 99 02 02 STA 0202 ,Y ;
9939: C8 INY ;
993A: C8 INY ;
993B: C8 INY ;
993C: C8 INY ;
993D: CA DEX ;
993E: 10 E0 BPL $9920 ;
9940: A6 02 LDX <GP_02 ;
9942: 60 RTS ;
9943 : A2 03 LDX #$03 ;
9945: A0 F0 LDY #$F0 ;
9947 : A5 15 LDA <0015 ;
9949: 29 08 AND #$08 ;
994B: 7D B3 98 ADC $98B3 ,X ;
994E: 99 01 02 STA 0201 ,Y ;
9951: A9 A8 LDA #$A8 ;
9953: 99 00 02 STA 0200 ,Y ;
9956: BD B7 98 LDA $98B7 ,X ;
9959: 99 03 02 STA $0203,Y ;
995C: A9 00 LDA #$00 ;
995E: 99 02 02 STA 0202 ,Y ;
9961: C8 INY ;
9962: C8 INY ;
9963: C8 INY ;
9964: C8 INY ;
9965: CA DEX ;
9966: 10 DF BPL $9947 ;
9968: 60 RTS ;
9969: 36 0F ROL 000F ,X ;
996B: 00 BRK ;
996C: 10 36 BPL $99A4 ;
996E: 17 ;
996F: 27 ;
9970: 0F ;
9971: 36 08 ROL 0008 ,X ;
9973: 1A ;
9974: 28 PLP ;
9975: 36 30 ROL 0030 ,X ;
9977: 3B ;
9978: 22 ;
9979: 36 30 ROL 0030 ,X ;
997B: 3B ;
997C: 16 36 ASL 0036 ,X ;
997E: 17 ;
997F: 27 ;
9980: 0F ;
9981: 36 08 ROL 0008 ,X ;
9983: 1A ;
9984: 28 PLP ;
9985: 36 30 ROL 0030 ,X ;
9987: 3B ;
9988: 22 ;
9989: 39 0F 00 AND 000F ,Y ;
998C: 10 39 BPL $99C7 ;
998E: 17 ;
998F: 27 ;
9990: 0F ;
9991: 39 08 1A AND $1A08,Y ;
9994: 28 PLP ;
9995: 39 30 3B AND $3B30,Y ;
9998: 22 ;
9999: 39 30 3B AND $3B30,Y ;
999C: 16 39 ASL 0039 ,X ;
999E: 17 ;
999F: 27 ;
99A0: 0F ;
99A1: 39 08 1A AND $1A08,Y ;
99A4 : 28 PLP ;
99A5: 39 30 3B AND $3B30,Y ;
99A8: 22 ;
99A9: 31 0F AND (000F ),Y ;
99AB: 00 BRK ;
99AC: 10 31 BPL $99DF ;
99AE: 17 ;
99AF: 27 ;
99B0: 0F ;
99B1: 31 08 AND (0008 ),Y ;
99B3: 1A ;
99B4: 28 PLP ;
99B5: 31 30 AND (0030 ),Y ;
99B7: 3B ;
99B8: 22 ;
99B9: 31 30 AND (0030 ),Y ;
99BB: 3B ;
99BC: 16 31 ASL 0031 ,X ;
99BE: 17 ;
99BF: 27 ;
99C0: 0F ;
99C1: 31 08 AND (0008 ),Y ;
99C3: 1A ;
99C4: 28 PLP ;
99C5: 31 30 AND (0030 ),Y ;
99C7 : 3B ;
99C8: 22 ;
99C9: 3C ;
99CA: 0F ;
99CB: 00 BRK ;
99CC: 10 3C BPL $9A0A ;
99CE: 17 ;
99CF: 27 ;
99D0: 0F ;
99D1: 3C ;
99D2: 08 PHP ;
99D3: 1A ;
99D4: 28 PLP ;
99D5: 3C ;
99D6: 30 3B BMI $9A13 ;
99D8: 22 ;
99D9: 3C ;
99DA: 30 3B BMI $9A17 ;
99DC: 16 3C ASL 003C ,X ;
99DE: 17 ;
99DF : 27 ;
99E0: 0F ;
99E1: 3C ;
99E2: 08 PHP ;
99E3: 1A ;
99E4: 28 PLP ;
99E5: 3C ;
99E6: 30 3B BMI $9A23 ;
99E8: 22 ;
99E9: 3B ;
99EA: 0F ;
99EB: 00 BRK ;
99EC: 10 3B BPL $9A29 ;
99EE: 17 ;
99EF: 27 ;
99F0: 0F ;
99F1: 3B ;
99F2: 08 PHP ;
99F3: 1A ;
99F4: 28 PLP ;
99F5: 3B ;
99F6: 10 3B BPL $9A33 ;
99F8: 22 ;
99F9: 3B ;
99FA: 10 3B BPL $9A37 ;
99FC: 16 3B ASL 003B ,X ;
99FE: 17 ;
99FF: 27 ;
9A00: 0F ;
9A01: 3B ;
9A02: 08 PHP ;
9A03: 1A ;
9A04: 28 PLP ;
9A05: 3B ;
9A06: 10 3B BPL $9A43 ;
9A08: 22 ;
9A09: 2C 0F 00 BIT 000F ;
9A0C: 10 2C BPL $9A3A ;
9A0E: 17 ;
9A0F: 27 ;
9A10: 0F ;
9A11: 2C 08 1A BIT $1A08 ;
9A14: 28 PLP ;
9A15: 2C 10 3B BIT $3B10 ;
9A18: 22 ;
9A19: 2C 10 3B BIT $3B10 ;
9A1C: 16 2C ASL 002C ,X ;
9A1E: 17 ;
9A1F: 27 ;
9A20: 0F ;
9A21: 2C 08 1A BIT $1A08 ;
9A24: 28 PLP ;
9A25: 2C 10 3B BIT $3B10 ;
9A28: 22 ;
9A29 : 1C ;
9A2A: 0F ;
9A2B: 00 BRK ;
9A2C: 10 1C BPL $9A4A ;
9A2E: 17 ;
9A2F: 27 ;
9A30: 0F ;
9A31: 1C ;
9A32: 08 PHP ;
9A33 : 1A ;
9A34: 28 PLP ;
9A35: 1C ;
9A36: 10 3B BPL $9A73 ;
9A38: 22 ;
9A39: 1C ;
9A3A : 10 3B BPL $9A77 ;
9A3C: 16 1C ASL 001C ,X ;
9A3E: 17 ;
9A3F: 27 ;
9A40: 0F ;
9A41: 1C ;
9A42: 08 PHP ;
9A43 : 1A ;
9A44: 28 PLP ;
9A45: 1C ;
9A46: 10 3B BPL $9A83 ;
9A48: 22 ;
9A49: 02 ;
9A4A : 0F ;
9A4B: 00 BRK ;
9A4C: 10 02 BPL $9A50 ;
9A4E: 06 27 ASL <0027 ;
9A50 : 0F ;
9A51: 02 ;
9A52: 0A ASL A ;
9A53: 1A ;
9A54: 18 CLC ;
9A55: 02 ;
9A56: 10 2B BPL $9A83 ;
9A58: 12 ;
9A59: 02 ;
9A5A: 10 2B BPL $9A87 ;
9A5C: 06 02 ASL <GP_02 ;
9A5E: 06 27 ASL <0027 ;
9A60: 0F ;
9A61: 02 ;
9A62: 0A ASL A ;
9A63: 1A ;
9A64: 18 CLC ;
9A65: 02 ;
9A66: 10 2B BPL $9A93 ;
9A68: 12 ;
9A69: 0C ;
9A6A: 0F ;
9A6B: 00 BRK ;
9A6C: 10 0C BPL $9A7A ;
9A6E: 03 ;
9A6F: 16 0F ASL 000F ,X ;
9A71: 0C ;
9A72: 01 0A ORA (000A ,X) ;
9A74: 08 PHP ;
9A75: 0C ;
9A76: 00 BRK ;
9A77 : 1B ;
9A78: 02 ;
9A79: 0C ;
9A7A : 00 BRK ;
9A7B: 1B ;
9A7C: 02 ;
9A7D: 0C ;
9A7E: 03 ;
9A7F: 16 0F ASL 000F ,X ;
9A81: 0C ;
9A82: 01 0A ORA (000A ,X) ;
9A84: 08 PHP ;
9A85: 0C ;
9A86: 00 BRK ;
9A87 : 1B ;
9A88: 02 ;
9A89: 0F ;
9A8A: 0F ;
9A8B: 0F ;
9A8C: 00 BRK ;
9A8D: 0F ;
9A8E: 01 11 ORA (0011 ,X) ;
9A90: 0F ;
9A91: 0F ;
9A92: 0C ;
9A93 : 01 02 ORA (GP_02 ,X) ;
9A95: 0F ;
9A96: 00 BRK ;
9A97: 01 0C ORA (000C ,X) ;
9A99: 0F ;
9A9A: 00 BRK ;
9A9B: 01 0C ORA (000C ,X) ;
9A9D: 0F ;
9A9E: 01 11 ORA (0011 ,X) ;
9AA0: 0F ;
9AA1: 0F ;
9AA2: 0C ;
9AA3: 01 02 ORA (GP_02 ,X) ;
9AA5: 0F ;
9AA6: 00 BRK ;
9AA7: 01 0C ORA (000C ,X) ;
9AA9: 0F ;
9AAA: 0F ;
9AAB: 0F ;
9AAC: 00 BRK ;
9AAD: 0F ;
9AAE: 01 11 ORA (0011 ,X) ;
9AB0: 0F ;
9AB1: 0F ;
9AB2: 0F ;
9AB3: 0C ;
9AB4: 01 0F ORA (000F ,X) ;
9AB6: 01 0C ORA (000C ,X) ;
9AB8: 0F ;
9AB9: 0F ;
9ABA: 01 0C ORA (000C ,X) ;
9ABC: 0F ;
9ABD: 0F ;
9ABE: 01 11 ORA (0011 ,X) ;
9AC0: 0F ;
9AC1: 0F ;
9AC2: 0F ;
9AC3: 0C ;
9AC4: 01 0F ORA (000F ,X) ;
9AC6: 01 0C ORA (000C ,X) ;
9AC8: 0F ;
9AC9: 0F ;
9ACA: 0F ;
9ACB: 0F ;
9ACC: 0F ;
9ACD: 0F ;
9ACE: 0F ;
9ACF: 01 0F ORA (000F ,X) ;
9AD1: 0F ;
9AD2: 0F ;
9AD3: 0F ;
9AD4: 0C ;
9AD5: 0F ;
9AD6: 0C ;
9AD7: 0F ;
9AD8: 0F ;
9AD9: 0F ;
9ADA: 0C ;
9ADB: 0F ;
9ADC: 0F ;
9ADD: 0F ;
9ADE: 0F ;
9ADF: 01 0F ORA (000F ,X) ;
9AE1: 0F ;
9AE2: 0F ;
9AE3: 0F ;
9AE4: 0C ;
9AE5: 0F ;
9AE6: 0C ;
9AE7: 0F ;
9AE8: 0F ;
9AE9: 0F ;
9AEA: 0F ;
9AEB: 0F ;
9AEC: 0F ;
9AED: 0F ;
9AEE: 0F ;
9AEF: 0F ;
9AF0: 0F ;
9AF1: 0F ;
9AF2: 0F ;
9AF3: 0F ;
9AF4: 0F ;
9AF5: 0F ;
9AF6: 0F ;
9AF7: 0F ;
9AF8: 0F ;
9AF9: 0F ;
9AFA: 0F ;
9AFB: 0F ;
9AFC: 0F ;
9AFD: 0F ;
9AFE: 0F ;
9AFF: 0F ;
9B00: 0F ;
9B01: 0F ;
9B02: 0F ;
9B03: 0F ;
9B04: 0F ;
9B05: 0F ;
9B06: 0F ;
9B07: 0F ;
9B08: 0F ;
9B09: 0F ;
9B0A: 0F ;
9B0B: 0F ;
9B0C: 0F ;
9B0D: 0F ;
9B0E: 0F ;
9B0F: 0F ;
9B10: 0F ;
9B11: 0F ;
9B12: 0F ;
9B13: 0F ;
9B14: 0F ;
9B15: 0F ;
9B16: 0F ;
9B17: 0F ;
9B18: 0F ;
9B19: 0F ;
9B1A: 0F ;
9B1B: 0F ;
9B1C: 0F ;
9B1D: 0F ;
9B1E: 0F ;
9B1F: 0F ;
9B20: 0F ;
9B21: 0F ;
9B22: 0F ;
9B23: 0F ;
9B24: 0F ;
9B25: 0F ;
9B26: 0F ;
9B27: 0F ;
9B28: 0F ;
9B29: 0F ;
9B2A: 0F ;
9B2B: 0F ;
9B2C: 0F ;
9B2D: 0F ;
9B2E: 0F ;
9B2F: 0F ;
9B30: 0F ;
9B31: 0F ;
9B32: 0F ;
9B33: 0F ;
9B34: 0F ;
9B35: 0F ;
9B36: 0F ;
9B37: 0F ;
9B38: 0F ;
9B39: 0F ;
9B3A: 0F ;
9B3B: 0F ;
9B3C: 0F ;
9B3D: 0F ;
9B3E: 0F ;
9B3F: 0F ;
9B40: 0F ;
9B41: 0F ;
9B42: 0F ;
9B43: 0F ;
9B44: 0F ;
9B45: 0F ;
9B46: 0F ;
9B47: 0F ;
9B48: 0F ;
9B49: 0F ;
9B4A: 0F ;
9B4B: 0F ;
9B4C: 0F ;
9B4D: 0F ;
9B4E: 0F ;
9B4F: 0F ;
9B50: 0F ;
9B51: 0F ;
9B52: 0F ;
9B53: 0F ;
9B54: 0F ;
9B55: 0F ;
9B56: 0F ;
9B57: 0F ;
9B58: 0F ;
9B59: 0F ;
9B5A: 0F ;
9B5B: 0F ;
9B5C: 0F ;
9B5D: 0F ;
9B5E: 0F ;
9B5F: 0F ;
9B60: 0F ;
9B61: 0F ;
9B62: 0F ;
9B63: 0F ;
9B64: 0F ;
9B65: 0F ;
9B66: 0F ;
9B67: 0F ;
9B68 : 0F ;
9B69: 08 PHP ;
9B6A: 08 PHP ;
9B6B: 06 05 ASL <0005 ;
9B6D: 04 ;
9B6E: 03 ;
9B6F: 02 ;
9B70: 02 ;
9B71: 02 ;
9B72: C0 06 CPY #$06 ;
9B74: 04 ;
9B75: C0 03 CPY #$03 ;
9B77: 04 ;
9B78: 04 ;
9B79: AD 38 04 LDA 0438 ;
9B7C: D0 52 BNE $9BD0 ;
9B7E: A9 00 LDA #$00 ;
9B80: 85 01 STA <GP_01 ;
9B82: AD 37 04 LDA 0437 ;
9B85: 0A ASL A ;
9B86: 0A ASL A ;
9B87: 0A ASL A ;
9B88: 0A ASL A ;
9B89: 26 01 ROL <GP_01 ;
9B8B: 0A ASL A ;
9B8C: 26 01 ROL <GP_01 ;
9B8E: 69 69 ADC #$69 ;
9B90: 85 00 STA <GP_00 ;
9B92: A5 01 LDA <GP_01 ;
9B94: 69 99 ADC #$99 ;
9B96: 85 01 STA <GP_01 ;
9B98: A9 3F LDA #$3F ;
9B9A: 8D 02 03 STA 0302 ;
9B9D: A9 00 LDA #$00 ;
9B9F: 8D 03 03 STA 0303 ;
9BA2: A9 20 LDA #$20 ;
9BA4: 8D 04 03 STA 0304 ;
9BA7: A0 1F LDY #$1F ;
9BA9: A9 FF LDA #$FF ;
9BAB: 99 06 03 STA 0306 ,Y ;
9BAE : B1 00 LDA (GP_00 ),Y ;
9BB0: 99 05 03 STA !BckGndBuf ,Y ;
9BB3: 88 DEY ;
9BB4: 10 F8 BPL $9BAE ;
9BB6: EE 37 04 INC 0437 ;
9BB9: AC 37 04 LDY 0437 ;
9BBC: B9 68 9B LDA $9B68 ,Y ;
9BBF: 8D 38 04 STA 0438 ;
9BC2: C0 0E CPY #$0E ;
9BC4: 90 0A BCC $9BD0 ;
9BC6: EE 2C 04 INC !SplashMode ; Leaving logo mode ... do scrolling game text
9BC9: A9 00 LDA #$00 ; First sequence ...
9BCB: 8D 2D 04 STA !SplashSeq ; ... in scrolling game text
9BCE: 85 11 STA <0011 ;
9BD0 : CE 38 04 DEC 0438 ;
9BD3: 20 C3 98 JSR $98C3 ;
9BD6: 60 RTS ;
9BD7: FF ;
9BD8: FF ;
9BD9: FF ;
9BDA: FF ;
9BDB: FF ;
9BDC: FF ;
9BDD: FF ;
9BDE: FF ;
9BDF: FF ;
9BE0: FF ;
9BE1: FF ;
9BE2: FF ;
9BE3: FF ;
9BE4: FF ;
9BE5: FF ;
9BE6: FF ;
9BE7: FF ;
9BE8: FF ;
9BE9: FF ;
9BEA: FF ;
9BEB: FF ;
9BEC: FF ;
9BED: FF ;
9BEE: FF ;
9BEF: FF ;
9BF0: FF ;
9BF1: FF ;
9BF2: FF ;
9BF3: FF ;
9BF4: FF ;
9BF5: FF ;
9BF6: FF ;
9BF7: FF ;
9BF8: FF ;
9BF9: FF ;
9BFA: FF ;
9BFB: FF ;
9BFC: FF ;
9BFD: FF ;
9BFE: FF ;
9BFF: FF ;
9C00: FF ;
9C01: FF ;
9C02: FF ;
9C03: FF ;
9C04: FF ;
9C05: FF ;
9C06: FF ;
9C07: FF ;
9C08: FF ;
9C09: FF ;
9C0A: FF ;
9C0B: FF ;
9C0C: FF ;
9C0D: FF ;
9C0E: FF ;
9C0F: FF ;
9C10: FF ;
9C11: FF ;
9C12: FF ;
9C13: FF ;
9C14: FF ;
9C15: FF ;
9C16: FF ;
9C17: FF ;
9C18: FF ;
9C19: FF ;
9C1A: FF ;
9C1B: FF ;
9C1C: FF ;
9C1D: FF ;
9C1E: FF ;
9C1F: FF ;
9C20: FF ;
9C21: FF ;
9C22: FF ;
9C23: FF ;
9C24: FF ;
9C25: FF ;
9C26: FF ;
9C27: FF ;
9C28: FF ;
9C29: FF ;
9C2A: FF ;
9C2B: FF ;
9C2C: FF ;
9C2D: FF ;
9C2E: FF ;
9C2F: FF ;
9C30: FF ;
9C31: FF ;
9C32: FF ;
9C33: FF ;
9C34: FF ;
9C35: FF ;
9C36: FF ;
9C37: FF ;
9C38: FF ;
9C39: FF ;
9C3A: FF ;
9C3B: FF ;
9C3C: FF ;
9C3D: FF ;
9C3E: FF ;
9C3F: FF ;
9C40: FF ;
9C41: FF ;
9C42: FF ;
9C43: FF ;
9C44: FF ;
9C45: FF ;
9C46: FF ;
9C47: FF ;
9C48: FF ;
9C49: FF ;
9C4A: FF ;
9C4B: FF ;
9C4C: FF ;
9C4D: FF ;
9C4E: FF ;
9C4F: FF ;
9C50: FF ;
9C51: FF ;
9C52: FF ;
9C53: FF ;
9C54: FF ;
9C55: FF ;
9C56: FF ;
9C57: FF ;
9C58: FF ;
9C59: FF ;
9C5A: FF ;
9C5B: FF ;
9C5C: FF ;
9C5D: FF ;
9C5E: FF ;
9C5F: FF ;
9C60: FF ;
9C61: FF ;
9C62: FF ;
9C63: FF ;
9C64: FF ;
9C65: FF ;
9C66: FF ;
9C67: FF ;
9C68: FF ;
9C69: FF ;
9C6A: FF ;
9C6B: FF ;
9C6C: FF ;
9C6D: FF ;
9C6E: FF ;
9C6F: FF ;
9C70: FF ;
9C71: FF ;
9C72: FF ;
9C73: FF ;
9C74: FF ;
9C75: FF ;
9C76: FF ;
9C77: FF ;
9C78: FF ;
9C79: FF ;
9C7A: FF ;
9C7B: FF ;
9C7C: FF ;
9C7D: FF ;
9C7E: FF ;
9C7F: FF ;
9C80: FF ;
9C81: FF ;
9C82: FF ;
9C83: FF ;
9C84: FF ;
9C85: FF ;
9C86: FF ;
9C87: FF ;
9C88: FF ;
9C89: FF ;
9C8A: FF ;
9C8B: FF ;
9C8C: FF ;
9C8D: FF ;
9C8E: FF ;
9C8F: FF ;
9C90: FF ;
9C91: FF ;
9C92: FF ;
9C93: FF ;
9C94: FF ;
9C95: FF ;
9C96: FF ;
9C97: FF ;
9C98: FF ;
9C99: FF ;
9C9A: FF ;
9C9B: FF ;
9C9C: FF ;
9C9D: FF ;
9C9E: FF ;
9C9F: FF ;
9CA0: FF ;
9CA1: FF ;
9CA2: FF ;
9CA3: FF ;
9CA4: FF ;
9CA5: FF ;
9CA6: FF ;
9CA7: FF ;
9CA8: FF ;
9CA9: FF ;
9CAA: FF ;
9CAB: FF ;
9CAC: FF ;
9CAD: FF ;
9CAE: FF ;
9CAF: FF ;
9CB0: FF ;
9CB1: FF ;
9CB2: FF ;
9CB3: FF ;
9CB4: FF ;
9CB5: FF ;
9CB6: FF ;
9CB7: FF ;
9CB8: FF ;
9CB9: FF ;
9CBA: FF ;
9CBB: FF ;
9CBC: FF ;
9CBD: FF ;
9CBE: FF ;
9CBF: FF ;
9CC0: FF ;
9CC1: FF ;
9CC2: FF ;
9CC3: FF ;
9CC4: FF ;
9CC5: FF ;
9CC6: FF ;
9CC7: FF ;
9CC8: FF ;
9CC9: FF ;
9CCA: FF ;
9CCB: FF ;
9CCC: FF ;
9CCD: FF ;
9CCE: FF ;
9CCF: FF ;
9CD0: FF ;
9CD1: FF ;
9CD2: FF ;
9CD3: FF ;
9CD4: FF ;
9CD5: FF ;
9CD6: FF ;
9CD7: FF ;
9CD8: FF ;
9CD9: FF ;
9CDA: FF ;
9CDB: FF ;
9CDC: FF ;
9CDD: FF ;
9CDE: FF ;
9CDF: FF ;
9CE0: FF ;
9CE1: FF ;
9CE2: FF ;
9CE3: FF ;
9CE4: FF ;
9CE5: FF ;
9CE6: FF ;
9CE7: FF ;
9CE8: FF ;
9CE9: FF ;
9CEA: FF ;
9CEB: FF ;
9CEC: FF ;
9CED: FF ;
9CEE: FF ;
9CEF: FF ;
9CF0: FF ;
9CF1: FF ;
9CF2: FF ;
9CF3: FF ;
9CF4: FF ;
9CF5: FF ;
9CF6: FF ;
9CF7: FF ;
9CF8: FF ;
9CF9: FF ;
9CFA: FF ;
9CFB: FF ;
9CFC: FF ;
9CFD: FF ;
9CFE: FF ;
9CFF: FF ;
9D00 : 98 TYA ;
9D01: 68 PLA ;
9D02: 10 69 BPL $9D6D ;
9D04: 80 ;
9D05: 68 PLA ;
9D06: 90 6D BCC $9D75 ;
9D08: 93 ;
9D09: 6D 96 6D ADC 6D96 ;
9D0C: 99 6D C0 STA $C06D,Y ;
9D0F: 68 PLA ;
9D10: 90 6A BCC $9D7C ;
9D12: 88 DEY ;
9D13: 68 PLA ;
9D14: 91 6D STA (SND_MusEffBell ),Y ;
9D16: 94 6D STY SND_MusEffBell ,X ;
9D18: 97 ;
9D19: 6D 9A 6D ADC 6D9A ;
9D1C: E8 INX ;
9D1D: 68 PLA ;
9D1E: 10 6C BPL $9D8C ;
9D20: 90 68 BCC $9D8A ;
9D22: 92 ;
9D23: 6D 95 6D ADC 6D95 ;
9D26: 98 TYA ;
9D27: 6D 9B 6D ADC 6D9B ;
9D2A : A9 FF LDA #$FF ;
9D2C: A4 16 LDY <0016 ;
9D2E : 18 CLC ;
9D2F: 69 0E ADC #$0E ;
9D31: 88 DEY ;
9D32: 10 FA BPL $9D2E ;
9D34: A8 TAY ;
9D35: A2 0D LDX #$0D ;
9D37 : B9 00 9D LDA $9D00 ,Y ;
9D3A: 95 C0 STA 00C0 ,X ;
9D3C: 88 DEY ;
9D3D: CA DEX ;
9D3E: 10 F7 BPL $9D37 ;
9D40: 60 RTS ;
9D41 : 20 64 19 JSR $1964 ;
9D44: 6A ROR A ;
9D45: 6A ROR A ;
9D46: 6A ROR A ;
9D47: 6A ROR A ;
; ELIMINATION_MODE
9D48: 0E 15 12 ASL $1215 ;
9D4B: 16 12 ASL 0012 ,X ;
9D4D: 17 ;
9D4E: 0A ASL A ;
9D4F: 1D 12 18 ORA $1812,X ;
9D52: 17 ;
9D53: 24 24 BIT <0024 ;
9D55: 16 18 ASL 0018 ,X ;
9D57: 0D 0E 6A ORA 6A0E ;
9D5A: 6A ROR A ;
9D5B: 6A ROR A ;
9D5C: 6A ROR A ;
9D5D: FF ;
; REGISTER_YOUR_NAMEREGISTER___W@8________X@8________X@8________X@FELIMINATION_END
9D5E : 1B ;
9D5F: 0E 10 12 ASL $1210 ;
9D62: 1C ;
9D63: 1D 0E 1B ORA $1B0E,X ;
9D66: 24 22 BIT <0022 ;
9D68: 18 CLC ;
9D69: 1E 1B 24 ASL $241B,X ;
9D6C: 17 ;
9D6D : 0A ASL A ;
9D6E: 16 0E ASL 000E ,X ;
9D70 : 1B ;
9D71: 0E 10 12 ASL $1210 ;
9D74: 1C ;
9D75 : 1D 0E 1B ORA $1B0E,X ;
9D78: 24 24 BIT <0024 ;
9D7A: 24 20 BIT <0020 ;
9D7C : CE 08 24 DEC $2408 ;
9D7F: 24 24 BIT <0024 ;
9D81: 24 24 BIT <0024 ;
9D83: 24 24 BIT <0024 ;
9D85: 24 21 BIT <0021 ;
9D87: 2E 08 24 ROL $2408 ;
9D8A : 24 24 BIT <0024 ;
9D8C : 24 24 BIT <0024 ;
9D8E: 24 24 BIT <0024 ;
9D90: 24 21 BIT <0021 ;
9D92: 8E 08 24 STX $2408 ;
9D95: 24 24 BIT <0024 ;
9D97: 24 24 BIT <0024 ;
9D99: 24 24 BIT <0024 ;
9D9B: 24 21 BIT <0021 ;
9D9D: EA NOP ;
9D9E: 0F ;
9D9F: 0E 15 12 ASL $1215 ;
9DA2: 16 12 ASL 0012 ,X ;
9DA4: 17 ;
9DA5: 0A ASL A ;
9DA6: 1D 12 18 ORA $1812,X ;
9DA9: 17 ;
9DAA: 24 0E BIT <000E ;
9DAC: 17 ;
9DAD: 0D FF 2F ORA $2FFF ;
9DB0: 47 ;
9DB1: 5F ;
9DB2: 77 ;
9DB3 : 0A ASL A ;
9DB4: 0B ;
9DB5: 0C ;
9DB6: 0D 0E 0F ORA $0F0E ;
9DB9: 10 11 BPL $9DCC ;
9DBB: 12 ;
9DBC: 13 ;
9DBD: 14 ;
9DBE: 15 16 ORA 0016 ,X ;
9DC0: 17 ;
9DC1: 18 CLC ;
9DC2: 19 1A 1B ORA $1B1A,Y ;
9DC5: 1C ;
9DC6: 1D 1E 1F ORA $1F1E,X ;
9DC9: 20 21 22 JSR $2221 ;
9DCC : 23 ;
9DCD: 62 ;
9DCE: 63 ;
9DCF: 28 PLP ;
9DD0: 29 2A AND #$2A ;
9DD2: 2B ;
9DD3: 2C 00 01 BIT 0100 ;
9DD6: 02 ;
9DD7: 03 ;
9DD8: 04 ;
9DD9: 05 06 ORA <0006 ;
9DDB: 07 ;
9DDC: 08 PHP ;
9DDD: 09 24 ORA #$24 ;
9DDF : 20 CE 01 JSR 01CE ;
9DE2: 21 2E AND (002E ,X) ;
9DE4: 01 21 ORA (0021 ,X) ;
9DE6: 8E 01 20 STX P_CNTRL_2 ; [NES] PPU setup #2
9DE9: CE 48 24 DEC $2448 ;
9DEC: FF ;
9DED: 21 2E AND (002E ,X) ;
9DEF: 48 PHA ;
9DF0: 24 FF BIT <CUR_2000 ;
9DF2: 21 8E AND ($8E,X) ;
9DF4: 48 PHA ;
9DF5: 24 FF BIT <CUR_2000 ;
9DF7 : F3 ;
9DF8: 03 ;
9DF9: 43 ;
9DFA: F8 SED ;
9DFB: 25 23 AND <0023 ;
9DFD: 70 F8 BVS $9DF7 ;
9DFF: 25 23 AND <0023 ;
9E01: 30 10 BMI $9E13 ;
9E03: C7 ;
9E04: 87 ;
9E05: F0 77 BEQ $9E7E ;
9E07: B7 ;
9E08 : 04 ;
9E09: 09 0E ORA #$0E ;
9E0B : 00 BRK ;
9E0C: 08 PHP ;
9E0D: 10 02 BPL $9E11 ;
9E0F: 05 08 ORA <0008 ;
9E11 : A9 00 LDA #$00 ;
9E13 : 85 16 STA <0016 ;
9E15: 20 DE 9F JSR $9FDE ;
9E18: 20 25 E6 JSR $E625 ;
9E1B: A5 13 LDA <0013 ;
9E1D: D0 3B BNE $9E5A ;
9E1F: 20 6D E4 JSR $E46D ;
9E22 : 20 2A 9D JSR $9D2A ;
9E25: 20 37 A4 JSR $A437 ;
9E28: E6 16 INC <0016 ;
9E2A: A5 16 LDA <0016 ;
9E2C: C9 03 CMP #$03 ;
9E2E: D0 F2 BNE $9E22 ;
9E30: A9 00 LDA #$00 ;
9E32: 85 16 STA <0016 ;
9E34: A2 1C LDX #$1C ;
9E36 : BD 41 9D LDA $9D41 ,X ;
9E39: 9D 02 03 STA 0302 ,X ;
9E3C: CA DEX ;
9E3D: 10 F7 BPL $9E36 ;
9E3F: A5 12 LDA <0012 ;
9E41: C9 0E CMP #$0E ;
9E43: D0 0D BNE $9E52 ;
9E45: A0 00 LDY #$00 ;
9E47 : B9 5E 9D LDA $9D5E ,Y ;
9E4A: 99 09 03 STA $0309,Y ;
9E4D: C8 INY ;
9E4E: C0 12 CPY #$12 ;
9E50: D0 F5 BNE $9E47 ;
9E52 : A9 1D LDA #$1D ;
9E54 : 8D 01 03 STA 0301 ;
9E57: E6 13 INC <0013 ;
9E59: 60 RTS ;
9E5A : C9 01 CMP #$01 ;
9E5C: D0 3B BNE $9E99 ;
9E5E: A2 33 LDX #$33 ;
9E60 : BD 7B 9D LDA $9D7B ,X ;
9E63: 9D 02 03 STA 0302 ,X ;
9E66: CA DEX ;
9E67: 10 F7 BPL $9E60 ;
9E69: A2 00 LDX #$00 ;
9E6B: A0 00 LDY #$00 ;
9E6D : B9 38 06 LDA $0638,Y ;
9E70: 9D 05 03 STA !BckGndBuf ,X ;
9E73: E8 INX ;
9E74: C8 INY ;
9E75: 98 TYA ;
9E76: 29 07 AND #$07 ;
9E78: D0 F3 BNE $9E6D ;
9E7A: E8 INX ;
9E7B: E8 INX ;
9E7C: E8 INX ;
9E7D: E0 21 CPX #$21 ;
9E7F: D0 EC BNE $9E6D ;
9E81: A5 12 LDA <0012 ;
9E83: C9 0E CMP #$0E ;
9E85: D0 0E BNE $9E95 ;
9E87: A0 00 LDY #$00 ;
9E89 : B9 70 9D LDA $9D70 ,Y ;
9E8C: 9D 05 03 STA !BckGndBuf ,X ;
9E8F: E8 INX ;
9E90: C8 INY ;
9E91: C0 0B CPY #$0B ;
9E93: D0 F4 BNE $9E89 ;
9E95 : A9 34 LDA #$34 ;
9E97: D0 BB BNE $9E54 ;
9E99 : C9 02 CMP #$02 ;
9E9B: D0 07 BNE $9EA4 ;
9E9D: A9 16 LDA #$16 ;
9E9F : 85 14 STA <0014 ;
9EA1: E6 13 INC <0013 ;
9EA3: 60 RTS ;
9EA4 : C9 03 CMP #$03 ;
9EA6: D0 11 BNE $9EB9 ;
9EA8: A9 15 LDA #$15 ;
9EAA: A4 12 LDY <0012 ;
9EAC: C0 0F CPY #$0F ;
9EAE: D0 02 BNE $9EB2 ;
9EB0: A9 30 LDA #$30 ;
9EB2 : 8D 10 68 STA 6810 ;
9EB5: A9 12 LDA #$12 ;
9EB7: D0 E6 BNE $9E9F ;
9EB9 : A5 12 LDA <0012 ;
9EBB: C9 0F CMP #$0F ;
9EBD: F0 11 BEQ $9ED0 ;
9EBF: A2 03 LDX #$03 ;
9EC1: A0 FF LDY #$FF ;
9EC3: 84 16 STY <0016 ;
9EC5 : C8 INY ;
9EC6: E6 16 INC <0016 ;
9EC8: B9 33 06 LDA $0633,Y ;
9ECB: F0 03 BEQ $9ED0 ;
9ECD: CA DEX ;
9ECE: 10 F5 BPL $9EC5 ;
9ED0 : 20 8E A1 JSR $A18E ;
9ED3: A5 16 LDA <0016 ;
9ED5: C9 03 CMP #$03 ;
9ED7: D0 05 BNE $9EDE ;
9ED9: A9 F8 LDA #$F8 ;
9EDB: 8D 08 02 STA 0208 ;
9EDE : A9 50 LDA #$50 ;
9EE0: 85 00 STA <GP_00 ;
9EE2: A9 30 LDA #$30 ;
9EE4: 85 01 STA <GP_01 ;
9EE6: E6 11 INC <0011 ;
9EE8: 4C 38 A6 JMP $A638 ;
9EEB : 23 ;
9EEC: 0E 15 0D ASL $0D15 ;
9EEF: 0A ASL A ;
9EF0: A5 F8 LDA <00F8 ;
9EF2: 29 10 AND #$10 ;
9EF4: F0 06 BEQ $9EFC ;
9EF6: A5 16 LDA <0016 ;
9EF8: C9 03 CMP #$03 ;
9EFA: F0 03 BEQ $9EFF ;
9EFC : 4C B0 9F JMP $9FB0 ;
9EFF : A9 00 LDA #$00 ;
9F01: 8D 07 06 STA SND_CurMusEff ;
9F04: 8D 25 04 STA 0425 ;
9F07: 8D 23 04 STA 0423 ;
9F0A: 85 16 STA <0016 ;
9F0C: AA TAX ;
9F0D : A4 16 LDY <0016 ;
9F0F: A9 FF LDA #$FF ;
9F11: 99 2A 65 STA Q_SG1 ,Y ;
9F14: 98 TYA ;
9F15: 0A ASL A ;
9F16: A8 TAY ;
9F17: A9 00 LDA #$00 ;
9F19: 8D 26 04 STA 0426 ;
9F1C: 99 9C 6D STA $6D9C,Y ;
9F1F: C8 INY ;
9F20: 99 9C 6D STA $6D9C,Y ;
9F23: 8A TXA ;
9F24: 48 PHA ;
9F25: 20 2A 9D JSR $9D2A ;
9F28: 68 PLA ;
9F29: AA TAX ;
9F2A : AC 23 04 LDY 0423 ;
9F2D: B9 38 06 LDA $0638,Y ;
9F30: AC 25 04 LDY 0425 ;
9F33: 91 C4 STA (00C4 ),Y ;
9F35: C9 24 CMP #$24 ;
9F37: F0 40 BEQ $9F79 ;
9F39: BD 33 06 LDA $0633,X ;
9F3C: D0 3B BNE $9F79 ;
9F3E: A0 18 LDY #$18 ;
9F40: A9 22 LDA #$22 ;
9F42: 91 C0 STA (00C0 ),Y ;
9F44: C8 INY ;
9F45: A9 FF LDA #$FF ;
9F47: 91 C0 STA (00C0 ),Y ;
9F49: A0 25 LDY #$25 ;
9F4B: A9 08 LDA #$08 ;
9F4D: 91 C0 STA (00C0 ),Y ;
9F4F: 8A TXA ;
9F50: 48 PHA ;
9F51: 0A ASL A ;
9F52: 0A ASL A ;
9F53: 0A ASL A ;
9F54: A8 TAY ;
9F55: A2 00 LDX #$00 ;
9F57 : B9 38 06 LDA $0638,Y ;
9F5A: DD EB 9E CMP $9EEB ,X ;
9F5D: D0 0F BNE $9F6E ;
9F5F: C8 INY ;
9F60: E8 INX ;
9F61: E0 05 CPX #$05 ;
9F63: 90 F2 BCC $9F57 ;
9F65: 68 PLA ;
9F66: 48 PHA ;
9F67: AA TAX ;
9F68: A0 00 LDY #$00 ;
9F6A: A9 01 LDA #$01 ;
9F6C: 91 CC STA (00CC ),Y ;
9F6E : 68 PLA ;
9F6F: AA TAX ;
9F70: A9 01 LDA #$01 ;
9F72: 8D 26 04 STA 0426 ;
9F75: A0 00 LDY #$00 ;
9F77: 91 C6 STA (00C6 ),Y ;
9F79 : EE 23 04 INC 0423 ;
9F7C: EE 25 04 INC 0425 ;
9F7F: AD 25 04 LDA 0425 ;
9F82: C9 08 CMP #$08 ;
9F84: D0 A4 BNE $9F2A ;
9F86: E8 INX ;
9F87: A9 00 LDA #$00 ;
9F89: 8D 25 04 STA 0425 ;
9F8C: AD 26 04 LDA 0426 ;
9F8F: F0 03 BEQ $9F94 ;
9F91: 20 C8 A3 JSR $A3C8 ;
9F94 : E6 16 INC <0016 ;
9F96: A5 16 LDA <0016 ;
9F98: C9 03 CMP #$03 ;
9F9A: F0 03 BEQ $9F9F ;
9F9C: 4C 0D 9F JMP $9F0D ;
9F9F : A9 00 LDA #$00 ;
9FA1: 8D 26 04 STA 0426 ;
9FA4: 85 16 STA <0016 ;
9FA6: 20 DE 9F JSR $9FDE ;
9FA9: A9 01 LDA #$01 ;
9FAB: 85 11 STA <0011 ;
9FAD: 4C 03 A8 JMP $A803 ;
9FB0 : A5 16 LDA <0016 ;
9FB2: C9 03 CMP #$03 ;
9FB4: F0 03 BEQ $9FB9 ;
9FB6: 20 11 A0 JSR $A011 ;
9FB9 : 20 04 A2 JSR $A204 ;
9FBC: 20 C3 A1 JSR $A1C3 ;
9FBF: 20 DD A1 JSR $A1DD ;
9FC2: 4C 0B A1 JMP $A10B ;
9FC5: A5 F8 LDA <00F8 ;
9FC7: C9 10 CMP #$10 ;
9FC9: F0 03 BEQ $9FCE ;
9FCB: 4C 04 A2 JMP $A204 ;
9FCE : A5 16 LDA <0016 ;
9FD0: C9 03 CMP #$03 ;
9FD2: D0 14 BNE $9FE8 ;
9FD4: A9 0E LDA #$0E ;
9FD6: 85 12 STA <0012 ;
9FD8: A9 00 LDA #$00 ;
9FDA: 85 11 STA <0011 ;
9FDC: 85 13 STA <0013 ;
9FDE : 8D 1F 04 STA 041F ;
9FE1: 8D 20 04 STA 0420 ;
9FE4: 8D 21 04 STA 0421 ;
9FE7: 60 RTS ;
9FE8 : A9 08 LDA #$08 ;
9FEA: 8D 01 06 STA ??SND_601?? ;
9FED: A4 16 LDY <0016 ;
9FEF: BE 08 9E LDX $9E08 ,Y ;
9FF2: A0 04 LDY #$04 ;
9FF4 : BD E8 9D LDA $9DE8 ,X ;
9FF7: 99 02 03 STA 0302 ,Y ;
9FFA: CA DEX ;
9FFB: 88 DEY ;
9FFC: 10 F6 BPL $9FF4 ;
9FFE: 20 F1 6D JSR 6DF1 ;
A001: 20 5D A3 JSR $A35D ;
A004: 20 0C A8 JSR $A80C ;
A007: A0 07 LDY #$07 ;
A009 : A9 24 LDA #$24 ;
A00B: 91 0C STA (000C ),Y ;
A00D: 88 DEY ;
A00E: 10 F9 BPL $A009 ;
A010: 60 RTS ;
A011 : A5 FA LDA <00FA ;
A013: 29 0F AND #$0F ;
A015: D0 0A BNE $A021 ;
A017 : 8D 26 04 STA 0426 ;
A01A: 8D 28 04 STA 0428 ;
A01D: 8D 29 04 STA 0429 ;
A020: 60 RTS ;
A021 : A8 TAY ;
A022: AD 26 04 LDA 0426 ;
A025: D0 06 BNE $A02D ;
A027: 8C 27 04 STY 0427 ;
A02A: EE 26 04 INC 0426 ;
A02D : A5 FA LDA <00FA ;
A02F: 29 0F AND #$0F ;
A031: CD 27 04 CMP 0427 ;
A034: F0 05 BEQ $A03B ;
A036: A9 00 LDA #$00 ;
A038: 20 17 A0 JSR $A017 ;
A03B : AD 29 04 LDA 0429 ;
A03E: F0 04 BEQ $A044 ;
A040: CE 29 04 DEC 0429 ;
A043: 60 RTS ;
A044 : A0 08 LDY #$08 ;
A046: AD 28 04 LDA 0428 ;
A049: D0 02 BNE $A04D ;
A04B: A0 10 LDY #$10 ;
A04D : 8C 29 04 STY 0429 ;
A050: A5 FA LDA <00FA ;
A052: 29 0F AND #$0F ;
A054: C9 01 CMP #$01 ;
A056: D0 24 BNE $A07C ;
A058: EE 1F 04 INC 041F ;
A05B: A5 71 LDA <0071 ;
A05D: 18 CLC ;
A05E: 69 10 ADC #$10 ;
A060: 85 71 STA <0071 ;
A062: C9 E0 CMP #$E0 ;
A064: D0 13 BNE $A079 ;
A066: A9 30 LDA #$30 ;
A068: 85 71 STA <0071 ;
A06A: A2 00 LDX #$00 ;
A06C: 20 F0 A0 JSR $A0F0 ;
A06F: AD 2A 04 LDA 042A ;
A072: F0 05 BEQ $A079 ;
A074: A9 00 LDA #$00 ;
A076: 8D 1F 04 STA 041F ;
A079 : 4C E7 A0 JMP $A0E7 ;
A07C : C9 02 CMP #$02 ;
A07E: D0 24 BNE $A0A4 ;
A080: CE 1F 04 DEC 041F ;
A083: A5 71 LDA <0071 ;
A085: 38 SEC ;
A086: E9 10 SBC #$10 ;
A088: 85 71 STA <0071 ;
A08A: C9 20 CMP #$20 ;
A08C: D0 13 BNE $A0A1 ;
A08E: A9 D0 LDA #$D0 ;
A090: 85 71 STA <0071 ;
A092: A2 03 LDX #$03 ;
A094: 20 F0 A0 JSR $A0F0 ;
A097: AD 2A 04 LDA 042A ;
A09A: F0 05 BEQ $A0A1 ;
A09C: A9 2B LDA #$2B ;
A09E: 8D 1F 04 STA 041F ;
A0A1 : 4C E7 A0 JMP $A0E7 ;
A0A4 : C9 04 CMP #$04 ;
A0A6: D0 1F BNE $A0C7 ;
A0A8: AD 1F 04 LDA 041F ;
A0AB: 18 CLC ;
A0AC: 69 0B ADC #$0B ;
A0AE: 8D 1F 04 STA 041F ;
A0B1: A2 00 LDX #$00 ;
A0B3: 20 F0 A0 JSR $A0F0 ;
A0B6: AD 2A 04 LDA 042A ;
A0B9: F0 09 BEQ $A0C4 ;
A0BB: AD 1F 04 LDA 041F ;
A0BE: 38 SEC ;
A0BF: E9 2C SBC #$2C ;
A0C1: 8D 1F 04 STA 041F ;
A0C4 : 4C E7 A0 JMP $A0E7 ;
A0C7 : C9 08 CMP #$08 ;
A0C9: D0 24 BNE $A0EF ;
A0CB: AD 1F 04 LDA 041F ;
A0CE: 38 SEC ;
A0CF: E9 0B SBC #$0B ;
A0D1: 8D 1F 04 STA 041F ;
A0D4: A2 03 LDX #$03 ;
A0D6: 20 F0 A0 JSR $A0F0 ;
A0D9: AD 2A 04 LDA 042A ;
A0DC: F0 09 BEQ $A0E7 ;
A0DE: AD 1F 04 LDA 041F ;
A0E1: 18 CLC ;
A0E2: 69 2C ADC #$2C ;
A0E4: 8D 1F 04 STA 041F ;
A0E7 : A9 01 LDA #$01 ;
A0E9: 8D 28 04 STA 0428 ;
A0EC: 8D 02 06 STA SND_ReqMusEff ;
A0EF : 60 RTS ;
A0F0 : A0 00 LDY #$00 ;
A0F2: A5 85 LDA <0085 ;
A0F4: 18 CLC ;
A0F5: 7D 02 9E ADC $9E02 ,X ;
A0F8: 85 85 STA <0085 ;
A0FA: E8 INX ;
A0FB: DD 02 9E CMP $9E02 ,X ;
A0FE: D0 07 BNE $A107 ;
A100: E8 INX ;
A101: BD 02 9E LDA $9E02 ,X ;
A104: 85 85 STA <0085 ;
A106: C8 INY ;
A107 : 8C 2A 04 STY 042A ;
A10A : 60 RTS ;
A10B : AD 20 04 LDA 0420 ;
A10E: D0 1E BNE $A12E ;
A110: A4 16 LDY <0016 ;
A112: C0 03 CPY #$03 ;
A114: F0 F4 BEQ $A10A ;
A116: B9 0B 9E LDA $9E0B ,Y ;
A119: 8D 21 04 STA 0421 ;
A11C: BE 0E 9E LDX $9E0E ,Y ;
A11F: A0 02 LDY #$02 ;
A121 : BD DF 9D LDA $9DDF ,X ;
A124: 99 22 04 STA 0422 ,Y ;
A127: CA DEX ;
A128: 88 DEY ;
A129: 10 F6 BPL $A121 ;
A12B: EE 20 04 INC 0420 ;
A12E : A5 F8 LDA <00F8 ;
A130: 29 C0 AND #$C0 ;
A132: F0 57 BEQ $A18B ;
A134: C9 80 CMP #$80 ;
A136: D0 22 BNE $A15A ;
A138: A0 20 LDY #$20 ;
A13A: 8C 04 06 STY SND_Request ;
A13D: A0 02 LDY #$02 ;
A13F : B9 22 04 LDA 0422 ,Y ;
A142: 99 02 03 STA 0302 ,Y ;
A145: 88 DEY ;
A146: 10 F7 BPL $A13F ;
A148: 8C 06 03 STY 0306 ;
A14B: AE 21 04 LDX 0421 ;
A14E: AC 1F 04 LDY 041F ;
A151: B9 B3 9D LDA $9DB3 ,Y ;
A154: 8D 05 03 STA !BckGndBuf ;
A157: 9D 38 06 STA $0638,X ;
A15A : A5 70 LDA <0070 ;
A15C: 18 CLC ;
A15D: 69 08 ADC #$08 ;
A15F: 85 70 STA <0070 ;
A161: EE 21 04 INC 0421 ;
A164: EE 23 04 INC 0423 ;
A167: AD 23 04 LDA 0423 ;
A16A: 29 0F AND #$0F ;
A16C: C9 06 CMP #$06 ;
A16E: D0 1B BNE $A18B ;
A170: AD 23 04 LDA 0423 ;
A173: 38 SEC ;
A174: E9 08 SBC #$08 ;
A176: 8D 23 04 STA 0423 ;
A179: A4 16 LDY <0016 ;
A17B: B9 0B 9E LDA $9E0B ,Y ;
A17E: 8D 21 04 STA 0421 ;
A181: A5 70 LDA <0070 ;
A183: C9 B0 CMP #$B0 ;
A185: D0 04 BNE $A18B ;
A187: A9 70 LDA #$70 ;
A189: 85 70 STA <0070 ;
A18B : 4C D7 A1 JMP $A1D7 ;
A18E : A0 0A LDY #$0A ;
A190 : B9 F7 9D LDA $9DF7 ,Y ;
A193: 99 01 02 STA 0201 ,Y ;
A196: 88 DEY ;
A197: 10 F7 BPL $A190 ;
A199: A4 16 LDY <0016 ;
A19B: B9 AF 9D LDA $9DAF ,Y ;
A19E: 85 84 STA <0084 ;
A1A0: 8D 00 02 STA 0200 ;
A1A3: A5 12 LDA <0012 ;
A1A5: C9 0F CMP #$0F ;
A1A7: F0 19 BEQ $A1C2 ;
A1A9: A9 F3 LDA #$F3 ;
A1AB: 8D 01 02 STA 0201 ;
A1AE: A5 84 LDA <0084 ;
A1B0: 38 SEC ;
A1B1: E9 08 SBC #$08 ;
A1B3: 8D 04 02 STA 0204 ;
A1B6: A9 70 LDA #$70 ;
A1B8: 85 70 STA <0070 ;
A1BA: A9 87 LDA #$87 ;
A1BC: 85 85 STA <0085 ;
A1BE: A9 30 LDA #$30 ;
A1C0: 85 71 STA <0071 ;
A1C2 : 60 RTS ;
A1C3 : A5 84 LDA <0084 ;
A1C5: C9 77 CMP #$77 ;
A1C7: D0 06 BNE $A1CF ;
A1C9: A9 F8 LDA #$F8 ;
A1CB: 8D 04 02 STA 0204 ;
A1CE: 60 RTS ;
A1CF : A5 84 LDA <0084 ;
A1D1: 20 F7 A1 JSR $A1F7 ;
A1D4: 8C 04 02 STY 0204 ;
A1D7 : A5 70 LDA <0070 ;
A1D9: 8D 07 02 STA 0207 ;
A1DC: 60 RTS ;
A1DD : A5 84 LDA <0084 ;
A1DF: C9 77 CMP #$77 ;
A1E1: D0 06 BNE $A1E9 ;
A1E3: A9 F8 LDA #$F8 ;
A1E5: 8D 08 02 STA 0208 ;
A1E8: 60 RTS ;
A1E9 : A5 85 LDA <0085 ;
A1EB: 20 F7 A1 JSR $A1F7 ;
A1EE: 8C 08 02 STY 0208 ;
A1F1: A5 71 LDA <0071 ;
A1F3: 8D 0B 02 STA 020B ;
A1F6: 60 RTS ;
A1F7 : 38 SEC ;
A1F8: E9 08 SBC #$08 ;
A1FA: A8 TAY ;
A1FB: A5 15 LDA <0015 ;
A1FD: 29 08 AND #$08 ;
A1FF: D0 02 BNE $A203 ;
A201: A0 F8 LDY #$F8 ;
A203 : 60 RTS ;
A204 : A5 F8 LDA <00F8 ;
A206: 29 20 AND #$20 ;
A208: F0 49 BEQ $A253 ;
A20A : A9 01 LDA #$01 ;
A20C: 8D 02 06 STA SND_ReqMusEff ;
A20F: E6 16 INC <0016 ;
A211: A4 16 LDY <0016 ;
A213: C0 04 CPY #$04 ;
A215: D0 04 BNE $A21B ;
A217: A0 00 LDY #$00 ;
A219: 84 16 STY <0016 ;
A21B : B9 AF 9D LDA $9DAF ,Y ;
A21E: 8D 00 02 STA 0200 ;
A221: A5 12 LDA <0012 ;
A223: C9 0F CMP #$0F ;
A225: F0 2C BEQ $A253 ;
A227: A5 84 LDA <0084 ;
A229: 18 CLC ;
A22A: 69 18 ADC #$18 ;
A22C: 85 84 STA <0084 ;
A22E: C9 8F CMP #$8F ;
A230: D0 04 BNE $A236 ;
A232: A9 2F LDA #$2F ;
A234: 85 84 STA <0084 ;
A236 : 8D 00 02 STA 0200 ;
A239: A9 70 LDA #$70 ;
A23B: 8D 07 02 STA 0207 ;
A23E: 85 70 STA <0070 ;
A240: A9 00 LDA #$00 ;
A242: 8D 20 04 STA 0420 ;
A245: 8D 21 04 STA 0421 ;
A248: A4 16 LDY <0016 ;
A24A: C0 03 CPY #$03 ;
A24C: F0 05 BEQ $A253 ;
A24E: B9 33 06 LDA $0633,Y ;
A251: D0 B7 BNE $A20A ;
A253 : 60 RTS ;
A254 : 21 09 AND (0009 ,X) ;
A256: 11 24 ORA (0024 ),Y ;
A258: 24 24 BIT <0024 ;
A25A: 24 24 BIT <0024 ;
A25C: 24 24 BIT <0024 ;
A25E: 24 62 BIT <0062 ;
A260: 00 BRK ;
A261: 00 BRK ;
A262: 00 BRK ;
A263: 00 BRK ;
A264: 00 BRK ;
A265: 00 BRK ;
A266: 00 BRK ;
A267: 00 BRK ;
A268: 21 32 AND (0032 ,X) ;
A26A: 08 PHP ;
A26B: 00 BRK ;
A26C: 00 BRK ;
A26D: 00 BRK ;
A26E: 00 BRK ;
A26F: 00 BRK ;
A270: 00 BRK ;
A271: 00 BRK ;
A272: 00 BRK ;
A273: FF ;
A274 : 21 89 AND (0089 ,X) ;
A276: 03 ;
A277: 24 24 BIT <0024 ;
A279: 01 21 ORA (0021 ,X) ;
A27B: E9 03 SBC #$03 ;
A27D: 24 24 BIT <0024 ;
A27F: 01 22 ORA (0022 ,X) ;
A281: 49 03 EOR #$03 ;
A283: 24 24 BIT <0024 ;
A285: 01 FF ORA (CUR_2000 ,X) ;
A287 : 29 32 AND #$32 ;
A289: 16 20 ASL 0020 ,X ;
A28B: 25 E6 AND <00E6 ;
A28D: A5 13 LDA <0013 ;
A28F: 20 E2 E5 JSR $E5E2 ;
A292: A0 A2 LDY #$A2 ;
A294: 7F ;
A295: A4 BD LDY <00BD ;
A297: A4 C4 LDY <00C4 ;
A299: A4 C4 LDY <00C4 ;
A29B: A4 C4 LDY <00C4 ;
A29D: A4 1E LDY <001E ;
A29F: A5 20 LDA <0020 ;
A2A1: 25 E6 AND <00E6 ;
A2A3: A9 00 LDA #$00 ;
A2A5: 85 16 STA <0016 ;
A2A7 : A4 16 LDY <0016 ;
A2A9: B9 2A 65 LDA Q_SG1 ,Y ;
A2AC: D0 1F BNE $A2CD ;
A2AE: 20 2A 9D JSR $9D2A ;
A2B1: 20 E1 A3 JSR $A3E1 ;
A2B4: A5 16 LDA <0016 ;
A2B6: 0A ASL A ;
A2B7: A8 TAY ;
A2B8: B9 9C 6D LDA $6D9C,Y ;
A2BB: C5 CE CMP <00CE ;
A2BD: D0 0E BNE $A2CD ;
A2BF: C8 INY ;
A2C0: B9 9C 6D LDA $6D9C,Y ;
A2C3: C5 CF CMP <00CF ;
A2C5: D0 06 BNE $A2CD ;
A2C7: 20 64 A7 JSR $A764 ;
A2CA: 4C FC A2 JMP $A2FC ;
A2CD : 20 F1 6D JSR 6DF1 ;
A2D0: 20 07 A3 JSR $A307 ;
A2D3: A4 16 LDY <0016 ;
A2D5: B9 1E 65 LDA $651E,Y ;
A2D8: C9 5A CMP #$5A ;
A2DA: D0 1A BNE $A2F6 ;
A2DC: B9 21 65 LDA $6521,Y ;
A2DF: C9 A5 CMP #$A5 ;
A2E1: D0 13 BNE $A2F6 ;
A2E3: A5 16 LDA <0016 ;
A2E5: 0A ASL A ;
A2E6: A8 TAY ;
A2E7: B9 24 65 LDA $6524,Y ;
A2EA: C5 0E CMP <000E ;
A2EC: D0 08 BNE $A2F6 ;
A2EE: C8 INY ;
A2EF: B9 24 65 LDA $6524,Y ;
A2F2: C5 0F CMP <000F ;
A2F4: F0 06 BEQ $A2FC ;
A2F6 : 20 F1 6D JSR 6DF1 ;
A2F9: 20 5D A3 JSR $A35D ;
A2FC : E6 16 INC <0016 ;
A2FE: A5 16 LDA <0016 ;
A300: C9 03 CMP #$03 ;
A302: D0 A3 BNE $A2A7 ;
A304: E6 13 INC <0013 ;
A306: 60 RTS ;
A307 : A9 00 LDA #$00 ;
A309: 85 0E STA <000E ;
A30B: 85 0F STA <000F ;
A30D: A0 07 LDY #$07 ;
A30F : B1 04 LDA (0004 ),Y ;
A311: 20 51 A3 JSR $A351 ;
A314: 88 DEY ;
A315: 10 F8 BPL $A30F ;
A317: A0 27 LDY #$27 ;
A319 : B1 00 LDA (GP_00 ),Y ;
A31B: 20 51 A3 JSR $A351 ;
A31E: 88 DEY ;
A31F: 10 F8 BPL $A319 ;
A321: A9 80 LDA #$80 ;
A323: 85 01 STA <GP_01 ;
A325: A9 01 LDA #$01 ;
A327: 85 00 STA <GP_00 ;
A329: A0 00 LDY #$00 ;
A32B : B1 02 LDA (GP_02 ),Y ;
A32D: 20 51 A3 JSR $A351 ;
A330: E6 02 INC <GP_02 ;
A332: D0 02 BNE $A336 ;
A334: E6 03 INC <GP_03 ;
A336 : C6 01 DEC <GP_01 ;
A338: D0 F1 BNE $A32B ;
A33A: C6 00 DEC <GP_00 ;
A33C: A5 00 LDA <GP_00 ;
A33E: 10 EB BPL $A32B ;
A340: B1 06 LDA (0006 ),Y ;
A342: 20 51 A3 JSR $A351 ;
A345: B1 08 LDA (0008 ),Y ;
A347: 20 51 A3 JSR $A351 ;
A34A: B1 0A LDA (000A ),Y ;
A34C: 20 51 A3 JSR $A351 ;
A34F: B1 0C LDA (000C ),Y ;
A351 : 18 CLC ;
A352: 65 0F ADC <000F ;
A354: 85 0F STA <000F ;
A356: A5 0E LDA <000E ;
A358: 69 00 ADC #$00 ;
A35A: 85 0E STA <000E ;
A35C: 60 RTS ;
A35D : A0 07 LDY #$07 ;
A35F: A9 24 LDA #$24 ;
A361 : 91 04 STA (0004 ),Y ;
A363: 88 DEY ;
A364: 10 FB BPL $A361 ;
A366: A0 27 LDY #$27 ;
A368: A9 00 LDA #$00 ;
A36A : 91 00 STA (GP_00 ),Y ;
A36C: 88 DEY ;
A36D: 10 FB BPL $A36A ;
A36F: A9 80 LDA #$80 ;
A371: 85 01 STA <GP_01 ;
A373: A9 01 LDA #$01 ;
A375: 85 00 STA <GP_00 ;
A377: A0 00 LDY #$00 ;
A379 : A9 00 LDA #$00 ;
A37B: 91 02 STA (GP_02 ),Y ;
A37D: E6 02 INC <GP_02 ;
A37F: D0 02 BNE $A383 ;
A381: E6 03 INC <GP_03 ;
A383 : C6 01 DEC <GP_01 ;
A385: D0 F2 BNE $A379 ;
A387: C6 00 DEC <GP_00 ;
A389: A5 00 LDA <GP_00 ;
A38B: 10 EC BPL $A379 ;
A38D: A9 00 LDA #$00 ;
A38F: 91 06 STA (0006 ),Y ;
A391: 91 08 STA (0008 ),Y ;
A393: 91 0A STA (000A ),Y ;
A395: 91 0C STA (000C ),Y ;
A397: 20 F1 6D JSR 6DF1 ;
A39A: 20 07 A3 JSR $A307 ;
A39D: A4 16 LDY <0016 ;
A39F: A9 00 LDA #$00 ;
A3A1: 99 33 06 STA $0633,Y ;
A3A4: 99 2D 06 STA $062D,Y ;
A3A7: 99 30 06 STA $0630,Y ;
A3AA: A9 FF LDA #$FF ;
A3AC: 99 2A 65 STA Q_SG1 ,Y ;
A3AF: A9 5A LDA #$5A ;
A3B1: 99 1E 65 STA $651E,Y ;
A3B4: A9 A5 LDA #$A5 ;
A3B6: 99 21 65 STA $6521,Y ;
A3B9: 98 TYA ;
A3BA: 0A ASL A ;
A3BB: A8 TAY ;
A3BC: A5 0E LDA <000E ;
A3BE: 99 24 65 STA $6524,Y ;
A3C1: C8 INY ;
A3C2: A5 0F LDA <000F ;
A3C4: 99 24 65 STA $6524,Y ;
A3C7: 60 RTS ;
A3C8 : 20 E1 A3 JSR $A3E1 ;
A3CB: A4 16 LDY <0016 ;
A3CD: A9 00 LDA #$00 ;
A3CF: 99 2A 65 STA Q_SG1 ,Y ;
A3D2: 98 TYA ;
A3D3: 0A ASL A ;
A3D4: A8 TAY ;
A3D5: A5 CE LDA <00CE ;
A3D7: 99 9C 6D STA $6D9C,Y ;
A3DA: C8 INY ;
A3DB: A5 CF LDA <00CF ;
A3DD: 99 9C 6D STA $6D9C,Y ;
A3E0: 60 RTS ;
A3E1 : A9 00 LDA #$00 ;
A3E3: 85 CE STA <00CE ;
A3E5: 85 CF STA <00CF ;
A3E7: A0 07 LDY #$07 ;
A3E9 : B1 C4 LDA (00C4 ),Y ;
A3EB: 20 2B A4 JSR $A42B ;
A3EE: 88 DEY ;
A3EF: 10 F8 BPL $A3E9 ;
A3F1: A0 27 LDY #$27 ;
A3F3 : B1 C0 LDA (00C0 ),Y ;
A3F5: 20 2B A4 JSR $A42B ;
A3F8: 88 DEY ;
A3F9: 10 F8 BPL $A3F3 ;
A3FB: A9 80 LDA #$80 ;
A3FD: 85 C1 STA <00C1 ;
A3FF: A9 01 LDA #$01 ;
A401: 85 C0 STA <00C0 ;
A403: A0 00 LDY #$00 ;
A405 : B1 C2 LDA (00C2 ),Y ;
A407: 20 2B A4 JSR $A42B ;
A40A: E6 C2 INC <00C2 ;
A40C: D0 02 BNE $A410 ;
A40E: E6 C3 INC <00C3 ;
A410 : C6 C1 DEC <00C1 ;
A412: D0 F1 BNE $A405 ;
A414: C6 C0 DEC <00C0 ;
A416: A5 C0 LDA <00C0 ;
A418: 10 EB BPL $A405 ;
A41A: B1 C6 LDA (00C6 ),Y ;
A41C: 20 2B A4 JSR $A42B ;
A41F: B1 C8 LDA (00C8 ),Y ;
A421: 20 2B A4 JSR $A42B ;
A424: B1 CA LDA (00CA ),Y ;
A426: 20 2B A4 JSR $A42B ;
A429: B1 CC LDA (00CC ),Y ;
A42B : 18 CLC ;
A42C: 65 CF ADC <00CF ;
A42E: 85 CF STA <00CF ;
A430: A5 CE LDA <00CE ;
A432: 69 00 ADC #$00 ;
A434: 85 CE STA <00CE ;
A436: 60 RTS ;
A437 : A0 07 LDY #$07 ;
A439: A9 24 LDA #$24 ;
A43B : 91 C4 STA (00C4 ),Y ;
A43D: 88 DEY ;
A43E: 10 FB BPL $A43B ;
A440: A0 27 LDY #$27 ;
A442: A9 00 LDA #$00 ;
A444 : 91 C0 STA (00C0 ),Y ;
A446: 88 DEY ;
A447: 10 FB BPL $A444 ;
A449: A9 80 LDA #$80 ;
A44B: 85 C1 STA <00C1 ;
A44D: A9 01 LDA #$01 ;
A44F: 85 C0 STA <00C0 ;
A451: A0 00 LDY #$00 ;
A453 : A9 00 LDA #$00 ;
A455: 91 C2 STA (00C2 ),Y ;
A457: E6 C2 INC <00C2 ;
A459: D0 02 BNE $A45D ;
A45B: E6 C3 INC <00C3 ;
A45D : C6 C1 DEC <00C1 ;
A45F: D0 F2 BNE $A453 ;
A461: C6 C0 DEC <00C0 ;
A463: A5 C0 LDA <00C0 ;
A465: 10 EC BPL $A453 ;
A467: A9 00 LDA #$00 ;
A469: 91 C6 STA (00C6 ),Y ;
A46B: 91 C8 STA (00C8 ),Y ;
A46D: 91 CA STA (00CA ),Y ;
A46F: 91 CC STA (00CC ),Y ;
A471: 20 2A 9D JSR $9D2A ;
A474: 20 E1 A3 JSR $A3E1 ;
A477: A9 FF LDA #$FF ;
A479: A4 16 LDY <0016 ;
A47B: 99 2A 65 STA Q_SG1 ,Y ;
A47E: 60 RTS ;
A47F: A9 00 LDA #$00 ;
A481: 85 16 STA <0016 ;
A483: 20 F1 6D JSR 6DF1 ;
A486: A0 0B LDY #$0B ;
A488: A2 00 LDX #$00 ;
A48A : 98 TYA ;
A48B: 48 PHA ;
A48C: B1 00 LDA (GP_00 ),Y ;
A48E: A8 TAY ;
A48F: B9 87 A2 LDA $A287 ,Y ;
A492: 9D 04 68 STA $6804,X ;
A495: 68 PLA ;
A496: 18 CLC ;
A497: 69 28 ADC #$28 ;
A499: A8 TAY ;
A49A: 8A TXA ;
A49B: 18 CLC ;
A49C: 69 04 ADC #$04 ;
A49E: AA TAX ;
A49F: E0 0C CPX #$0C ;
A4A1: 90 E7 BCC $A48A ;
A4A3: 20 B7 6D JSR 6DB7 ;
A4A6: A9 12 LDA #$12 ;
A4A8: 85 14 STA <0014 ;
A4AA: E6 13 INC <0013 ;
A4AC: 20 6D E4 JSR $E46D ;
A4AF: A0 04 LDY #$04 ;
A4B1: A9 00 LDA #$00 ;
A4B3: 8D 29 05 STA 0529 ;
A4B6 : 99 21 06 STA $0621,Y ;
A4B9: 88 DEY ;
A4BA: 10 FA BPL $A4B6 ;
A4BC: 60 RTS ;
A4BD: A9 14 LDA #$14 ;
A4BF: 85 14 STA <0014 ;
A4C1: E6 13 INC <0013 ;
A4C3: 60 RTS ;
A4C4: A0 1F LDY #$1F ;
A4C6 : B9 54 A2 LDA $A254 ,Y ;
A4C9: 99 02 03 STA 0302 ,Y ;
A4CC: 88 DEY ;
A4CD: 10 F7 BPL $A4C6 ;
A4CF: A4 16 LDY <0016 ;
A4D1 : AD 03 03 LDA 0303 ;
A4D4: 18 CLC ;
A4D5: 69 60 ADC #$60 ;
A4D7: 8D 03 03 STA 0303 ;
A4DA: AD 17 03 LDA 0317 ;
A4DD: 18 CLC ;
A4DE: 69 60 ADC #$60 ;
A4E0: 8D 17 03 STA 0317 ;
A4E3: AD 02 03 LDA 0302 ;
A4E6: 69 00 ADC #$00 ;
A4E8: 8D 02 03 STA 0302 ;
A4EB: 8D 16 03 STA 0316 ;
A4EE: 88 DEY ;
A4EF: 10 E0 BPL $A4D1 ;
A4F1: A5 16 LDA <0016 ;
A4F3: 0A ASL A ;
A4F4: 0A ASL A ;
A4F5: 0A ASL A ;
A4F6: AA TAX ;
A4F7: A0 03 LDY #$03 ;
A4F9 : BD 38 06 LDA $0638,X ;
A4FC: 99 02 03 STA 0302 ,Y ;
A4FF: E8 INX ;
A500: C8 INY ;
A501: C0 0B CPY #$0B ;
A503: D0 F4 BNE $A4F9 ;
A505: A5 16 LDA <0016 ;
A507: 0A ASL A ;
A508: A8 TAY ;
A509: B9 50 06 LDA $0650,Y ;
A50C: 85 0E STA <000E ;
A50E: C8 INY ;
A50F: B9 50 06 LDA $0650,Y ;
A512: 85 0F STA <000F ;
A514: A0 0C LDY #$0C ;
A516: 20 79 6E JSR 6E79 ;
A519: E6 16 INC <0016 ;
A51B: E6 13 INC <0013 ;
A51D: 60 RTS ;
A51E: A0 12 LDY #$12 ;
A520 : B9 74 A2 LDA $A274 ,Y ;
A523: 99 02 03 STA 0302 ,Y ;
A526: 88 DEY ;
A527: 10 F7 BPL $A520 ;
A529: A9 00 LDA #$00 ;
A52B: 85 0A STA <000A ;
A52D: A9 03 LDA #$03 ;
A52F: 85 0B STA <000B ;
A531 : A4 0A LDY <000A ;
A533: B9 30 06 LDA $0630,Y ;
A536: 20 55 6E JSR 6E55 ;
A539: A6 0B LDX <000B ;
A53B: A5 01 LDA <GP_01 ;
A53D: 9D 02 03 STA 0302 ,X ;
A540: A5 02 LDA <GP_02 ;
A542: 9D 03 03 STA 0303 ,X ;
A545: A5 03 LDA <GP_03 ;
A547: D0 19 BNE $A562 ;
A549: A5 01 LDA <GP_01 ;
A54B: C9 24 CMP #$24 ;
A54D: D0 11 BNE $A560 ;
A54F: A5 02 LDA <GP_02 ;
A551: C9 24 CMP #$24 ;
A553: D0 0B BNE $A560 ;
A555: A4 0A LDY <000A ;
A557: B9 33 06 LDA $0633,Y ;
A55A: D0 04 BNE $A560 ;
A55C: A9 24 LDA #$24 ;
A55E: D0 02 BNE $A562 ;
A560 : A9 00 LDA #$00 ;
A562 : 9D 04 03 STA 0304 ,X ;
A565: 8A TXA ;
A566: 18 CLC ;
A567: 69 06 ADC #$06 ;
A569: 85 0B STA <000B ;
A56B: E6 0A INC <000A ;
A56D: A5 0A LDA <000A ;
A56F: C9 03 CMP #$03 ;
A571: D0 BE BNE $A531 ;
A573: A0 FF LDY #$FF ;
A575: 84 16 STY <0016 ;
A577: 8C 26 05 STY 0526 ;
A57A : C8 INY ;
A57B: E6 16 INC <0016 ;
A57D: B9 33 06 LDA $0633,Y ;
A580: F0 F8 BEQ $A57A ;
A582: A9 00 LDA #$00 ;
A584: 85 13 STA <0013 ;
A586: E6 11 INC <0011 ;
A588: 60 RTS ;
A589 : F3 ;
A58A: 03 ;
A58B: 28 PLP ;
A58C : 5C ;
A58D: 74 ;
A58E: 8C A8 B8 STY $B8A8 ;
A591: A5 13 LDA <0013 ;
A593: 20 E2 E5 JSR $E5E2 ;
A596: 9A TXS ;
A597: A5 DF LDA <00DF ;
A599: A5 A5 LDA <00A5 ;
A59B: F8 SED ;
A59C: 29 10 AND #$10 ;
A59E: D0 3C BNE $A5DC ;
A5A0: A5 F8 LDA <00F8 ;
A5A2: 29 20 AND #$20 ;
A5A4: F0 11 BEQ $A5B7 ;
A5A6 : A9 01 LDA #$01 ;
A5A8: 8D 02 06 STA SND_ReqMusEff ;
A5AB: E6 16 INC <0016 ;
A5AD: A5 16 LDA <0016 ;
A5AF: C9 05 CMP #$05 ;
A5B1: D0 04 BNE $A5B7 ;
A5B3: A9 00 LDA #$00 ;
A5B5: 85 16 STA <0016 ;
A5B7 : A4 16 LDY <0016 ;
A5B9: B9 33 06 LDA $0633,Y ;
A5BC: F0 E8 BEQ $A5A6 ;
A5BE: A0 02 LDY #$02 ;
A5C0 : B9 89 A5 LDA $A589 ,Y ;
A5C3: 99 01 02 STA 0201 ,Y ;
A5C6: 88 DEY ;
A5C7: 10 F7 BPL $A5C0 ;
A5C9: A4 16 LDY <0016 ;
A5CB: B9 8C A5 LDA $A58C ,Y ;
A5CE: 8D 00 02 STA 0200 ;
A5D1: A9 58 LDA #$58 ;
A5D3: 85 01 STA <GP_01 ;
A5D5: A9 30 LDA #$30 ;
A5D7: 85 00 STA <GP_00 ;
A5D9: 4C 38 A6 JMP $A638 ;
A5DC : E6 13 INC <0013 ;
A5DE: 60 RTS ;
A5DF: A9 00 LDA #$00 ;
A5E1: 8D 07 06 STA SND_CurMusEff ;
A5E4: A9 00 LDA #$00 ;
A5E6: 85 10 STA <0010 ;
A5E8: 8D 56 06 STA 0656 ;
A5EB: 20 25 E6 JSR $E625 ;
A5EE: A5 16 LDA <0016 ;
A5F0: C9 03 CMP #$03 ;
A5F2: 90 0A BCC $A5FE ;
A5F4: A5 16 LDA <0016 ;
A5F6: 18 CLC ;
A5F7: 69 0B ADC #$0B ;
A5F9: 85 12 STA <0012 ;
A5FB: 4C A3 EB JMP $EBA3 ;
A5FE : 20 25 E6 JSR $E625 ;
A601: 20 F1 6D JSR 6DF1 ;
A604: A0 27 LDY #$27 ;
A606 : B1 00 LDA (GP_00 ),Y ;
A608: 99 57 06 STA 0657 ,Y ;
A60B: 88 DEY ;
A60C: 10 F8 BPL $A606 ;
A60E: A9 00 LDA #$00 ;
A610: 8D 2E 05 STA 052E ;
A613: 85 AC STA <00AC ;
A615: 8D 6C 06 STA 066C ;
A618: A8 TAY ;
A619 : B1 02 LDA (GP_02 ),Y ;
A61B: 91 0E STA (000E ),Y ;
A61D: E6 02 INC <GP_02 ;
A61F: D0 02 BNE $A623 ;
A621: E6 03 INC <GP_03 ;
A623 : E6 0E INC <000E ;
A625: D0 02 BNE $A629 ;
A627: E6 0F INC <000F ;
A629 : A5 0E LDA <000E ;
A62B: C9 FF CMP #$FF ;
A62D: D0 EA BNE $A619 ;
A62F: A5 0F LDA <000F ;
A631: C9 07 CMP #$07 ;
A633: D0 E4 BNE $A619 ;
A635: 4C A1 EB JMP $EBA1 ;
A638 : A9 08 LDA #$08 ;
A63A: 85 02 STA <GP_02 ;
A63C: A9 0A LDA #$0A ;
A63E: 85 03 STA <GP_03 ;
A640: A9 00 LDA #$00 ;
A642: 20 88 79 JSR 7988 ;
A645: A9 08 LDA #$08 ;
A647: 8D 43 03 STA 0343 ;
A64A : AD 43 03 LDA 0343 ;
A64D: 18 CLC ;
A64E: 69 08 ADC #$08 ;
A650: 8D 43 03 STA 0343 ;
A653: 18 CLC ;
A654: 69 04 ADC #$04 ;
A656: 8D 44 03 STA 0344 ;
A659: A9 01 LDA #$01 ;
A65B: 85 07 STA <0007 ;
A65D: A9 08 LDA #$08 ;
A65F: 85 0A STA <000A ;
A661: A5 00 LDA <GP_00 ;
A663: 48 PHA ;
A664: 20 85 78 JSR 7885 ;
A667: AA TAX ;
A668: 68 PLA ;
A669: 85 00 STA <GP_00 ;
A66B: A4 04 LDY <0004 ;
A66D: B9 2D 06 LDA $062D,Y ;
A670: F0 1D BEQ $A68F ;
A672: AC 43 03 LDY 0343 ;
A675: A5 01 LDA <GP_01 ;
A677: 38 SEC ;
A678: E9 03 SBC #$03 ;
A67A: 99 80 02 STA $0280,Y ;
A67D: A9 20 LDA #$20 ;
A67F: 99 81 02 STA $0281,Y ;
A682: A9 03 LDA #$03 ;
A684: 99 82 02 STA $0282,Y ;
A687: A5 00 LDA <GP_00 ;
A689: 18 CLC ;
A68A: 69 0C ADC #$0C ;
A68C: 99 83 02 STA $0283,Y ;
A68F : A5 01 LDA <GP_01 ;
A691: 18 CLC ;
A692: 69 18 ADC #$18 ;
A694: 85 01 STA <GP_01 ;
A696: E6 04 INC <0004 ;
A698: E6 05 INC <0005 ;
A69A: A5 04 LDA <0004 ;
A69C: C9 03 CMP #$03 ;
A69E: D0 AA BNE $A64A ;
A6A0: 60 RTS ;
A6A1 : 50 52 BVC $A6F5 ;
A6A3: 54 ;
A6A4 : 06 06 ASL <0006 ;
A6A6: 06 38 ASL <0038 ;
A6A8: 40 RTI ;
A6A9: 48 PHA ;
A6AA : 06 06 ASL <0006 ;
A6AC: 06 A5 ASL <00A5 ;
A6AE: 13 ;
A6AF: 20 E2 E5 JSR $E5E2 ;
A6B2: B8 CLV ;
A6B3: A6 34 LDX <0034 ;
A6B5: A7 ;
A6B6: 03 ;
A6B7: A8 TAY ;
A6B8: 20 2A 9D JSR $9D2A ;
A6BB: 20 37 A4 JSR $A437 ;
A6BE: 20 2A 9D JSR $9D2A ;
A6C1: 20 F1 6D JSR 6DF1 ;
A6C4: A0 27 LDY #$27 ;
A6C6 : B9 57 06 LDA 0657 ,Y ;
A6C9: 91 C0 STA (00C0 ),Y ;
A6CB: 88 DEY ;
A6CC: 10 F8 BPL $A6C6 ;
A6CE: A4 16 LDY <0016 ;
A6D0: B9 30 06 LDA $0630,Y ;
A6D3: A0 00 LDY #$00 ;
A6D5: 91 CA STA (00CA ),Y ;
A6D7: A9 01 LDA #$01 ;
A6D9: 91 C6 STA (00C6 ),Y ;
A6DB: A4 16 LDY <0016 ;
A6DD: 99 33 06 STA $0633,Y ;
A6E0: B9 2D 06 LDA $062D,Y ;
A6E3: A0 00 LDY #$00 ;
A6E5: 91 CC STA (00CC ),Y ;
A6E7: 20 0C A8 JSR $A80C ;
A6EA: A0 07 LDY #$07 ;
A6EC : B1 0C LDA (000C ),Y ;
A6EE: 91 C4 STA (00C4 ),Y ;
A6F0: 88 DEY ;
A6F1: 10 F9 BPL $A6EC ;
A6F3: AD 6F 06 LDA 066F ;
A6F6: 29 F0 AND #$F0 ;
A6F8: 48 PHA ;
A6F9: 4A LSR A ;
A6FA: 4A LSR A ;
A6FB: 4A LSR A ;
A6FC: 4A LSR A ;
A6FD: 85 0A STA <000A ;
A6FF: 68 PLA ;
A700: 05 0A ORA <000A ;
A702: 8D 6F 06 STA 066F ;
A705: A9 FF LDA #$FF ;
A707: 8D 70 06 STA 0670 ;
A70A: 20 19 A8 JSR $A819 ;
A70D: A0 00 LDY #$00 ;
A70F : B1 0E LDA (000E ),Y ;
A711: 91 C2 STA (00C2 ),Y ;
A713: E6 C2 INC <00C2 ;
A715: D0 02 BNE $A719 ;
A717: E6 C3 INC <00C3 ;
A719 : E6 0E INC <000E ;
A71B: D0 02 BNE $A71F ;
A71D: E6 0F INC <000F ;
A71F : A5 0E LDA <000E ;
A721: C9 FF CMP #$FF ;
A723: D0 EA BNE $A70F ;
A725: A5 0F LDA <000F ;
A727: C9 07 CMP #$07 ;
A729: D0 E4 BNE $A70F ;
A72B: 20 2A 9D JSR $9D2A ;
A72E: 20 C8 A3 JSR $A3C8 ;
A731: E6 13 INC <0013 ;
A733: 60 RTS ;
A734: A4 16 LDY <0016 ;
A736: B9 2A 65 LDA Q_SG1 ,Y ;
A739: D0 1C BNE $A757 ;
A73B: 20 2A 9D JSR $9D2A ;
A73E: 20 E1 A3 JSR $A3E1 ;
A741: A5 16 LDA <0016 ;
A743: 0A ASL A ;
A744: A8 TAY ;
A745: B9 9C 6D LDA $6D9C,Y ;
A748: C5 CE CMP <00CE ;
A74A: D0 0E BNE $A75A ;
A74C: C8 INY ;
A74D: B9 9C 6D LDA $6D9C,Y ;
A750: C5 CF CMP <00CF ;
A752: D0 06 BNE $A75A ;
A754: 20 64 A7 JSR $A764 ;
A757 : E6 13 INC <0013 ;
A759: 60 RTS ;
A75A : A4 16 LDY <0016 ;
A75C: A9 FF LDA #$FF ;
A75E: 99 2A 65 STA Q_SG1 ,Y ;
A761: E6 13 INC <0013 ;
A763: 60 RTS ;
A764 : A4 16 LDY <0016 ;
A766: A9 00 LDA #$00 ;
A768: 99 1E 65 STA $651E,Y ;
A76B: 99 21 65 STA $6521,Y ;
A76E: 98 TYA ;
A76F: 0A ASL A ;
A770: A8 TAY ;
A771: A9 00 LDA #$00 ;
A773: 99 24 65 STA $6524,Y ;
A776: C8 INY ;
A777: 99 24 65 STA $6524,Y ;
A77A: 20 2A 9D JSR $9D2A ;
A77D: 20 F1 6D JSR 6DF1 ;
A780: A0 27 LDY #$27 ;
A782 : B1 C0 LDA (00C0 ),Y ;
A784: 91 00 STA (GP_00 ),Y ;
A786: 88 DEY ;
A787: 10 F9 BPL $A782 ;
A789: A0 00 LDY #$00 ;
A78B: B1 C6 LDA (00C6 ),Y ;
A78D: 91 06 STA (0006 ),Y ;
A78F: B1 C8 LDA (00C8 ),Y ;
A791: 91 08 STA (0008 ),Y ;
A793: B1 CA LDA (00CA ),Y ;
A795: 91 0A STA (000A ),Y ;
A797: B1 CC LDA (00CC ),Y ;
A799: 91 0C STA (000C ),Y ;
A79B: B1 06 LDA (0006 ),Y ;
A79D: 48 PHA ;
A79E: B1 0A LDA (000A ),Y ;
A7A0: 48 PHA ;
A7A1: B1 0C LDA (000C ),Y ;
A7A3: 48 PHA ;
A7A4: A4 16 LDY <0016 ;
A7A6: 68 PLA ;
A7A7: 99 2D 06 STA $062D,Y ;
A7AA: 68 PLA ;
A7AB: 99 30 06 STA $0630,Y ;
A7AE: 68 PLA ;
A7AF: 99 33 06 STA $0633,Y ;
A7B2: A0 07 LDY #$07 ;
A7B4 : B1 C4 LDA (00C4 ),Y ;
A7B6: 91 04 STA (0004 ),Y ;
A7B8: 88 DEY ;
A7B9: 10 F9 BPL $A7B4 ;
A7BB: A0 00 LDY #$00 ;
A7BD : B1 C2 LDA (00C2 ),Y ;
A7BF: 91 02 STA (GP_02 ),Y ;
A7C1: E6 02 INC <GP_02 ;
A7C3: D0 02 BNE $A7C7 ;
A7C5: E6 03 INC <GP_03 ;
A7C7 : E6 C2 INC <00C2 ;
A7C9: D0 02 BNE $A7CD ;
A7CB: E6 C3 INC <00C3 ;
A7CD : E6 0E INC <000E ;
A7CF: D0 02 BNE $A7D3 ;
A7D1: E6 0F INC <000F ;
A7D3 : A5 0E LDA <000E ;
A7D5: C9 FF CMP #$FF ;
A7D7: D0 E4 BNE $A7BD ;
A7D9: A5 0F LDA <000F ;
A7DB: C9 07 CMP #$07 ;
A7DD: D0 DE BNE $A7BD ;
A7DF: A4 16 LDY <0016 ;
A7E1: A9 5A LDA #$5A ;
A7E3: 99 1E 65 STA $651E,Y ;
A7E6: A9 A5 LDA #$A5 ;
A7E8: 99 21 65 STA $6521,Y ;
A7EB: 98 TYA ;
A7EC: 0A ASL A ;
A7ED: A8 TAY ;
A7EE: B9 9C 6D LDA $6D9C,Y ;
A7F1: 99 24 65 STA $6524,Y ;
A7F4: C8 INY ;
A7F5: B9 9C 6D LDA $6D9C,Y ;
A7F8: 99 24 65 STA $6524,Y ;
A7FB: A4 16 LDY <0016 ;
A7FD: A9 FF LDA #$FF ;
A7FF: 99 2A 65 STA Q_SG1 ,Y ;
A802: 60 RTS ;
A803 : A9 00 LDA #$00 ;
A805: 85 12 STA <0012 ;
A807: A9 01 LDA #$01 ;
A809: 85 13 STA <0013 ;
A80B: 60 RTS ;
A80C : A4 16 LDY <0016 ;
A80E: B9 A7 A6 LDA $A6A7 ,Y ;
A811: 85 0C STA <000C ;
A813: B9 AA A6 LDA $A6AA ,Y ;
A816: 85 0D STA <000D ;
A818: 60 RTS ;
A819 : A4 16 LDY <0016 ;
A81B: B9 A1 A6 LDA $A6A1 ,Y ;
A81E: 85 0C STA <000C ;
A820: B9 A4 A6 LDA $A6A4 ,Y ;
A823: 85 0D STA <000D ;
A825: A0 01 LDY #$01 ;
A827 : B9 6F 06 LDA 066F ,Y ;
A82A: 91 0C STA (000C ),Y ;
A82C: 88 DEY ;
A82D: 10 F8 BPL $A827 ;
A82F: 60 RTS ;
A830: FF ;
A831: FF ;
A832: FF ;
A833: FF ;
A834: FF ;
A835: FF ;
A836: FF ;
A837: FF ;
A838: FF ;
A839: FF ;
A83A: FF ;
A83B: FF ;
A83C: FF ;
A83D: FF ;
A83E: FF ;
A83F: FF ;
A840: FF ;
A841: FF ;
A842: FF ;
A843: FF ;
A844: FF ;
A845: FF ;
A846: FF ;
A847: FF ;
A848: FF ;
A849: FF ;
A84A: FF ;
A84B: FF ;
A84C: FF ;
A84D: FF ;
A84E: FF ;
A84F: FF ;
A850: FF ;
A851: FF ;
A852: FF ;
A853: FF ;
A854: FF ;
A855: FF ;
A856: FF ;
A857: FF ;
A858: FF ;
A859: FF ;
A85A: FF ;
A85B: FF ;
A85C: FF ;
A85D: FF ;
A85E: FF ;
A85F: FF ;
A860: FF ;
A861: FF ;
A862: FF ;
A863: FF ;
A864: FF ;
A865: FF ;
A866: FF ;
A867: FF ;
A868: FF ;
A869: FF ;
A86A: FF ;
A86B: FF ;
A86C: FF ;
A86D: FF ;
A86E: FF ;
A86F: FF ;
A870: FF ;
A871: FF ;
A872: FF ;
A873: FF ;
A874: FF ;
A875: FF ;
A876: FF ;
A877: FF ;
A878: FF ;
A879: FF ;
A87A: FF ;
A87B: FF ;
A87C: FF ;
A87D: FF ;
A87E: FF ;
A87F: FF ;
A880: FF ;
A881: FF ;
A882: FF ;
A883: FF ;
A884: FF ;
A885: FF ;
A886: FF ;
A887: FF ;
A888: FF ;
A889: FF ;
A88A: FF ;
A88B: FF ;
A88C: FF ;
A88D: FF ;
A88E: FF ;
A88F: FF ;
A890: FF ;
A891: FF ;
A892: FF ;
A893: FF ;
A894: FF ;
A895: FF ;
A896: FF ;
A897: FF ;
A898: FF ;
A899: FF ;
A89A: FF ;
A89B: FF ;
A89C: FF ;
A89D: FF ;
A89E: FF ;
A89F: FF ;
A8A0: FF ;
A8A1: FF ;
A8A2: FF ;
A8A3: FF ;
A8A4: FF ;
A8A5: FF ;
A8A6: FF ;
A8A7: FF ;
A8A8: FF ;
A8A9: FF ;
A8AA: FF ;
A8AB: FF ;
A8AC: FF ;
A8AD: FF ;
A8AE: FF ;
A8AF: FF ;
A8B0: FF ;
A8B1: FF ;
A8B2: FF ;
A8B3: FF ;
A8B4: FF ;
A8B5: FF ;
A8B6: FF ;
A8B7: FF ;
A8B8: FF ;
A8B9: FF ;
A8BA: FF ;
A8BB: FF ;
A8BC: FF ;
A8BD: FF ;
A8BE: FF ;
A8BF: FF ;
A8C0: FF ;
A8C1: FF ;
A8C2: FF ;
A8C3: FF ;
A8C4: FF ;
A8C5: FF ;
A8C6: FF ;
A8C7: FF ;
A8C8: FF ;
A8C9: FF ;
A8CA: FF ;
A8CB: FF ;
A8CC: FF ;
A8CD: FF ;
A8CE: FF ;
A8CF: FF ;
A8D0: FF ;
A8D1: FF ;
A8D2: FF ;
A8D3: FF ;
A8D4: FF ;
A8D5: FF ;
A8D6: FF ;
A8D7: FF ;
A8D8: FF ;
A8D9: FF ;
A8DA: FF ;
A8DB: FF ;
A8DC: FF ;
A8DD: FF ;
A8DE: FF ;
A8DF: FF ;
A8E0: FF ;
A8E1: FF ;
A8E2: FF ;
A8E3: FF ;
A8E4: FF ;
A8E5: FF ;
A8E6: FF ;
A8E7: FF ;
A8E8: FF ;
A8E9: FF ;
A8EA: FF ;
A8EB: FF ;
A8EC: FF ;
A8ED: FF ;
A8EE: FF ;
A8EF: FF ;
A8F0: FF ;
A8F1: FF ;
A8F2: FF ;
A8F3: FF ;
A8F4: FF ;
A8F5: FF ;
A8F6: FF ;
A8F7: FF ;
A8F8: FF ;
A8F9: FF ;
A8FA: FF ;
A8FB: FF ;
A8FC: FF ;
A8FD: FF ;
A8FE: FF ;
A8FF: FF ;
A900: A5 13 LDA <0013 ;
A902: 20 E2 E5 JSR $E5E2 ;
A905: 0F ;
A906: A9 3F LDA #$3F ;
A908: A9 7F LDA #$7F ;
A90A: A9 F5 LDA #$F5 ;
A90C: A9 FF LDA #$FF ;
A90E: A9 20 LDA #$20 ;
A910: 21 A9 AND (00A9 ,X) ;
A912: A5 13 LDA <0013 ;
A914: F0 42 BEQ $A958 ;
A916: 20 F7 E5 JSR $E5F7 ;
A919: 20 31 F2 JSR $F231 ;
A91C: A2 01 LDX #$01 ;
A91E: 4C CA 79 JMP 79CA ;
A921: A5 28 LDA <0028 ;
A923: D0 14 BNE $A939 ;
A925: AD 09 06 LDA SND_CurSong ;
A928: D0 0F BNE $A939 ;
A92A: 20 40 72 JSR 7240 ;
A92D: A5 7C LDA <007C ;
A92F: C9 11 CMP #$11 ;
A931: B0 06 BCS $A939 ;
A933: A9 80 LDA #$80 ;
A935: 85 28 STA <0028 ;
A937: E6 13 INC <0013 ;
A939 : 60 RTS ;
A93A : 23 ;
A93B: D8 CLD ;
A93C: 68 PLA ;
A93D: 00 BRK ;
A93E: FF ;
A93F: A0 04 LDY #$04 ;
A941 : B9 3A A9 LDA $A93A ,Y ;
A944: 99 02 03 STA 0302 ,Y ;
A947: 88 DEY ;
A948: 10 F7 BPL $A941 ;
A94A: A9 A4 LDA #$A4 ;
A94C: 8D 5F 04 STA 045F ;
A94F: A9 00 LDA #$00 ;
A951: 8D 16 04 STA 0416 ;
A954: 85 AD STA <00AD ;
A956: E6 13 INC <0013 ;
A958 : 60 RTS ;
; THANKS LINK, YOU'RE THE HERO OF HYRULE.
A959: 1D 11 0A ORA $0A11,X ;
A95C: 17 ;
A95D: 14 ;
A95E: 1C ;
A95F: 24 15 BIT <0015 ;
A961: 12 ;
A962: 17 ;
A963: 14 ;
A964: 28 PLP ;
A965: 22 ;
A966: 18 CLC ;
A967: 1E 2A 1B ASL $1B2A,X ;
A96A: 8E 64 1D STX $1D64 ;
A96D: 11 0E ORA (000E ),Y ;
A96F: 24 11 BIT <0011 ;
A971: 0E 1B 18 ASL $181B ;
A974: 24 18 BIT <0018 ;
A976: 0F ;
A977: 24 11 BIT <0011 ;
A979: 22 ;
A97A: 1B ;
A97B: 1E 15 0E ASL $0E15,X ;
A97E: EC 20 95 CPX $9520 ;
A981: A9 A5 LDA #$A5 ;
A983: AD F0 06 LDA 06F0 ;
A986: A9 50 LDA #$50 ;
A988: 85 29 STA <0029 ;
A98A: E6 13 INC <0013 ;
A98C: 60 RTS ;
A98D : 21 A4 AND (00A4 ,X) ;
A98F: 01 24 ORA (0024 ,X) ;
A991: FF ;
A992 : C4 E4 CPY <00E4 ;
A994: A4 20 LDY <0020 ;
A996: 31 F2 AND ($F2),Y ;
A998: A5 29 LDA <0029 ;
A99A: D0 58 BNE $A9F4 ;
A99C: A9 06 LDA #$06 ;
A99E: 85 29 STA <0029 ;
A9A0: A0 04 LDY #$04 ;
A9A2 : B9 8D A9 LDA $A98D ,Y ;
A9A5: 99 02 03 STA 0302 ,Y ;
A9A8: 88 DEY ;
A9A9: 10 F7 BPL $A9A2 ;
A9AB : AD 5F 04 LDA 045F ;
A9AE: 8D 03 03 STA 0303 ;
A9B1: EE 5F 04 INC 045F ;
A9B4: A9 59 LDA #$59 ;
A9B6: 85 00 STA <GP_00 ;
A9B8: A9 A9 LDA #$A9 ;
A9BA: 85 01 STA <GP_01 ;
A9BC: AC 16 04 LDY 0416 ;
A9BF: EE 16 04 INC 0416 ;
A9C2: B1 00 LDA (GP_00 ),Y ;
A9C4: 29 3F AND #$3F ;
A9C6: C9 25 CMP #$25 ;
A9C8: F0 E1 BEQ $A9AB ;
A9CA: 8D 05 03 STA !BckGndBuf ;
A9CD: A9 10 LDA #$10 ;
A9CF: 8D 04 06 STA SND_Request ;
A9D2: B1 00 LDA (GP_00 ),Y ;
A9D4: 29 C0 AND #$C0 ;
A9D6: F0 1C BEQ $A9F4 ;
A9D8: A0 02 LDY #$02 ;
A9DA: C9 C0 CMP #$C0 ;
A9DC: F0 06 BEQ $A9E4 ;
A9DE: 88 DEY ;
A9DF: C9 40 CMP #$40 ;
A9E1: F0 01 BEQ $A9E4 ;
A9E3: 88 DEY ;
A9E4 : B9 92 A9 LDA $A992 ,Y ;
A9E7: 8D 5F 04 STA 045F ;
A9EA: C0 02 CPY #$02 ;
A9EC: D0 06 BNE $A9F4 ;
A9EE: E6 AD INC <00AD ;
A9F0: A9 00 LDA #$00 ;
A9F2: 85 AC STA <00AC ;
A9F4 : 60 RTS ;
A9F5: A5 29 LDA <0029 ;
A9F7: D0 FB BNE $A9F4 ;
A9F9: 20 E9 6E JSR 6EE9 ;
A9FC: E6 13 INC <0013 ;
A9FE: 60 RTS ;
A9FF: A9 08 LDA #$08 ;
AA01: 8D 0B 05 STA 050B ;
AA04: 20 90 6C JSR 6C90 ;
AA07: 8D 12 04 STA 0412 ;
AA0A: 8D 13 04 STA 0413 ;
AA0D: 4C F7 E5 JMP $E5F7 ;
AA10: A5 13 LDA <0013 ;
AA12: 20 E2 E5 JSR $E5E2 ;
AA15: 23 ;
AA16: AA TAX ;
AA17: A9 AA LDA #$AA ;
AA19: A9 AA LDA #$AA ;
AA1B: C4 AB CPY <00AB ;
AA1D: 7F ;
AA1E: AB ;
AA1F : 0F ;
AA20: 12 ;
AA21: 16 2A ASL 002A ,X ;
AA23: 20 F7 E5 JSR $E5F7 ;
AA26: EE 06 05 INC 0506 ;
AA29: AD 06 05 LDA 0506 ;
AA2C: C9 C0 CMP #$C0 ;
AA2E: F0 20 BEQ $AA50 ;
AA30: 20 62 AA JSR $AA62 ;
AA33 : AE 06 05 LDX 0506 ;
AA36: E0 40 CPX #$40 ;
AA38: 90 15 BCC $AA4F ;
AA3A: A0 23 LDY #$23 ;
AA3C : B9 7E 6B LDA $6B7E,Y ;
AA3F: 99 02 03 STA 0302 ,Y ;
AA42: 88 DEY ;
AA43: 10 F7 BPL $AA3C ;
AA45: 8A TXA ;
AA46: 29 03 AND #$03 ;
AA48: AA TAX ;
AA49: BD 1F AA LDA $AA1F ,X ;
AA4C: 8D 15 03 STA 0315 ;
AA4F : 60 RTS ;
AA50 : A9 10 LDA #$10 ;
AA52: 8D 00 06 STA SND_ReqMusic ;
AA55: A9 40 LDA #$40 ;
AA57: 85 28 STA <0028 ;
AA59: A9 40 LDA #$40 ;
AA5B: 85 4D STA <004D ;
AA5D: E6 13 INC <0013 ;
AA5F: 4C 33 AA JMP $AA33 ;
AA62 : A5 70 LDA <0070 ;
AA64: 85 83 STA <0083 ;
AA66: A5 84 LDA <0084 ;
AA68: 38 SEC ;
AA69: E9 10 SBC #$10 ;
AA6B: 85 97 STA <0097 ;
AA6D: A2 00 LDX #$00 ;
AA6F: 20 93 FA JSR $FA93 ;
AA72: 20 88 79 JSR 7988 ;
AA75: 85 0C STA <000C ;
AA77: A9 48 LDA #$48 ;
AA79: 8D 43 03 STA 0343 ;
AA7C: A9 4C LDA #$4C ;
AA7E: 8D 44 03 STA 0344 ;
AA81: A0 21 LDY #$21 ;
AA83: 20 2C 79 JSR 792C ;
AA86: A9 1B LDA #$1B ;
AA88: A2 13 LDX #$13 ;
AA8A : 20 0E E7 JSR $E70E ;
AA8D: A2 01 LDX #$01 ;
AA8F: 20 93 FA JSR $FA93 ;
AA92: 8A TXA ;
AA93: 20 DB 77 JSR 77DB ;
AA96: A5 71 LDA <0071 ;
AA98: 85 72 STA <0072 ;
AA9A: A5 85 LDA <0085 ;
AA9C: 38 SEC ;
AA9D: E9 10 SBC #$10 ;
AA9F: 85 86 STA <0086 ;
AAA1: A2 02 LDX #$02 ;
AAA3: A9 1B LDA #$1B ;
AAA5: 20 0E E7 JSR $E70E ;
AAA8: 60 RTS ;
AAA9: A5 4D LDA <004D ;
AAAB: F0 1A BEQ $AAC7 ;
AAAD: 20 F7 E5 JSR $E5F7 ;
AAB0: A5 4D LDA <004D ;
AAB2: C9 04 CMP #$04 ;
AAB4: 90 10 BCC $AAC6 ;
AAB6: 20 62 AA JSR $AA62 ;
AAB9: A5 13 LDA <0013 ;
AABB: C9 01 CMP #$01 ;
AABD: D0 07 BNE $AAC6 ;
AABF: A5 28 LDA <0028 ;
AAC1: D0 03 BNE $AAC6 ;
AAC3: 20 3C AB JSR $AB3C ;
AAC6 : 60 RTS ;
AAC7 : A9 6A LDA #$6A ;
AAC9: 85 14 STA <0014 ;
AACB: E6 13 INC <0013 ;
AACD: 60 RTS ;
AACE : 22 ;
AACF: A4 01 LDY <GP_01 ;
AAD1: 24 FF BIT <CUR_2000 ;
AAD3 : AC AD AE LDY $AEAD ;
AAD6: AF ;
AAD7: B0 B1 BCS $AA8A ;
AAD9: B2 ;
AADA : B3 ;
AADB: E4 E5 CPX <00E5 ;
AADD: E6 E7 INC <00E7 ;
AADF: E8 INX ;
AAE0: E9 EA SBC #$EA ;
AAE2: EB ;
AAE3: EC ED EE CPX $EEED ;
AAE6: EF ;
AAE7: F0 F1 BEQ $AADA ;
AAE9: F2 ;
AAEA: F3 ;
AAEB: F4 ;
AAEC: F5 F6 SBC TileFlagB ,X ;
AAEE: F7 ;
AAEF: F8 SED ;
AAF0: F9 FA FB SBC $FBFA,Y ;
AAF3: 46 47 LSR <0047 ;
AAF5: 48 PHA ;
AAF6: 49 4A EOR #$4A ;
AAF8: 4B ;
AAF9: 4C 4D 4E JMP $4E4D ;
AAFC: 4F ;
AAFD: 50 51 BVC $AB50 ;
AAFF: 52 ;
AB00: 53 ;
AB01: 54 ;
AB02: 55 56 EOR 0056 ,X ;
AB04: 57 ;
AB05: 58 CLI ;
AB06: 59
; FINALLY PEACE RETURNS TO HYRULE. THIS ENDS THE STORY.
AB07 : 0F 12
AB09: 17 ;
AB0A: 0A ASL A ;
AB0B: 15 15 ORA 0015 ,X ;
AB0D: 22 ;
AB0E: 28 PLP ;
AB0F: 19 0E 0A ORA $0A0E,Y ;
AB12: 0C ;
AB13: 0E 24 1B ASL $1B24 ;
AB16: 0E 1D 1E ASL $1E1D ;
AB19: 1B ;
AB1A: 17 ;
AB1B: 1C ;
AB1C: 24 1D BIT <001D ;
AB1E: 18 CLC ;
AB1F: 24 11 BIT <0011 ;
AB21: 22 ;
AB22: 1B ;
AB23: 1E 15 0E ASL $0E15,X ;
AB26: 2C 1D 11 BIT $111D ;
AB29: 12 ;
AB2A: 1C ;
AB2B: 24 0E BIT <000E ;
AB2D: 17 ;
AB2E: 0D 1C 24 ORA $241C ;
AB31: 1D 11 0E ORA $0E11,X ;
AB34: 24 1C BIT <001C ;
AB36: 1D 18 1B ORA $1B18,X ;
AB39: 22 ;
AB3A: 2C
AB3B: FF EE
AB3D: 12 ;
AB3E: 04 ;
AB3F: AD 12 04 LDA 0412 ;
AB42: 29 07 AND #$07 ;
AB44: C9 04 CMP #$04 ;
AB46: D0 33 BNE $AB7B ;
AB48: A0 04 LDY #$04 ;
AB4A : B9 CE AA LDA $AACE ,Y ;
AB4D: 99 02 03 STA 0302 ,Y ;
AB50 : 88 DEY ;
AB51: 10 F7 BPL $AB4A ;
AB53: AC 13 04 LDY 0413 ;
AB56: B9 07 AB LDA $AB07 ,Y ;
AB59: C9 FF CMP #$FF ;
AB5B: F0 1F BEQ $AB7C ;
AB5D: 8D 05 03 STA !BckGndBuf ;
AB60: C9 24 CMP #$24 ;
AB62: F0 05 BEQ $AB69 ;
AB64: A9 10 LDA #$10 ;
AB66: 8D 04 06 STA SND_Request ;
AB69 : EE 13 04 INC 0413 ;
AB6C: B9 D3 AA LDA $AAD3 ,Y ;
AB6F: 8D 03 03 STA 0303 ;
AB72: C9 A0 CMP #$A0 ;
AB74: B0 05 BCS $AB7B ;
AB76: A9 23 LDA #$23 ;
AB78: 8D 02 03 STA 0302 ;
AB7B : 60 RTS ;
AB7C : E6 13 INC <0013 ;
AB7E : 60 RTS ;
AB7F: 20 F7 E5 JSR $E5F7 ;
AB82: A2 02 LDX #$02 ;
AB84: A9 78 LDA #$78 ;
AB86: 95 70 STA 0070 ,X ;
AB88: A9 88 LDA #$88 ;
AB8A: 95 84 STA 0084 ,X ;
AB8C: A9 0E LDA #$0E ;
AB8E: 20 0E E7 JSR $E70E ;
AB91: A2 02 LDX #$02 ;
AB93: A9 3E LDA #$3E ;
AB95: 9D 4F 03 STA 034F ,X ;
AB98: 20 B8 AB JSR $ABB8 ;
AB9B: A5 28 LDA <0028 ;
AB9D: D0 DF BNE $AB7E ;
AB9F: A5 F8 LDA <00F8 ;
ABA1: 29 10 AND #$10 ;
ABA3: F0 D9 BEQ $AB7E ;
ABA5: 20 A3 EB JSR $EBA3 ;
ABA8: A9 0D LDA #$0D ;
ABAA : 85 12 STA <0012 ;
ABAC: 20 25 E6 JSR $E625 ;
ABAF: 20 6D E4 JSR $E46D ;
ABB2: 20 E9 6E JSR 6EE9 ;
ABB5: 4C 5A AF JMP $AF5A ;
ABB8 : 20 93 FA JSR $FA93 ;
ABBB: A9 0B LDA #$0B ;
ABBD: 4C DF 77 JMP 77DF ;
ABC0 : 02 ;
ABC1: 03 ;
ABC2 : 78 SEI ;
ABC3: 00 BRK ;
ABC4: AD 0B 05 LDA 050B ;
ABC7: C9 08 CMP #$08 ;
ABC9: 30 0B BMI $ABD6 ;
ABCB: AD 0B 05 LDA 050B ;
ABCE: E9 08 SBC #$08 ;
ABD0: 8D 0B 05 STA 050B ;
ABD3: 20 13 AE JSR $AE13 ;
ABD6 : A5 58 LDA <0058 ;
ABD8: 18 CLC ;
ABD9: 69 80 ADC #$80 ;
ABDB: 85 58 STA <0058 ;
ABDD: 90 03 BCC $ABE2 ;
ABDF: EE 0B 05 INC 050B ;
ABE2 : A5 FC LDA <CUR_VScroll ;
ABE4: 69 00 ADC #$00 ;
ABE6: 85 FC STA <CUR_VScroll ;
ABE8: C9 F0 CMP #$F0 ;
ABEA: A9 00 LDA #$00 ;
ABEC: 90 05 BCC $ABF3 ;
ABEE: 85 FC STA <CUR_VScroll ;
ABF0: EE E2 00 INC 00E2 ;
ABF3 : 2A ROL A ;
ABF4: 85 5C STA <!FlipFlag ;
ABF6: A0 00 LDY #$00 ;
ABF8: A6 16 LDX <0016 ;
ABFA: BD 2D 06 LDA $062D,X ;
ABFD: F0 01 BEQ $AC00 ;
ABFF: C8 INY ;
AC00 : AD E2 00 LDA 00E2 ;
AC03: D9 C0 AB CMP $ABC0 ,Y ;
AC06: 90 0D BCC $AC15 ;
AC08: A5 FC LDA <CUR_VScroll ;
AC0A: D9 C2 AB CMP $ABC2 ,Y ;
AC0D: 90 06 BCC $AC15 ;
AC0F: E6 13 INC <0013 ;
AC11: A9 40 LDA #$40 ;
AC13: 85 28 STA <0028 ;
AC15 : 60 RTS ;
AC16 : 28 PLP ;
AC17: 29 2A AND #$2A ;
AC19: 2B ;
AC1A: 20 21 22 JSR $2221 ;
AC1D: 23 ;
AC1E: 28 PLP ;
AC1F: 29 2A AND #$2A ;
AC21: 2B ;
AC22 : 46 10 LSR <0010 ;
AC24: 90 84 BCC $ABAA ;
AC26: 24 30 BIT <0030 ;
AC28: 01 48 ORA (0048 ,X) ;
AC2A: 03 ;
AC2B: 25 05 AND <0005 ;
AC2D: 40 RTI ;
AC2E : 5C ;
AC2F: 65 70 ADC <0070 ;
AC31: 88 DEY ;
AC32: A0 B8 LDY #$B8 ;
AC34: C8 INY ;
AC35: E0 F8 CPX #$F8 ;
AC37: 06 14 ASL <0014 ;
AC39: 1B ;
AC3A: 33 ;
AC3B: 4D 59 72 EOR 7259 ;
AC3E: 82 ;
AC3F: 92 ;
AC40: A1 B6 LDA (00B6 ,X) ;
AC42: C9 D1 CMP #$D1 ;
AC44: EA NOP ;
AC45 : AC AC AC LDY $ACAC ;
AC48: AC AC AC LDY $ACAC ;
AC4B: AC AC AC LDY $ACAC ;
AC4E: AD AD AD LDA $ADAD ;
AC51: AD AD AD LDA $ADAD ;
AC54: AD AD AD LDA $ADAD ;
AC57: AD AD AD LDA $ADAD ;
AC5A: AD AD
AC5C: 07 0D 24 1C 1D 0A 0F 0F 24 09 05 0E ; "7D STAFF 95EXECUTIVEM5PRODUCERZZZ
AC68: 21 0E 0C 1E 1D 12 1F 0E 16 05 19 1B ; HZYAMAUCHIM5PRODUCERZZZZ
AC74: 18 0D 1E 0C 0E 1B 63 63 63 24 11 63 ; SZMIYAHONM5DIRECTORZZZZ SZMIYAHONEDZZZZZZ
AC80: 22 0A 16 0A 1E 0C 11 12 16 05 19 1B ; TEN TENM5DESIGNERZZZZZZ TEN
AC8C: 18 0D 1E 0C 0E 1B 63 63 63 63 24 1C ; TENM5PROGRAMMERZZ TZNAKAZOOCFZZZZZ
AC98: 63 16 12 22 0A 11 18 17 16 05 0D 12 ; YACHANCFZZZ MARUMARU55SOUNDM5COMPOSERZZZZZZ
ACA4: 1B 0E 0C 1D 18 1B 63 63 63 63 24 1C ; KONCHANO4ANOTHER QUEST WILL STARTABFROM
ACB0: 63 16 12 22 0A 11 18 17 0E 0D 63 63 ; HERE.N5PRESS THE START BUTTON.E9"
ACBC: 63 63 63 63 24 1D 0E 17 24 1D 0E 17 ; .
ACC8: 16 05 0D 0E 1C 12 10 17 0E 1B 63 63 ; .
ACD4: 63 63 63 63 24 1D 0E 17 24 1D 0E 17 ; .
ACE0: 16 05 19 1B 18 10 1B 0A 16 16 0E 1B ; .
ACEC: 63 63 24 1D 63 17 0A 14 0A 23 18 18 ; .
ACF8: 0C 0F 63 63 63 63 63 24 22 0A 0C 11 ; .
AD04: 0A 17 0C 0F 63 63 63 24 16 0A 1B 1E ; .
AD10: 16 0A 1B 1E 05 05 1C 18 1E 17 0D 16 ; .
AD1C: 05 0C 18 16 19 18 1C 0E 1B 63 63 63 ; .
AD28: 63 63 63 24 14 18 17 0C 11 0A 17 18 ; .
AD34: 04 0A 17 18 1D 11 0E 1B 24 1A 1E 0E ; .
AD40: 1C 1D 24 20 12 15 15 24 1C 1D 0A 1B ; .
AD4C: 1D 0A 0B 0F 1B 18 16 24 11 0E 1B 0E ; .
AD58: 2C 17 05 19 1B 0E 1C 1C 24 1D 11 0E ; .
AD64: 24 1C 1D 0A 1B 1D 24 0B 1E 1D 1D 18 ; .
AD70: 17 2C 0E 09 ; .
AD74: FC ; Copyright symbol
AD75: 01 09 08 06 24 17 12 17 1D 0E 17 0D ; "1986 NINTENDOE9YOU ARE GREATZD9 Y
AD81: 18 0E 09 22 18 1E 24 0A 1B 0E 24 10 ; J6YOU HAVE AN AMAZINGH8WISDOM AND
AD8D: 1B 0E 0A 1D 63 0D 09 24 24 24 24 24 ; POWERZ6DEND OFN4"THE LEGEND OF ZELDA 1"E9"
AD99: 24 24 24 24 62 24 24 24 13 06 22 18 ; .
ADA5: 1E 24 11 0A 1F 0E 24 0A 17 24 0A 16 ; .
ADB1: 0A 23 12 17 10 11 08 20 12 1C 0D 18 ; .
ADBD: 16 24 0A 17 0D 24 19 18 20 0E 1B 63 ; .
ADC9: 06 0D 0E 17 0D 24 18 0F 17 04 2D 1D ; .
ADD5: 11 0E 24 15 0E 10 0E 17 0D 24 18 0F ; .
ADE1: 24 23 0E 15 0D 0A 24 01 2D 0E 09
ADEC: FC ; Copyright symbol
ADED: 01 09 08 06 24 17 12 17 1D 0E 17 0D ; "1986 NINTENDO0'"
ADF9: 18 00 AA ; .
ADFC: FF ;
ADFD: FF ;
ADFE: 55 AA EOR $AA,X ;
AE00: AA TAX ;
AE01: FF ;
AE02: FF ;
AE03: FF ;
AE04: 55 00 EOR GP_00 ,X ;
AE06: 00 BRK ;
AE07: 00 BRK ;
AE08: 00 BRK ;
AE09: 00 BRK ;
AE0A: 00 BRK ;
AE0B: 00 BRK ;
AE0C: 50 00 BVC $AE0E ;
AE0E : 00 BRK ;
AE0F: 00 BRK ;
AE10: AA TAX ;
AE11: 00 BRK ;
AE12: 00 BRK ;
AE13 : A0 1F LDY #$1F ;
AE15: A9 24 LDA #$24 ;
AE17 : 99 05 03 STA !BckGndBuf ,Y ;
AE1A: 88 DEY ;
AE1B: 10 FA BPL $AE17 ;
AE1D: AD 0A 05 LDA 050A ;
AE20: F0 1C BEQ $AE3E ;
AE22: C9 01 CMP #$01 ;
AE24: F0 06 BEQ $AE2C ;
AE26: C9 2E CMP #$2E ;
AE28: 90 0C BCC $AE36 ;
AE2A: D0 12 BNE $AE3E ;
AE2C : A0 19 LDY #$19 ;
AE2E: A9 FA LDA #$FA ;
AE30 : 99 08 03 STA 0308 ,Y ;
AE33: 88 DEY ;
AE34: 10 FA BPL $AE30 ;
AE36 : A9 FA LDA #$FA ;
AE38: 8D 08 03 STA 0308 ;
AE3B: 8D 21 03 STA 0321 ;
AE3E : A9 FF LDA #$FF ;
AE40: 8D 25 03 STA 0325 ;
AE43: 8D 30 03 STA 0330 ;
AE46: A9 20 LDA #$20 ;
AE48: 8D 04 03 STA 0304 ;
AE4B: AE 0C 05 LDX 050C ;
AE4E: BD 16 AC LDA $AC16 ,X ;
AE51: 8D 02 03 STA 0302 ;
AE54: AD 0D 05 LDA 050D ;
AE57: A8 TAY ;
AE58: 0A ASL A ;
AE59: 0A ASL A ;
AE5A: 0A ASL A ;
AE5B: 0A ASL A ;
AE5C: 0A ASL A ;
AE5D: 8D 03 03 STA 0303 ;
AE60: BD 22 AC LDA $AC22 ,X ;
AE63 : 0A ASL A ;
AE64: 88 DEY ;
AE65: 10 FC BPL $AE63 ;
AE67: 90 79 BCC $AEE2 ;
AE69: AC 0E 05 LDY 050E ;
AE6C: C0 17 CPY #$17 ;
AE6E: B0 72 BCS $AEE2 ;
AE70: A6 16 LDX <0016 ;
AE72: BD 2D 06 LDA $062D,X ;
AE75: D0 04 BNE $AE7B ;
AE77: C0 10 CPY #$10 ;
AE79: B0 64 BCS $AEDF ;
AE7B : A6 16 LDX <0016 ;
AE7D: BD 2D 06 LDA $062D,X ;
AE80: F0 08 BEQ $AE8A ;
AE82: C0 0C CPY #$0C ;
AE84: 90 04 BCC $AE8A ;
AE86: C0 10 CPY #$10 ;
AE88: 90 55 BCC $AEDF ;
AE8A : B9 2E AC LDA $AC2E ,Y ;
AE8D: 85 00 STA <GP_00 ;
AE8F: B9 45 AC LDA $AC45 ,Y ;
AE92: 85 01 STA <GP_01 ;
AE94: A0 00 LDY #$00 ;
AE96: B1 00 LDA (GP_00 ),Y ;
AE98: 85 02 STA <GP_02 ;
AE9A: C8 INY ;
AE9B: B1 00 LDA (GP_00 ),Y ;
AE9D: AA TAX ;
AE9E: C8 INY ;
AE9F : B1 00 LDA (GP_00 ),Y ;
AEA1: 9D 05 03 STA !BckGndBuf ,X ;
AEA4: C8 INY ;
AEA5: E8 INX ;
AEA6: C6 02 DEC <GP_02 ;
AEA8: D0 F5 BNE $AE9F ;
AEAA: AC 0E 05 LDY 050E ;
AEAD : C0 0C CPY #$0C ;
AEAF: 90 2E BCC $AEDF ;
AEB1: C0 11 CPY #$11 ;
AEB3: D0 2A BNE $AEDF ;
AEB5: A5 16 LDA <0016 ;
AEB7: 0A ASL A ;
AEB8: 0A ASL A ;
AEB9: 0A ASL A ;
AEBA: A8 TAY ;
AEBB: A2 00 LDX #$00 ;
AEBD : B9 38 06 LDA $0638,Y ;
AEC0: 9D 0E 03 STA $030E,X ;
AEC3: C8 INY ;
AEC4: E8 INX ;
AEC5: E0 08 CPX #$08 ;
AEC7: 90 F4 BCC $AEBD ;
AEC9: AC 16 00 LDY 0016 ;
AECC: B9 30 06 LDA $0630,Y ;
AECF: 20 55 6E JSR 6E55 ;
AED2: A2 02 LDX #$02 ;
AED4 : B5 01 LDA GP_01 ,X ;
AED6: 9D 18 03 STA $0318,X ;
AED9: CA DEX ;
AEDA: 10 F8 BPL $AED4 ;
AEDC: AC 0E 05 LDY 050E ;
AEDF : EE 0E 05 INC 050E ;
AEE2 : EE 0D 05 INC 050D ;
AEE5: AD 0C 05 LDA 050C ;
AEE8: 29 03 AND #$03 ;
AEEA: C9 03 CMP #$03 ;
AEEC: A9 08 LDA #$08 ;
AEEE: 90 02 BCC $AEF2 ;
AEF0: A9 06 LDA #$06 ;
AEF2 : CD 0D 05 CMP 050D ;
AEF5: D0 11 BNE $AF08 ;
AEF7: A9 00 LDA #$00 ;
AEF9: 8D 0D 05 STA 050D ;
AEFC: AC 0C 05 LDY 050C ;
AEFF: C8 INY ;
AF00: C0 0C CPY #$0C ;
AF02: 90 01 BCC $AF05 ;
AF04: A8 TAY ;
AF05 : 8C 0C 05 STY 050C ;
AF08 : AD 0A 05 LDA 050A ;
AF0B: 4A LSR A ;
AF0C: B0 35 BCS $AF43 ;
AF0E: 4A LSR A ;
AF0F: B0 32 BCS $AF43 ;
AF11: A2 00 LDX #$00 ;
AF13: 8E 28 03 STX 0328 ;
AF16: 8E 2F 03 STX 032F ;
AF19: A8 TAY ;
AF1A: B9 FA AD LDA $ADFA ,Y ;
AF1D: A0 05 LDY #$05 ;
AF1F : 99 29 03 STA 0329 ,Y ;
AF22: 88 DEY ;
AF23: 10 FA BPL $AF1F ;
AF25: A0 23 LDY #$23 ;
AF27: AD 02 03 LDA 0302 ;
AF2A: 29 08 AND #$08 ;
AF2C: F0 02 BEQ $AF30 ;
AF2E: A0 2B LDY #$2B ;
AF30 : 8C 25 03 STY 0325 ;
AF33: AD 0A 05 LDA 050A ;
AF36: 29 1F AND #$1F ;
AF38: 0A ASL A ;
AF39: 69 C0 ADC #$C0 ;
AF3B: 8D 26 03 STA 0326 ;
AF3E: A9 08 LDA #$08 ;
AF40: 8D 27 03 STA 0327 ;
AF43 : AC 0A 05 LDY 050A ;
AF46: C8 INY ;
AF47: 98 TYA ;
AF48: 29 1F AND #$1F ;
AF4A: C9 1E CMP #$1E ;
AF4C: 90 02 BCC $AF50 ;
AF4E: C8 INY ;
AF4F: C8 INY ;
AF50 : 8C 0A 05 STY 050A ;
AF53: 60 RTS ;
AF54 : 7F 06
AF56: FF 06
AF58: 7F 07
AF5A : A2 04 LDX #$04 ;
AF5C : BD 54 AF LDA $AF54 ,X ;
AF5F: 85 00 STA <GP_00 ;
AF61: BD 55 AF LDA $AF55 ,X ;
AF64: 85 01 STA <GP_01 ;
AF66: A0 7F LDY #$7F ;
AF68: A9 00 LDA #$00 ;
AF6A : 91 00 STA (GP_00 ),Y ;
AF6C: 88 DEY ;
AF6D: 10 FB BPL $AF6A ;
AF6F: CA DEX ;
AF70: CA DEX ;
AF71: 10 E9 BPL $AF5C ;
AF73: A0 27 LDY #$27 ;
AF75 : 99 57 06 STA 0657 ,Y ;
AF78: 88 DEY ;
AF79: 10 FA BPL $AF75 ;
AF7B: A9 22 LDA #$22 ;
AF7D: 8D 6F 06 STA 066F ;
AF80: CE 70 06 DEC 0670 ;
AF83: A9 08 LDA #$08 ;
AF85: 8D 7C 06 STA 067C ;
AF88: A4 16 LDY <0016 ;
AF8A: A9 01 LDA #$01 ;
AF8C: 99 2D 06 STA $062D,Y ;
AF8F: 60 RTS ;
AF90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
AFA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
AFC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
AFE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B000: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B0C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B0E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B100: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B120: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B140: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B160: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B180: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B1A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B1C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B1E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B200: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B220: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B240: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B260: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B280: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B2A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B2C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B2E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B300: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B320: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B340: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B360: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B380: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B3A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B3C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B3E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B400: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B420: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B440: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B460: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B480: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B4A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B4C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B4E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B500: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B520: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B540: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B560: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B580: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B5A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B5C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B5E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B600: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B620: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B640: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B660: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B680: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B6A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B6C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B6E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B700: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B720: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B740: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B760: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B780: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B7A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B7C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B7E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B800: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B820: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B840: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B860: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B880: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B8A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B8C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B8E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B900: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B920: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B940: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B960: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B980: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B9A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B9C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
B9E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BA00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BA20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BA40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BA60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BA80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BAA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BAC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BAE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BB00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BB20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BB40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BB60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BB80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BBA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BBC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BBE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BC00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BC20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BC40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BC60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BC80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BCA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BCC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BCE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BD00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BD20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BD40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BD60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BD80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BDA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BDC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BDE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BE00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BE20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BE40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BE60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BE80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BEA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BEC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BEE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BF00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BF20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BF40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
; From here down is the same in all banks (except for the origin
; difference in bank 7).
RESET
RESET :
;
; Configure the MMC1 and jump to E440 (Bank 7) for startup.
;
BF50: 78 SEI ; Disable interrupts
BF51: D8 CLD ; Clear decimal flag
BF52: A9 00 LDA #$00 ; Clear the PPU control register ...
BF54: 8D 00 20 STA P_CNTRL_1 ; ... truns off NMIs
BF57: A2 FF LDX #$FF ; Stack to ...
BF59: 9A TXS ; ... 01FF
BF5A : AD 02 20 LDA P_STATUS ; Wait ...
BF5D: 29 80 AND #$80 ; ... for ...
BF5F: F0 F9 BEQ $BF5A ; ... VBLANK
BF61 : AD 02 20 LDA P_STATUS ; Wait ...
BF64: 29 80 AND #$80 ; ... for another ...
BF66: F0 F9 BEQ $BF61 ; ... VBLANK (1st might have been a leftover flag)
BF68: 09 FF ORA #$FF ; Reset ...
BF6A: 8D 00 80 STA $8000 ; ... ...
BF6D: 8D 00 A0 STA $A000 ; ... all ...
BF70: 8D 00 C0 STA $C000 ; ... four ...
BF73: 8D 00 E0 STA $E000 ; ... MMC1 registers
BF76: A9 0F LDA #$0F ; Set MMC control to 8K CHR ROM, fixed/bank 16K PRG pages, ...
BF78: 20 98 BF JSR MMC_Control ; ... and horizontal mirroring (vertical scrolling)
BF7B: A9 00 LDA #$00 ; Set MMC reg1 VROM bank
BF7D: 8D 00 A0 STA $A000 ; The cartridge doesn't ...
BF80: 4A LSR A ; ... swap VROM pages. ...
BF81: 8D 00 A0 STA $A000 ; ... Just ...
BF84: 4A LSR A ; ... set ...
BF85: 8D 00 A0 STA $A000 ; ... to ...
BF88: 4A LSR A ; ...
BF89: 8D 00 A0 STA $A000 ; ...
BF8C: 4A LSR A ; ...
BF8D: 8D 00 A0 STA $A000 ; ... --00000
BF90: A9 07 LDA #$07 ; Interesting! Put bank 7 ...
BF92: 20 AC BF JSR MMC_Bank ; ... in the low ROM bank
BF95: 4C 40 E4 JMP $E440 ; Start of game
; MMC1 Info
; R0 - Control ***CPPMM
; C CHR ROM bank mode. Zelda uses 0: 8KB at a time
; PP Program ROM switch mode. Zelda uses 3: 16K fixed, 16K switched banks
; MM Name table mirroring. Zelda uses 2 or 3: vertical or horizontal
; R1 - CHR bank size ***CCCCC
; Ignored in Zelda since R0.C is 0
; R2 - CHR bank select ***CCCCC
; Ignored in Zelda since R0.C is 0
; R3 - PRG bank select ***RPPPP
; R PRG RAM enabled. Zelda sends 0, but battery-backed RAM is always enabled.
; PPPP bank select. Zelda switches banks 0-6.
MMC Control
MMC_Control :
; Set the MMC Control register (0) to value in A
BF98: 8D 00 80 STA $8000 ; MMC Register 0 (control): --edcba ...
BF9B: 4A LSR A ; ... mirroring
BF9C: 8D 00 80 STA $8000 ; ... mirroring
BF9F: 4A LSR A ; ... switch: c=0 high ROM, C=1 low ROM
BFA0: 8D 00 80 STA $8000 ; ... size: d=0 32K (full), D=1 16K (half)
BFA3: 4A LSR A ; ... chrrom mode: e=0 8K banks, B=1 4K banks
BFA4: 8D 00 80 STA $8000 ; The MMC is write-trigger (write to ROM ...
BFA7: 4A LSR A ; .. has no affect anyway).
BFA8: 8D 00 80 STA $8000 ; Bits are written from LSB to MSB ...
BFAB: 60 RTS ; ... only 5 bits
MMC Bank
MMC_Bank :
; Set the MMC Bank register (3) to value in A
BFAC: 8D 00 E0 STA $E000 ; MMC Register 3 (ROM page switching): --edcba ...
BFAF: 4A LSR A ; ...
BFB0: 8D 00 E0 STA $E000 ; ... Write the ...
BFB3: 4A LSR A ; ... switching ...
BFB4: 8D 00 E0 STA $E000 ; ... page ...
BFB7: 4A LSR A ; ... number
BFB8: 8D 00 E0 STA $E000 ; The MMC is write-trigger (write to ROM ...
BFBB: 4A LSR A ; .. has no affect anyway).
BFBC: 8D 00 E0 STA $E000 ; Bits are written from LSB to MSB ...
BFBF: 60 RTS ; ... only 5 bits
BFC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BFD0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BFE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
BFF0: FF FF FF FF FF FF FF FF FF FF
Vectors
BFFA: 84 E4 ; NMI to E484
BFFC: 50 BF ; RESET to BF50
BFFE: F0 BF ; IRQ to BFF0 (this bank should never be at end)