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/boards/simulator
- from Rev 201 to Rev 331
- ↔ Reverse comparison
Rev 201 → Rev 331
/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 |