-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzmachine.map
260 lines (254 loc) · 5.87 KB
/
zmachine.map
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
Section CODE:
00010000 _BEG_CODE
00010000 ~~IRQHandler
0001001d ~~COPHandler
0001003a ~~BRKHandler
00010052 ~~main
000100f6 ~~initialize
000101cd ~~gameLoop
00010616 ~~ReadInstruction
00010a8a ~~loadVariable
00010b1e ~~storeResult
00010c74 ~~storeVariable
00010dc3 ~~branchTo
00010e9d ~~returnfromRoutine
00010f45 ~~z_add
00010f66 ~~z_sub
00010f87 ~~z_call_vs
00011143 ~~z_je
000111c3 ~~z_jz
000111e5 ~~z_get_prop_len
00011281 ~~z_store
0001129d ~~z_storew
000112cd ~~z_dec_chk
00011312 ~~z_inc_chk
00011357 ~~z_loadb
00011395 ~~z_loadw
000113cc ~~z_put_prop
000114ec ~~z_test_attr
0001152e ~~z_insert_obj
00011560 ~~z_printf
00011583 ~~z_new_line
000115a0 ~~z_and
000115c7 ~~z_print_num
000115e8 ~~z_jump
0001160a ~~z_print_char
000116df ~~z_ret
000116f7 ~~z_rtrue
0001170e ~~z_rfalse
00011725 ~~z_push
00011745 ~~z_pull
00011798 ~~z_set_attr
000117b4 ~~z_jin
000117e2 ~~z_print_obj
000117ff ~~z_get_parent
0001181c ~~z_get_prop
0001183d ~~z_get_child
0001186e ~~z_get_sibling
0001189f ~~z_inc
000118ca ~~z_jl
000118f5 ~~z_ret_popped
00011911 ~~z_read
00011935 ~~_abort
00011945 ~~close
00011962 ~~creat
0001197f ~~lseek
000119a0 ~~open
000119bd ~~read
000119da ~~unlink
000119f7 ~~write
00011b2c ~~isatty
00011b58 ~~header_initialise
00011c67 ~~getRelease
00011ca7 ~~getInitialProgramCounter
00011ce7 ~~getDictionaryLocation
00011d27 ~~getObjectTableLocation
00011d67 ~~getGlobalVariableLocation
00011da7 ~~getStaticMemoryLocation
00011de7 ~~getHighMemoryStart
00011e27 ~~getAbbreviationsLocation
00011e67 ~~getAlphabetTableAddress
00011ea7 ~~getRoutineOffset
00011eee ~~getStringOffset
00011f35 ~~stack_new
00011f84 ~~stack_size
00011fa4 ~~stack_isEmpty
00011fd1 ~~stack_isFull
00012005 ~~stack_push
00012083 ~~stack_peek
000120ec ~~stack_pop
0001216d ~~callStack_initialize
0001217d ~~callStack_push
000121ae ~~callStack_pop
00012229 ~~callStack_top
0001225c ~~callStack_isEmpty
0001227f ~~callStack_Size
00012295 ~~objecttable_initialize
000122dd ~~objecttable_getDefaultProperty
0001235b ~~objecttable_getObjectAddress
0001242f ~~objecttable_getObjectParent
00012483 ~~objecttable_setObjectParent
000124c6 ~~objecttable_getObjectChild
0001251a ~~objecttable_setObjectChild
0001255d ~~objecttable_getObjectSibling
000125b1 ~~objecttable_setObjectSibling
000125f4 ~~objecttable_getObjectPropertyTableAddress
0001263d ~~objecttable_getObjectAttribute
000126d8 ~~objecttable_setObjectAttribute
00012775 ~~objecttable_getObjectNameAddress
0001279a ~~objecttable_getFirstPropertyAddress
000127de ~~objecttable_getNextPropertyAddress
0001287b ~~objecttable_insertObject
000128e6 ~~objecttable_getPropertyShort
000129ec ~~text_initialize
00012a6b ~~text_printLiteral
00012eb3 ~~data_initialise
00012fc1 ~~data_close
00012ff6 ~~data_loadWord
000130a3 ~~data_saveWord
00013113 ~~data_loadByte
0001319b ~~data_saveByte
000131e8 ~~x
00013206 ~~clearTextScreen
0001326e ~~putTextXY
00013327 ~~setEGATextPalette
000134f7 ~~enableTextLayer
00013515 ~~setBorder
00016110 ~~f_mount
000161cf ~~f_open
00016650 ~~f_read
00016a6c ~~f_write
00016f77 ~~f_sync
0001710f ~~f_close
00017163 ~~f_lseek
0001763c ~~f_opendir
0001773b ~~f_closedir
0001777e ~~f_readdir
00017815 ~~f_stat
0001789c ~~f_getfree
00017ae0 ~~f_truncate
00017cc1 ~~f_unlink
00017e32 ~~f_mkdir
000180aa ~~f_rename
000182ed ~~f_getlabel
00018469 ~~f_setlabel
00018bce ~~f_mkfs
00019c1e ~~disk_status
00019c7a ~~disk_initialize
00019cd5 ~~disk_read
00019d2f ~~disk_write
00019d88 ~~disk_ioctl
00019ec0 ~~sd_sendCommand
0001a007 ~~sd_receive_direct
0001a048 ~~sd_read_csd
0001a214 ~~sd_disk_initialize
0001a26e ~~sd_disk_status
0001a286 ~~sd_disk_read
0001a326 ~~sd_disk_write
0001a3b1 ~~sd_disk_ioctl
0001a741 ~~ATA_disk_initialize
0001a799 ~~ATA_disk_status
0001a7cc ~~ATA_disk_read
0001a8b3 ~~ATA_disk_write
0001a98a ~~ATA_disk_ioctl
0001ab44 ~~printf
0001ab8c ~~sprintf
0001abfd ~~_format
0001b4d9 ~~_ldtoa
0001b919 dadc
0001b90f ~~~dadc
0001ba86 ~~~dcmp
0001bb36 ~~~ddiv
0001bc87 ~~~dfix
0001bd13 ~~~dflt
0001bd76 ~~~dmul
0001be9b ~~~dneg
0001bec7 ~~~dsbc
0001bedc doNorm
0001bfbc ~~_flsbuf
0001c266 ~~_getbuf
0001c32f ~~exit
0001c398 ~~fputs
0001c416 ~~free
0001c4df ~~malloc
0001c5bc ~~memset
0001c5e8 ~~sbrk
0001c636 ~~strlen
0001c654 ~~tolower
0001c66f ~~~asl
0001c677 ~~~asr
0001c688 ~~~casr
0001c69f ~~~div
0001c6c3 ~~~fmov
0001c6e4 ~~~fsw
0001c70e ~~~lasl
0001c73d ~~~lasr
0001c77b ~~~lcal
0001c783 ~~~llsr
0001c7b3 ~~~lmul
0001c7ff ~~~lsr
0001c807 ~~~ludv
0001c821 ~~~lumd
0001c836 ~~~mod
0001c85a ~~~mul
0001c89b ~~~nfmov
0001c8bb ~~~swt
0001c8dc ~~~udv
0001c910 ~~~umd
0001c916 ~~_closeall
0001c956 ~~fclose
0001ca59 ~~fflush
0001cad6 ~~strcpy
0001cafb ~~~comdiv
0001cb3c _END_CODE
Section DATA:
00020000 _BEG_DATA
00020000 ~~heap_start
00020004 ~~heap_end
00020008 ~~debugBufferLength
0002001e ~~instructionCount
000203fa ~~callstackIndex
00020519 ~~text_alphabet
00020567 ~~text_version
00020568 ~~text_abbreviationtableAddress
0002076e ~~spinnerState1
0002076f ~~spinnerState2
0002082e FltErr
00020830 ~~_ctype
00020931 ~~_iob
00020ac5 _END_DATA
Section UDATA:
00020ac5 _BEG_UDATA
00020ac5 ~~globals
00020ca5 ~~programCounter
00020ca7 ~~stack
00020cab ~~storeLocation
00020cad ~~operandType
00020cbd ~~operands
00020ccd ~~opcodeExtended
00020cce ~~opcode
00020ccf ~~debugStringBuffer
00020d97 ~~headerFile
00020dab ~~zorkHeader
00020dd5 ~~callstack
0002118b ~~objectlistStart
0002118d ~~objecttableVersion
0002118e ~~objecttableAddress
00021190 ~~zFile
000213b6 ~~FatFs
000215e5 ~~data_highmemAddress
000215e7 ~~zData
000217f5 ~~_heap_top
000217f9 ~~_close_stdio
000217fd ~~_exit_funcs
00021801 ~~_mem_start
00021805 _END_UDATA
Section startup:
00007d00 _BEG_STARTUP
00007d87 _END_STARTUP
Section vectors:
0000ffe4 _BEG_VECTORS
00010000 _END_VECTORS
ABSOLUTES:
00007d3c ~~_exit
00007d3e IRQ