call writechip
mov ax, 00039h
call writechip
mov ax, 03838h ; Select "system reset" as
call readchip
and al, 00001111b
or al, 11010000b
xchg ah, al
call writechip
mov ax, 03737h ; Enable watchdog timer
call readchip
or al, 01000000b
xchg ah, al
call writechip
mov ax, 00013h ; Lock config. register
call writechip
mov ax, 04c00h
int 21h
main endp
readchip proc
out 22h, al
nop
nop
in al, 23h
nop
nop
ret
28
ICOP Embedded 386SX CPU ISA Half Size SBC User's Manual
; timeout action