Compact Board PCM-9452
Appendix A Programming the Watchdog Timer A - 8
CMP AL,12h
JNE Not_Initial
Need_Initial:
STC
RET
Not_Initial:
CLC
RET
Check_Chip ENDP
Read_Configuration_Data PROC NEAR
MOV DX,WORD PTR CS:[Cfg_Port+04h]
OUT DX,AL
MOV DX,WORD PTR CS:[Cfg_Port+06h]
IN AL,DX
RET
Read_Configuration_Data ENDP
Write_Configuration_Data PROC NEAR
MOV DX,WORD PTR CS:[Cfg_Port+04h]
OUT DX,AL
XCHG AL,AH
MOV DX,WORD PTR CS:[Cfg_Port+06h]
OUT DX,AL
RET