OpenCores
URL https://opencores.org/ocsvn/socgen/socgen/trunk

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [Mos6502/] [sw/] [boot/] [boot.asm] - Blame information for rev 131

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 131 jt_eaton
 
2
 
3
       cpu 6502
4
           output HEX
5
 
6
 
7
 
8
io_base        = $8000 ;
9
 
10
io_gpio_0      = $02    ;
11
io_gpio_1      = $06    ;
12
 
13
io_tim0_start  = $10    ;
14
io_tim0_count  = $12    ;
15
io_tim0_end    = $14    ;
16
 
17
io_tim1_start  = $18    ;
18
io_tim1_count  = $1A    ;
19
io_tim1_end    = $1C    ;
20
 
21
io_uart_xmt    = $20    ;
22
io_uart_rcv    = $22    ;
23
io_uart_cnt    = $24    ;
24
io_uart_stat   = $26    ;
25
 
26
 
27
io_pic_int     = $30    ;
28
io_pic_irq_en  = $32    ;
29
io_pic_nmi_en  = $34    ;
30
io_pic_irq_ac  = $36    ;
31
io_pic_nmi_ac  = $38    ;
32
 
33
io_ps2_data    = $40    ;
34
io_ps2_stat    = $42    ;
35
io_ps2_cntrl   = $44    ;
36
io_ps2_xpos    = $46    ;
37
io_ps2_ypos    = $48    ;
38
 
39
 
40
io_utim_lat    = $50    ;
41
io_utim_cnt    = $52    ;
42
 
43
io_vga_ascii   = $60    ;
44
io_vga_addl    = $62    ;
45
io_vga_addh    = $64    ;
46
io_vga_cntrl   = $66    ;
47
 
48
        ;;  page zero variables used during test
49
c_test         = $40    ;
50
n_test         = $41    ;
51
v_test         = $42    ;
52
z_test         = $43    ;
53
pointer        = $44    ;
54
 
55
 
56
        * = $ff00  ; assemble at $fe00
57
               code
58
 
59
.table             db $01,$02,$03,$04,$05,$06,$07,$08 ;
60
                   db $09,$a1,$b2,$c3,$d4,$e5,$f6,$07 ;
61
                   db $80,$09,$01,$02,$03,$04,$05,$06 ;
62
                   db $70,$8a,$b9,$c1,$d2,$e3,$f4,$05 ;
63
                   db $60,$70,$80,$09,$01,$02,$03,$04 ;
64
                   db $50,$6a,$7b,$8c,$d9,$e1,$02,$03 ;
65
                   db $40,$50,$60,$70,$80,$09,$f1,$00 ;
66
                   db $30,$4a,$5b,$6c,$7d,$8e,$09,$01 ;
67
                   db $20,$30,$40,$50,$60,$70,$8f,$09 ;
68
                   db $19,$2a,$3b,$4c,$5d,$6e,$70,$80 ;
69
                   db $08,$19,$20,$30,$40,$50,$6f,$70 ;
70
                   db $07,$a8,$19,$2c,$3d,$4e,$50,$60 ;
71
                   db $06,$07,$b8,$19,$20,$30,$4f,$50 ;
72
                   db $05,$a6,$07,$08,$19,$2e,$30,$40 ;
73
                   db $04,$05,$b6,$c7,$08,$19,$2f,$30 ;
74
                   db $03,$a4,$05,$06,$d7,$08,$19,$20 ;
75
                   db $02,$03,$b4,$c5,$06,$e7,$f8,$19 ;
76
                   db $00,$a2,$03,$04,$d5,$06,$07,$08 ;
77
                   db $91,$00,$b2,$c3,$04,$e5,$f6,$07 ;
78
                   db $80,$91,$00,$02,$d3,$04,$05,$06 ;
79
                   db $70,$8a,$91,$c0,$02,$e3,$f4,$05 ;
80
                   db $60,$70,$8b,$91,$d0,$02,$03,$04 ;
81
                   db $50,$6a,$70,$8c,$91,$e0,$f2,$03 ;
82
                   db $40,$50,$6b,$70,$80,$91,$00,$02 ;
83
                   db $30,$4a,$50,$6c,$7d,$8e,$91,$00 ;
84
                   db $20,$30,$4b,$50,$60,$70,$8f,$91 ;
85
                   db $00,$2a,$30,$4c,$5d,$6e,$70,$80 ;
86
                   db $10,$00,$2b,$30,$40,$50,$6f,$70 ;
87
                   db $00,$1a,$00,$2c,$3d,$4e,$50,$60 ;
88
                   db $00,$00,$1b,$00,$20,$30,$4f,$50 ;
89
                   db $00,$0a,$00,$1c,$0d,$2e,$30,$40 ;
90
                   db $00,$00;
91
 
92
     * = $fffa  ; vectors
93
 
94
     dw $c000          ;nmi
95
     dw $c006          ;reset
96
     dw $c003          ;irq
97
 
98
 code
99
 
100
 
101
 
102
 
103
 
104
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.