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
- 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 (@aovec),hl\r
\r
\r
- call intinit ; setup interrupts and vectors\r
call prt0ini ; init timer\r
ei\r
ld c,2\r