URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
Compare Revisions
- This comparison shows the changes necessary to convert path
/eco32/trunk/monitor
- from Rev 189 to Rev 193
- ↔ Reverse comparison
Rev 189 → Rev 193
/monitor/boards/xsa-xst-3/start.s
2,9 → 2,14
; start.s -- ECO32 ROM monitor startup and support routines |
; |
|
; .set CIO_CTL,0x00 ; set console to keyboard/display |
.set CIO_CTL,0x03 ; set console to serial line 0 |
.set BIO_BASE,0xF1000000 ; board I/O base address |
.set BIO_WR,BIO_BASE+0 |
.set BIO_RD,BIO_BASE+4 |
.set CIO_CTRL,0x08 ; this bit controls console I/O |
|
.set CIO_KBD_DSP,0x00 ; set console to keyboard/display |
.set CIO_SERIAL_0,0x03 ; set console to serial line 0 |
|
.set dmapaddr,0xC0000000 ; base of directly mapped addresses |
.set stacktop,0xC0010000 ; monitor stack is at top of 64K |
|
202,7 → 207,12
jal ser1init ; init serial line 1 |
jal dskinitctl ; init disk (controller) |
jal dskinitser ; init disk (serial line) |
add $4,$0,CIO_CTL ; set console |
ldw $8,$0,BIO_RD ; get switch settings |
and $8,$8,CIO_CTRL |
add $4,$0,CIO_SERIAL_0 ; set console to serial line |
bne $8,$0,swtchset |
add $4,$0,CIO_KBD_DSP ; set console to kbd/dsp |
swtchset: |
jal setcio |
|
; call main |