forked from everything8215/ff3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rom-map.txt
190 lines (187 loc) · 14.2 KB
/
rom-map.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
+---------------------------------------------------------------------------+
| |
| FINAL FANTASY III |
| |
+---------------------------------------------------------------------------+
| file: rom-map.txt |
| |
| description: rom map |
| |
| created: 12/1/2020 |
| |
| author: [email protected] |
+---------------------------------------------------------------------------+
=============================================================================
| rom overview |
+--------------+
+---------------+---------------+-------------------------------------------+
| nes address | rom address | description |
+---------------+---------------+-------------------------------------------+
| | 000000-00000F | ines header |
| 008000-0080FF | 000010-00010F | common world map tilesets |
| 008100-0083FF | 000110-00040F | world map tilesets (3 * 256 bytes) |
| 008400-00843F | 000410-00044F | common world map attribute table |
| 008440-0084FF | 000450-00050F | world map attribute tables (3 * 64 bytes) |
| 008500-0087FF | 000510-00080F | world tile properties (3 * 256 bytes) |
| 008800-00883F | 000810-00084F | destination maps for world 0 entrances |
| 008840-00887F | 000850-00088F | destination maps for world 1 entrances |
| 008880-0088BF | 000890-0008CF | map exit x positions (64 * 1 bytes) |
| 0088C0-0088FF | 0008D0-00090F | map exit y positions (64 * 1 bytes) |
| 008900-0089FF | 000910-000A0F | job equipment types (64 * 3 bytes) |
| 008A00-008BFF | 000A10-000C0F | background tilemap id for each map |
| 008C00-008DFF | 000C10-000E0F | map graphics subset for each map |
| 008E00-0090FF | 000E10-00110F | map graphics subsets (48 * 16 bytes) |
| 009100-0093FF | 001110-00140F | general use palettes (3*256 * 1 byte) |
| 009400-0095FF | 001410-00160F | graphics for each npc id (512 * 1 byte) |
| 009600-00963F | 001610-00164F | initial npc switches |
| 009640-00966F | 001650-00167F | map base palettes (3 * 16 bytes) |
| 009670-00968F | 001680-00169F | map sprite palettes (2 * 16 bytes) |
| 009690-0096F7 | 0016A0-001707 | map character palettes (26 * 4 bytes) |
| 0096F8-009707 | 001708-001717 | guest npc palettes (8 * 2 bytes) |
| 009708-009807 | 001718-001817 | pointers to magic animation frame data |
| 009808-01A24D | 001818-00225D | magic animation frame data (128 items) |
| 01A24E-01A35C | 00225E-00236C | terrain attack for each map (512 * 4 bits)|
| 01A35E-01A37F | 00236E-00238F | item multipliers (34 * 1 byte) |
| 01A380-01B17F | 002390-00318F | map tilesets (7 * 512 bytes) |
| 01B180-01B4FF | 003190-00350F | map tileset name tables (7 * 128 bytes) |
| 01B500-01BBFF | 003510-003C0F | map tile properties (7 * 256 bytes) |
| 01BC00-01BDFF | 003C10-003E0F | treasure properties |
| 01BE00-01BFFF | 003E10-00400F | movement/animation speeds for each npc id |
| 028000-029FFF | 004010-00600F | map properties (512 * 16 bytes) |
| 03A000-068BFF | 006010-00CC0F | map background graphics |
| 068C00-068CB5 | 00CC10-00CCC5 | pointers to magic animation scripts |
| 068CB6-068E1F | 00CCC6-00CE2F | magic animation scripts (43 items) |
| 068E20-068FFF | 00CE30-00D00F | enemy magic frame data (5 * 96 bytes) |
| 069000-0697FF | 00D010-00D80F | pointers to world map tilemaps |
| 069800-09B3FF | 00D810-01340F | world map tilemaps (4 * 256 items) |
| 09B400-09B40B | 013410-01341B | pointers to songs $3B-$40 |
| 09B40C-09BFFF | 01341C-01400F | songs $3B-$40 |
| 0A8000-0A8BFF | 014010-014C0F | two-frame sprite graphics |
| 0A8C00-0A93FF | 014C10-01540F | world map bg graphics (common) |
| 0A9400-0B85FF | 015410-01660F | world map bg graphics (3 * 1024ish bytes) |
| 0B8600-0BBFFF | 016610-01800F | world map sprite graphics |
| 0C8000-0C97FF | 018010-01980F | battle background graphics |
| 0C9800-0DA7FF | 019810-01A80F | summon graphics |
| 0DA800-0DBFFF | 01A810-01C00F | battle sprite graphics |
| 0E8000-0FBFFF | 01C010-02000F | map sprite graphics |
| 108000-1081FF | 020010-02020F | pointers to map treasures |
| 108200-1083FF | 020210-02040F | pointers to map triggers |
| 108400-1086B5 | 020410-0206C5 | map entrances |
| 1086B6-1088E8 | 0206C6-0208F8 | map treasures |
| 1088E9-1089FF | 0208F9-020A0F | map triggers |
| 108A00-108D2F | 020A10-020D3F | battle code (final boss animation) |
| 108D30-108D7F | 020D40-020D8F | flare wave frame data (8 * 10 bytes) |
| 108D80-108D87 | 020D90-020D97 | pointers to flare wave sprite data |
| 108D88-108DFF | 020D98-020E0F | flare wave sprite data (4 items) |
| 108E00-10903F | 020E10-02104F | cutscene font graphics |
| 109040-10928F | 021050-02129F | prologue crystal graphics |
| 109290-1094BF | 0212A0-0214CF | ending sprite graphics |
| 1094C0-10963F | 0214D0-02164F | the end graphics |
| 109640-10967D | 021650-02168D | pointers to end credits text |
| 10967E-109A7F | 021650-021A8F | end credits text (31 items) |
| 109A80-109B7F | 021A90-021B8F | sine table (256 * 1 byte) |
| 109B80-109C7F | 021B90-021C8F | monster items (32 * 8 bytes) |
| 109C80-109D7F | 021C90-021D8F | monster experience ids |
| 109D80-109DFF | 021D90-021E0F | monster experience values (2 bytes each) |
| 109E00-109FFF | 021E10-02200F | item prices (256 * 2 bytes) |
| 11A000-11A1FF | 022010-02220F | pointers to map background tilemaps |
| 11A200-17BFFF | 022210-03000F | map background tilemaps |
| 188000-188D5F | 030010-030D6F | pointers to text |
| 188D60-1E9FFF | 030D70-03E00F | text (1712 items) |
| 1FA000-1FA5A5 | 03E010-03E5B5 | cutscene code |
| 1FA5A5-1FA5DE | 03E5B6-03E5EE | cutscene text positions (19 * 3 bytes) |
| 1FA5DF-1FA600 | 03E5EF-03E610 | pointers to cutscene text |
| 1FA601-1FA931 | 03E611-03E941 | cutscene text (17 items) |
| 1FA932-1FA93B | 03E942-03E94B | pointers to compressed ending data |
| 1FA93C-1FB12C | 03E94C-03F13C | compressed ending data |
| 1FB12D-1FBFFF | 03F13D-04000F | cutscene code |
| 208000-27BFFF | 040010-05000F | monster graphics |
| 288000-29BFFF | 050010-05400F | battle character graphics |
| 2A8000-2A943F | 054010-05544F | boss tilemaps (24 * 216 bytes) |
| 2A9440-2A947F | 055450-05548F | summon graphics properties (8 * 8 bytes) |
| 2A9480-2A95FF | 055490-05560F | summon tilemaps |
| 2A9600-2BBFFF | 055610-05800F | attack graphics |
| 2C8000-2C81FF | 058010-05820F | pointers to npc properties |
| 2C8200-2C85FF | 058210-05860F | pointers to npc scripts |
| 2C8600-2C87FF | 058610-05880F | pointers to event scripts |
| 2C8800-2C885F | 058810-05886F | pointers to item select npc scripts |
| 2C8860-2C886F | 058870-05887F | pointers to guest npc scripts |
| 2C8870-2C887F | 058880-05888F | pointers to conditional song scripts |
| 2C8880-2C8A7F | 058890-058A8F | pointers to event trigger scripts |
| 2C8A80-2C9942 | 058A90-059952 | npc properties (256 * 4 bytes) |
| 2C9943-2DA122 | 059953-05A132 | npc scripts (512 items) |
| 2CA123-2DA306 | 05A133-05A316 | event trigger scripts (128 items) |
| 2CA307-2DA354 | 05A317-05A464 | item select npc trigger scripts (11 items)|
| 2CA355-2DA3CF | 05A365-05A4DF | guest npc scripts (8 items) |
| 2CA3D0-2DA3F4 | 05A3E0-05A404 | conditional song scripts (8 items) |
| 2DA3F5-2DBFFF | 05A405-05C00F | event scripts (256 items) |
| 2E8000-2E83FF | 05C010-05C40F | battle properties (512 * 2 bytes) |
| 2E8400-2E89FF | 05C410-05CA0F | battle monster id (256 * 6 bytes) |
| 2E8A00-2E8AFF | 05CA10-05CB0F | battle monster count (64 * 4 bytes) |
| 2E8B00-2E8BFF | 05CB10-05CC0F | monster graphics properties (256 * 1 byte)|
| 2E8C00-2E8EFF | 05CC10-05CF0F | battle color palettes (256 * 3 bytes) |
| 2E8F00-2E8F1F | 05CF10-05CF2F | monster boss bit (256 * 1 bit) |
| 2E8F20-2E8FBF | 05CF30-05CFCF | monster attribute data (see 2F/A86C) |
| 2E8FC0-2E9067 | 05CFD0-05D077 | boss attribute tables (24 * 7 bytes) |
| 2E9068-2E9097 | 05D078-05D0A7 | pointers to boss graphics (24 * 2 bytes) |
| 2E9098-2E919F | 05D0A8-05D1AF | weapon animation properties (88 * 3 bytes)|
| 2E91A0-2E91CF | 05D1B0-05D1DF | item spell cast (48 * 1 byte) |
| 2E91D0-2E92EF | 05D1E0-05D2FF | magic graphics properties (96 * 3 bytes) |
| 2E92F0-2E94EF | 05D300-05D4FF | normal map battle groups (512 * 1 byte) |
| 2E94F0-2E9CEF | 05D500-05DCFF | random battle groups (256 * 8 bytes) |
| 2E9CF0-2E9CFF | 05DD00-05DD0F | world 0 battle groups (16 32x32 sectors) |
| 2E9D00-2E9D3F | 05DD10-05DD4F | world 2 battle groups (64 32x32 sectors) |
| 2E9D40-2E9D4F | 05DD50-05DD5F | misc. world battle data (see 3D/BC5B) |
| 2E9D50-2FBFFF | 05DD60-06000F | battle graphics code |
| 308000-308FFF | 060010-06100F | monster properties (256 * 16 bytes) |
| 309000-3091FF | 061010-06120F | monster stat values (170 * 3 bytes) |
| 309200-3093FF | 061210-06140F | monster attack scripts (49 * 8 bytes) |
| 309400-3096BF | 061410-0616CF | weapon properties (88 * 8 bytes) |
| 3096C0-3098BF | 0616D0-0618CF | armor properties (64 * 8 bytes) |
| 3098C0-309C57 | 0618D0-061C67 | attack properties (115 * 8 bytes) |
| 309C58-309E57 | 061C68-061E67 | monster gil (256 * 2 bytes) |
| 309E58-31BFFF | 061E68-06400F | battle main code (algorithms) |
| 328000-33BFFF | 064010-06800F | battle graphics code (animations) |
| 348000-35BFFF | 068010-06C00F | battle main code |
| 368000-368C76 | 06C010-06CC86 | sound/music code |
| 368C77-368C8E | 06CC87-06CC9E | pointers to songs $2B-36 |
| 368C8F-3692C4 | 06CC9F-06D2D4 | songs $2B-36 |
| 3692C5-369386 | 06D2D4-06D296 | pointers to sound effects |
| 369387-369A7B | 06D296-06DA8B | sound effects |
| 369A7C-369ACD | 06DA8C-06DADD | pointers to volume envelope data |
| 369ACE-369EAA | 06DADE-06DEBA | volume envelope data (41 items) |
| 369EAB-369ECA | 06DEBB-06DEDA | pointers to pitch envelope data |
| 369ECB-369FFF | 06DEDB-06E00F | pitch envelope data (16 items) |
| 37A000-37A031 | 06E010-06E041 | pointers to songs $00-$18 |
| 37A032-37BFFF | 06E042-07000F | songs $00-$18 |
| 388000-388023 | 070010-070033 | pointers to songs $19-$2A |
| 388024-389FFF | 070034-07200F | songs $19-$2A |
| 39A000-39A0AF | 072010-0720BF | job base stats (22 * 8 bytes) |
| 39A0B0-39A1D5 | 0720C0-0721E5 | level up experience (98 * 3 bytes) |
| 39A1D6-39B2AD | 0721E6-0732BD | level up stat bonuses (98*22 * 2 bytes) |
| 39B2AE-39B3AD | 0732BE-0733BD | monster cp (256 * 1 byte) |
| 39B3AE-39B3B5 | 0733BE-0733C5 | pointers to songs $37-$3A |
| 39B3B6-39BB19 | 0733C6-073B29 | songs $37-$3A |
| 39BB1A-39BB87 | 073B2A-073B97 | job modifiers (22 * 5 bytes) |
| 39BB88-39BBD7 | 073B98-073BE7 | character initial mp (10 * 8 bytes) |
| 39BBD8-39BBD9 | 073BE8-073BE9 | character initial hp |
| 39BBDA-39BBED | 073BEA-073BFD | character initial stats |
| 39BBEE-39BBEF | 073BFE-073BFF | initial gil (unused) |
| 39BBF0-39BBFF | 073C00-073C0F | character initial equipment |
| 39BC00-39BCFF | 073C10-073D0F | battle bg for world 1 maps |
| 39BD00-39BDFF | 073D10-073E0F | battle bg for world 0 maps |
| 39BE00-39BFFF | 073E10-07400F | initial random battle rng (512 * 1 byte) |
| 3A8000-3A803F | 074010-07404F | minimap attribute table |
| 3A8040-3A804F | 074050-07405F | minimap sprite data |
| 3A8050-3A807F | 074060-07408F | minimap palettes |
| 3A8080-3A817F | 074090-07418F | minimap tilemap (4 * 64 bytes) |
| 3A8180-3A84FF | 074190-07450F | minimap graphics |
| 3A8500-3A9FFF | 074510-07600F | map code |
| 3BA000-3BBFFF | 076010-07800F | event code |
| 3C8000-3DBFFF | 078010-07C00F | menu/field code |
| 3EC000-3EF7FF | 07C010-07F80F | field code |
| 3EF800-3EFDFF | 07F810-07FE0F | battle code |
| 3EFE00-3FFEFF | 07FE10-07FF0F | random number table |
| 3EFF00-3FFFF7 | 07FF10-080007 | reset/interrupt code |
| 3FFFF8-3FFFFF | 080008-08000F | interrupt vectors |
+---------------+---------------+-------------------------------------------+