]> cloudbase.mooo.com Git - z180-stamp-cpm3.git/blobdiff - cbios/boot.180
Add TCGETA, TCSETA
[z180-stamp-cpm3.git] / cbios / boot.180
index e0463e6e398dacbf0acf1cf82dd4c11bb4a968b1..766277ff005f9bdc95bcde597ff8ab3889e64f07 100644 (file)
@@ -54,11 +54,12 @@ hwini_skip:
        call    cpu_frq\r
        ld      (f_cpu),hl\r
        ld      (f_cpu+2),de\r
        call    cpu_frq\r
        ld      (f_cpu),hl\r
        ld      (f_cpu+2),de\r
+       call    intinit                 ; setup interrupts and vectors\r
        ret\r
 \r
 ?init:\r
 ;      ld      hl,1000000000000000b    ; assign console to AVRCON:\r
        ret\r
 \r
 ?init:\r
 ;      ld      hl,1000000000000000b    ; assign console to AVRCON:\r
-       ld      hl,0100000000000000b    ; assign console to ASCI0:\r
+       ld      hl,0010000000000000b    ; assign console to ASCI1:\r
        ld      (@civec),hl\r
        ld      (@covec),hl\r
        ld      hl,0000000000000000b    ; assign printer to nothing:\r
        ld      (@civec),hl\r
        ld      (@covec),hl\r
        ld      hl,0000000000000000b    ; assign printer to nothing:\r
@@ -68,7 +69,6 @@ hwini_skip:
        ld      (@aovec),hl\r
 \r
 \r
        ld      (@aovec),hl\r
 \r
 \r
-       call    intinit                 ; setup interrupts and vectors\r
        call    prt0ini                 ; init timer\r
        ei\r
        ld      c,2\r
        call    prt0ini                 ; init timer\r
        ei\r
        ld      c,2\r