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/monitor
- from Rev 257 to Rev 331
- ↔ Reverse comparison
Rev 257 → Rev 331
/boards/simulator/start.s
196,14 → 196,22
|
; initialize I/O |
add $29,$0,stacktop ; setup monitor stack |
jal kbdinit ; init keyboard |
jal dspinit ; init display |
add $4,$0,CIO_CTL ; set console |
jal setcio |
ldbu $8,$0,cioctl ; get control byte |
and $8,$8,0x01 ; keyboard input wanted? |
bne $8,$0,nokbd ; no - then don't touch |
jal kbdinit ; else init keyboard |
nokbd: |
ldbu $8,$0,cioctl ; get control byte |
and $8,$8,0x02 ; display output wanted? |
bne $8,$0,nodsp ; no - then don't touch |
jal dspinit ; else init display |
nodsp: |
jal ser0init ; init serial line 0 |
jal ser1init ; init serial line 1 |
jal dskinitctl ; init disk (controller) |
jal dskinitser ; init disk (serial line) |
add $4,$0,CIO_CTL ; set console |
jal setcio |
|
; call main |
jal main ; enter command loop |
/boards/xsa-xst-3/start.s
201,12 → 201,6
|
; initialize I/O |
add $29,$0,stacktop ; setup monitor stack |
jal kbdinit ; init keyboard |
jal dspinit ; init display |
jal ser0init ; init serial line 0 |
jal ser1init ; init serial line 1 |
jal dskinitctl ; init disk (controller) |
jal dskinitser ; init disk (serial line) |
ldw $8,$0,BIO_RD ; get switch settings |
and $8,$8,CIO_CTRL |
add $4,$0,CIO_SERIAL_0 ; set console to serial line |
214,6 → 208,20
add $4,$0,CIO_KBD_DSP ; set console to kbd/dsp |
swtchset: |
jal setcio |
ldbu $8,$0,cioctl ; get control byte |
and $8,$8,0x01 ; keyboard input wanted? |
bne $8,$0,nokbd ; no - then don't touch |
jal kbdinit ; else init keyboard |
nokbd: |
ldbu $8,$0,cioctl ; get control byte |
and $8,$8,0x02 ; display output wanted? |
bne $8,$0,nodsp ; no - then don't touch |
jal dspinit ; else init display |
nodsp: |
jal ser0init ; init serial line 0 |
jal ser1init ; init serial line 1 |
jal dskinitctl ; init disk (controller) |
jal dskinitser ; init disk (serial line) |
|
; call main |
jal main ; enter command loop |
/boards/s3e-500/start.s
207,12 → 207,6
|
; initialize I/O |
add $29,$0,stacktop ; setup monitor stack |
jal kbdinit ; init keyboard |
jal dspinit ; init display |
jal ser0init ; init serial line 0 |
jal ser1init ; init serial line 1 |
jal dskinitctl ; init disk (controller) |
jal dskinitser ; init disk (serial line) |
ldw $8,$0,BIO_RD ; get switch settings |
and $8,$8,CIO_CTRL |
add $4,$0,CIO_SERIAL_0 ; set console to serial line |
220,6 → 214,20
add $4,$0,CIO_KBD_DSP ; set console to kbd/dsp |
swtchset: |
jal setcio |
ldbu $8,$0,cioctl ; get control byte |
and $8,$8,0x01 ; keyboard input wanted? |
bne $8,$0,nokbd ; no - then don't touch |
jal kbdinit ; else init keyboard |
nokbd: |
ldbu $8,$0,cioctl ; get control byte |
and $8,$8,0x02 ; display output wanted? |
bne $8,$0,nodsp ; no - then don't touch |
jal dspinit ; else init display |
nodsp: |
jal ser0init ; init serial line 0 |
jal ser1init ; init serial line 1 |
jal dskinitctl ; init disk (controller) |
jal dskinitser ; init disk (serial line) |
|
; call main |
jal main ; enter command loop |