-
Notifications
You must be signed in to change notification settings - Fork 8
/
w65c816sxb.lst
618 lines (593 loc) · 38.9 KB
/
w65c816sxb.lst
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
Mon Jun 18 2018 20:23 Page 1
***************************************
** WDC 65C816 Macro Assembler **
** **
** Version 3.49.1- Feb 6 2006 **
***************************************
1 ;===============================================================================
2 ; __ ____ ____ ____ ___ _ __ ______ ______
3 ; \ \ / / /_| ___| / ___( _ )/ |/ /_/ ___\ \/ / __ )
4 ; \ \ /\ / / '_ \___ \| | / _ \| | '_ \___ \\ /| _ \
5 ; \ V V /| (_) |__) | |__| (_) | | (_) |__) / \| |_) |
6 ; \_/\_/ \___/____/ \____\___/|_|\___/____/_/\_\____/
7 ;
8 ; Basic Vector Handling for the W65C816SXB Development Board
9 ;-------------------------------------------------------------------------------
10 ; Copyright (C)2015 HandCoded Software Ltd.
11 ; All rights reserved.
12 ;
13 ; This work is made available under the terms of the Creative Commons
14 ; Attribution-NonCommercial-ShareAlike 4.0 International license. Open the
15 ; following URL to see the details.
16 ;
17 ; http://creativecommons.org/licenses/by-nc-sa/4.0/
18 ;
19 ;===============================================================================
20 ; Notes:
21 ;
22 ; Timer2 in the VIA2 is used to time the ACIA transmissions and determine when
23 ; the device is capable of sending another character.
24 ;
25 ;-------------------------------------------------------------------------------
26
27 pw 132
28 inclist on
29
30 chip 65816
31
32 include "w65c816.inc"
1 ;==============================================================================
2 ; __ ____ ____ ____ ___ _ __
3 ; \ \ / / /_| ___| / ___( _ )/ |/ /_
4 ; \ \ /\ / / '_ \___ \| | / _ \| | '_ \
5 ; \ V V /| (_) |__) | |__| (_) | | (_) |
6 ; \_/\_/ \___/____/ \____\___/|_|\___/
7 ;
8 ; Western Design Center W65C816 device definitions
9 ;------------------------------------------------------------------------------
10 ; Copyright (C)2015 HandCoded Software Ltd.
11 ; All rights reserved.
12 ;
13 ; This work is made available under the terms of the Creative Commons
14 ; Attribution-NonCommercial-ShareAlike 4.0 International license. Open the
15 ; following URL to see the details.
16 ;
17 ; http://creativecommons.org/licenses/by-nc-sa/4.0/
18 ;
19 ;===============================================================================
20 ; Notes:
Mon Jun 18 2018 20:23 Page 2
21 ;
22 ; Various macros and definitions for the W65C816 microprocessor.
23 ;
24 ;===============================================================================
25 ; Revision History:
26 ;
27 ; 2015-12-18 AJ Initial version
28 ;-------------------------------------------------------------------------------
29 ; $Id$
30 ;-------------------------------------------------------------------------------
31
32 ;==============================================================================
33 ; Status Register Bits
34 ;------------------------------------------------------------------------------
35
36 00000080 N_FLAG equ 1<<7
37 00000040 V_FLAG equ 1<<6
38 00000020 M_FLAG equ 1<<5
39 00000010 X_FLAG equ 1<<4
40 00000010 B_FLAG equ 1<<4
41 00000008 D_FLAG equ 1<<3
42 00000004 I_FLAG equ 1<<2
43 00000002 Z_FLAG equ 1<<1
44 00000001 C_FLAG equ 1<<0
45
46 ;==============================================================================
47 ; Macros
48 ;------------------------------------------------------------------------------
49
50 ; Puts the processor in emulation mode. A, X and Y become 8-bits and the stack
51 ; is fixed at $0100-$01ff.
52
53 emulate macro
54 sec
55 xce
56 endm
57
58 ; Puts the processor in native mode. The size of the memory and index register
59 ; operations is not controlled by the M & X bits in the status register.
60
61 native macro
62 clc
63 xce
64 endm
65
66 ; Resets the M bit making the accumulator and memory accesses 16-bits wide.
67
68 long_a macro
69 rep #M_FLAG
70 longa on
71 endm
72
73 ; Resets the X bit making the index registers 16-bits wide
74
75 long_i macro
76 rep #X_FLAG
77 longi on
78 endm
Mon Jun 18 2018 20:23 Page 3
79
80 ; Resets the M and X bits making the accumulator, memory accesses and index
81 ; registers 16-bits wide.
82
83 long_ai macro
84 rep #M_FLAG|X_FLAG
85 longa on
86 longi on
87 endm
88
89 ; Sets the M bit making the accumulator and memory accesses 8-bits wide.
90
91 short_a macro
92 sep #M_FLAG
93 longa off
94 endm
95
96 ; Sets the X bit making the index registers 8-bits wide.
97
98 short_i macro
99 sep #X_FLAG
100 longi off
101 endm
102
103 ; Sets the M & X bits making the accumulator, memory accesses and index
104 ; registers 8-bits wide.
105
106 short_ai macro
107 sep #M_FLAG|X_FLAG
108 longa off
109 longi off
110 endm
33 include "w65c816sxb.inc"
1 ;==============================================================================
2 ; __ ____ ____ ____ ___ _ __ ______ ______
3 ; \ \ / / /_| ___| / ___( _ )/ |/ /_/ ___\ \/ / __ )
4 ; \ \ /\ / / '_ \___ \| | / _ \| | '_ \___ \\ /| _ \
5 ; \ V V /| (_) |__) | |__| (_) | | (_) |__) / \| |_) |
6 ; \_/\_/ \___/____/ \____\___/|_|\___/____/_/\_\____/
7 ;
8 ; Western Design Center W65C816SXB Development Board Hardware Definitions
9 ;------------------------------------------------------------------------------
10 ; Copyright (C)2015 HandCoded Software Ltd.
11 ; All rights reserved.
12 ;
13 ; This work is made available under the terms of the Creative Commons
14 ; Attribution-NonCommercial-ShareAlike 4.0 International license. Open the
15 ; following URL to see the details.
16 ;
17 ; http://creativecommons.org/licenses/by-nc-sa/4.0/
18 ;
19 ;==============================================================================
20 ; Notes:
21 ;
22 ; All of the current stock of W65C51 ACIAs have a silicon bug that causes the
23 ; 'Transmit Data Register Empty' (TDRE) bit in the status register to be stuck
24 ; high making it impossible to tell when the transmitter is ready for the next
25 ; data byte.
Mon Jun 18 2018 20:23 Page 4
26 ;
27 ;------------------------------------------------------------------------------
28
29 007A1200 OSC_FREQ equ 8000000 ; SXB runs at 8MHz
30
31 ;==============================================================================
32 ; W65C51 ACIA
33 ;------------------------------------------------------------------------------
34
35 00007F80 ACIA_RXD equ $7f80
36 00007F80 ACIA_TXD equ $7f80
37 00007F81 ACIA_SR equ $7f81
38 00007F82 ACIA_CMD equ $7f82
39 00007F83 ACIA_CTL equ $7f83
40
41 ;==============================================================================
42 ; W65C21 PIA
43 ;------------------------------------------------------------------------------
44
45 00007FA0 PIA_PIA equ $7fa0
46 00007FA0 PIA_DDRA equ $7fa0
47 00007FA1 PIA_CRA equ $7fa1
48 00007FA2 PIA_PIB equ $7fa2
49 00007FA2 PIA_DDRB equ $7fa2
50 00007FA3 PIA_CRB equ $7fa3
51
52 ;==============================================================================
53 ; W65C22 VIA
54 ;------------------------------------------------------------------------------
55
56 00007FC0 VIA1_ORB equ $7fc0
57 00007FC0 VIA1_IRB equ $7fc0
58 00007FC1 VIA1_ORA equ $7fc1
59 00007FC1 VIA1_IRA equ $7fc1
60 00007FC2 VIA1_DDRB equ $7fc2
61 00007FC3 VIA1_DDRA equ $7fc3
62 00007FC4 VIA1_T1CL equ $7fc4
63 00007FC5 VIA1_T1CH equ $7fc5
64 00007FC6 VIA1_T1LL equ $7fc6
65 00007FC7 VIA1_T1LH equ $7fc7
66 00007FC8 VIA1_T2CL equ $7fc8
67 00007FC9 VIA1_T2CH equ $7fc9
68 00007FCA VIA1_SR equ $7fca
69 00007FCB VIA1_ACR equ $7fcb
70 00007FCC VIA1_PCR equ $7fcc
71 00007FCD VIA1_IFR equ $7fcd
72 00007FCE VIA1_IER equ $7fce
73 00007FCF VIA1_ORAN equ $7fcf
74 00007FCF VIA1_IRAN equ $7fcf
75
76 ;------------------------------------------------------------------------------
77
78 00007FE0 VIA2_ORB equ $7fe0
79 00007FE0 VIA2_IRB equ $7fe0
80 00007FE1 VIA2_ORA equ $7fe1
81 00007FE1 VIA2_IRA equ $7fe1
82 00007FE2 VIA2_DDRB equ $7fe2
83 00007FE3 VIA2_DDRA equ $7fe3
Mon Jun 18 2018 20:23 Page 5
84 00007FE4 VIA2_T1CL equ $7fe4
85 00007FE5 VIA2_T1CH equ $7fe5
86 00007FE6 VIA2_T1LL equ $7fe6
87 00007FE7 VIA2_T1LH equ $7fe7
88 00007FE8 VIA2_T2CL equ $7fe8
89 00007FE9 VIA2_T2CH equ $7fe9
90 00007FEA VIA2_SR equ $7fea
91 00007FEB VIA2_ACR equ $7feb
92 00007FEC VIA2_PCR equ $7fec
93 00007FED VIA2_IFR equ $7fed
94 00007FEE VIA2_IER equ $7fee
95 00007FEF VIA2_ORAN equ $7fef
96 00007FEF VIA2_IRAN equ $7fef
34
35 ;===============================================================================
36 ; Configuration
37 ;-------------------------------------------------------------------------------
38
39 00000000 USE_FIFO equ 0 ; Build using USB FIFO as UART
40
41 00004B00 BAUD_RATE equ 19200 ; ACIA baud rate
42
43 ;-------------------------------------------------------------------------------
44
45 000011E8 TXD_COUNT equ OSC_FREQ/(BAUD_RATE/11)
46
47 if TXD_COUNT&$ffff0000
48 messg "TXD_DELAY does not fit in 16-bits"
49 endif
50
51 ;===============================================================================
52 ; Power On Reset
53 ;-------------------------------------------------------------------------------
54
55 code
56 extern Start
57 longi off
58 longa off
59 RESET:
60 00:0000: 78 sei ; Stop interrupts
61 00:0001: A2 FF ldx #$ff ; Reset the stack
62 00:0003: 9A txs
63
64 00:0004: AD CE 7F lda VIA1_IER ; Ensure no via interrupts
65 00:0007: 8D CE 7F sta VIA1_IER
66 00:000A: AD EE 7F lda VIA2_IER
67 00:000D: 8D EE 7F sta VIA2_IER
68
69 if USE_FIFO
70 lda #$1c ; Configure VIA for USB FIFO
71 sta VIA2_DDRB
72 lda #$18
73 sta VIA2_ORB
74 else
75 00:0010: 9C 82 7F stz ACIA_CMD ; Configure ACIA
76 00:0013: 9C 83 7F stz ACIA_CTL
77 00:0016: 9C 81 7F stz ACIA_SR
78
Mon Jun 18 2018 20:23 Page 6
79 00:0019: A9 1F lda #%00011111 ; 8 bits, 1 stop bit, 19200 baud
80 00:001B: 8D 83 7F sta ACIA_CTL
81 00:001E: A9 C9 lda #%11001001 ; No parity, no interrupt
82 00:0020: 8D 82 7F sta ACIA_CMD
83 00:0023: AD 80 7F lda ACIA_RXD ; Clear receive buffer
84
85 00:0026: A9 20 lda #1<<5 ; Put VIA2 T2 into timed mode
86 00:0028: 1C EB 7F trb VIA2_ACR
87 00:002B: 20 xx xx jsr TxDelay ; And prime the timer
88 endif
89
90 native ; Switch to native mode
+ 90 00:002E: 18 clc
+ 90 00:002F: FB xce
91 00:0030: 4C xx xx jmp Start ; Jump to the application start
92
93 ;===============================================================================
94 ; Interrupt Handlers
95 ;-------------------------------------------------------------------------------
96
97 ; Handle IRQ and BRK interrupts in emulation mode.
98
99 IRQBRK:
100 00:0033: 80 FE bra $ ; Loop forever
101
102 ; Handle NMI interrupts in emulation mode.
103
104 NMIRQ:
105 00:0035: 80 FE bra $ ; Loop forever
106
107 ;-------------------------------------------------------------------------------
108
109 ; Handle IRQ interrupts in native mode.
110
111 IRQ:
112 00:0037: 80 FE bra $ ; Loop forever
113
114 ; Handle IRQ interrupts in native mode.
115
116 BRK:
117 00:0039: 80 FE bra $ ; Loop forever
118
119 ; Handle IRQ interrupts in native mode.
120
121 NMI:
122 00:003B: 80 FE bra $ ; Loop forever
123
124 ;-------------------------------------------------------------------------------
125
126 ; COP and ABORT interrupts are not handled.
127
128 COP:
129 00:003D: 80 FE bra $ ; Loop forever
130
131 ABORT:
132 00:003F: 80 FE bra $ ; Loop forever
133
134 ;===============================================================================
Mon Jun 18 2018 20:23 Page 7
135 ; USB FIFO Interface
136 ;-------------------------------------------------------------------------------
137
138 if USE_FIFO
139
140 ; Add the character in A to the FTDI USB FIFO transmit buffer. If the buffer
141 ; is full wait for space to become available.
142
143 public UartTx
144 UartTx:
145 phx
146 php
147 short_ai
148 ldx #$00 ; Make data port all input
149 stx VIA2_DDRA
150 sta VIA2_ORA ; Save the output character
151 lda #%01
152 TxWait: bit VIA2_IRB ; Is there space for more data
153 bne TxWait
154
155 lda VIA2_IRB ; Strobe WR
156 and #$fb
157 tax
158 ora #$04
159 sta VIA2_ORB
160 lda #$ff ; Make data port all output
161 sta VIA2_DDRA
162 nop
163 nop
164 stx VIA2_ORB ; End strobe
165 lda VIA2_IRA
166 ldx #$00 ; Make data port all output
167 stx VIA2_DDRA
168 plp
169 plx
170 rts
171
172 ; Read a character from the FTDI USB FIFO and return it in A. If no data is
173 ; available then wait for some to arrive.
174
175 public UartRx
176 UartRx
177 phx ; Save callers X
178 php ; Save register sizes
179 short_ai ; Make registers 8-bit
180 lda #$02 ; Wait until data in buffer
181 RxWait: bit VIA2_IRB
182 bne RxWait
183
184 lda VIA2_IRB ; Strobe /RD low
185 ora #$08
186 tax
187 and #$f7
188 sta VIA2_ORB
189 nop ; Wait for data to be available
190 nop
191 nop
192 nop
Mon Jun 18 2018 20:23 Page 8
193 lda VIA2_IRA ; Read it
194 stx VIA2_ORB ; And end the strobe
195 plp ; Restore register sizes
196 plx ; .. and callers X
197 rts ; Done
198
199 ; Check if the receive buffer in the FIFO contains any data and return C=1 if
200 ; there is some.
201
202 public UartRxText
203 UartRxTest:
204 pha ; Save callers A
205 php ; Save register sizes
206 short_a ; Make A 8-bits
207 lda VIA2_IRB ; Load status bits
208 plp ; Restore register sizes
209 ror a ; Shift data available flag
210 ror a ; .. into carry
211 pla ; Restore A
212 rts ; Done
213
214 ;===============================================================================
215 ; ACIA Interface
216 ;-------------------------------------------------------------------------------
217
218 else
219
220 ; Wait until the Timer2 in VIA2 indicates that the last transmission has been
221 ; completed then send the character in A and restart the timer.
222
223 public UartTx
224 UartTx:
225 00:0041: 48 pha ; Save the character
226 00:0042: 08 php ; Save register sizes
227 short_a ; Make A 8-bits
+ 227 00:0043: E2 20 sep #M_FLAG
+ 227 longa off
228 00:0045: 48 pha
229 00:0046: A9 20 lda #1<<5
230 00:0048: 2C ED 7F TxWait: bit VIA2_IFR ; Has the timer finished?
231 00:004B: F0 FB beq TxWait
232 00:004D: 20 xx xx jsr TxDelay ; Yes, re-reload the timer
233 00:0050: 68 pla
234 00:0051: 8D 80 7F sta ACIA_TXD ; Transmit the character
235 00:0054: 28 plp ; Restore register sizes
236 00:0055: 68 pla ; And callers A
237 00:0056: 60 rts ; Done
238
239 TxDelay:
240 00:0057: A9 E8 lda #<TXD_COUNT ; Load VIA T2 with transmit
241 00:0059: 8D E8 7F sta VIA2_T2CL ; .. delay time
242 00:005C: A9 11 lda #>TXD_COUNT
243 00:005E: 8D E9 7F sta VIA2_T2CH
244 00:0061: 60 rts
245
246 ; Fetch the next character from the receive buffer waiting for some to arrive
247 ; if the buffer is empty.
248
Mon Jun 18 2018 20:23 Page 9
249 public UartRx
250 UartRx:
251 00:0062: 08 php ; Save register sizes
252 short_a ; Make A 8-bits
+ 252 00:0063: E2 20 sep #M_FLAG
+ 252 longa off
253 RxWait:
254 00:0065: AD 81 7F lda ACIA_SR ; Any data in RX buffer?
255 00:0068: 29 08 and #$08
256 00:006A: F0 F9 beq RxWait ; No
257 00:006C: AD 80 7F lda ACIA_RXD ; Yes, read it
258 00:006F: 28 plp ; Restore register sizes
259 00:0070: 60 rts ; Done
260
261 ; Check if the receive buffer contains any data and return C=1 if there is
262 ; some.
263
264 public UartRxTest
265 UartRxTest:
266 00:0071: 48 pha ; Save callers A
267 00:0072: 08 php
268 short_a
+ 268 00:0073: E2 20 sep #M_FLAG
+ 268 longa off
269 00:0075: AD 81 7F lda ACIA_SR ; Read the status register
270 00:0078: 28 plp
271 00:0079: 6A ror a ; Shift RDRF bit into carry
272 00:007A: 6A ror a
273 00:007B: 6A ror a
274 00:007C: 6A ror a
275 00:007D: 68 pla ; Restore A
276 00:007E: 60 rts ; Done
277
278 endif
279
280 ;===============================================================================
281 ; ROM Bank Selection
282 ;-------------------------------------------------------------------------------
283
284 ; Select the flash ROM bank indicated by the two low order bits of A. The pins
285 ; should be set to inputs when a hi bit is needed and a low output for a lo bit.
286
287 public RomSelect
288 RomSelect:
289 00:007F: 08 php ; Ensure 8-bit A
290 short_a
+ 290 00:0080: E2 20 sep #M_FLAG
+ 290 longa off
291 00:0082: 6A ror a ; Shift out bit 0
292 00:0083: 08 php ; .. and save
293 00:0084: 6A ror a ; Shift out bit 1
294 00:0085: A9 00 lda #0 ; Work out pattern
295 00:0087: B0 02 bcs $+4
296 00:0089: 09 C0 ora #%11000000
297 00:008B: 28 plp
298 00:008C: B0 02 bcs $+4
299 00:008E: 09 0C ora #%00001100
300 00:0090: 8D EC 7F sta VIA2_PCR ; And set
Mon Jun 18 2018 20:23 Page 10
301 00:0093: 28 plp
302 00:0094: 60 rts ; Done
303
304 ; Check if the select ROM bank contains WDC firmware. If it does return with
305 ; the Z flag set.
306
307 public RomCheck
308 RomCheck:
309 00:0095: AD EC 7F lda VIA2_PCR ; WDC ROM selected?
310 00:0098: 29 CC and #%11001100
311 00:009A: 60 rts
312
313 ;===============================================================================
314 ; Reset Vectors
315 ;-------------------------------------------------------------------------------
316
317 ShadowVectors section offset $7ee0
318
319 00:7EE0: ds 4 ; Reserved
320 00:7EE4: xx xx dw COP ; $FFE4 - COP(816)
321 00:7EE6: xx xx dw BRK ; $FFE6 - BRK(816)
322 00:7EE8: xx xx dw ABORT ; $FFE8 - ABORT(816)
323 00:7EEA: xx xx dw NMI ; $FFEA - NMI(816)
324 00:7EEC: ds 2 ; Reserved
325 00:7EEE: xx xx dw IRQ ; $FFEE - IRQ(816)
326
327 00:7EF0: ds 4
328 00:7EF4: xx xx dw COP ; $FFF4 - COP(C02)
329 00:7EF6: ds 2 ; $Reserved
330 00:7EF8: xx xx dw ABORT ; $FFF8 - ABORT(C02)
331 00:7EFA: xx xx dw NMIRQ ; $FFFA - NMI(C02)
332 00:7EFC: xx xx dw RESET ; $FFFC - RESET(C02)
333 00:7EFE: xx xx dw IRQBRK ; $FFFE - IRQBRK(C02)
334
335 00:7F00: ends
336
337 ;------------------------------------------------------------------------------
338
339 Vectors section offset $ffe0
340
341 00:FFE0: ds 4 ; Reserved
342 00:FFE4: xx xx dw COP ; $FFE4 - COP(816)
343 00:FFE6: xx xx dw BRK ; $FFE6 - BRK(816)
344 00:FFE8: xx xx dw ABORT ; $FFE8 - ABORT(816)
345 00:FFEA: xx xx dw NMI ; $FFEA - NMI(816)
346 00:FFEC: ds 2 ; Reserved
347 00:FFEE: xx xx dw IRQ ; $FFEE - IRQ(816)
348
349 00:FFF0: ds 4
350 00:FFF4: xx xx dw COP ; $FFF4 - COP(C02)
351 00:FFF6: ds 2 ; $Reserved
352 00:FFF8: xx xx dw ABORT ; $FFF8 - ABORT(C02)
353 00:FFFA: xx xx dw NMIRQ ; $FFFA - NMI(C02)
354 00:FFFC: xx xx dw RESET ; $FFFC - RESET(C02)
355 00:FFFE: xx xx dw IRQBRK ; $FFFE - IRQBRK(C02)
356
357 01:0000: ends
358
Mon Jun 18 2018 20:23 Page 11
359 end
Lines assembled: 575
Errors: 0