
NAR-4040 User’s Manual
35
PROMP1_1 DB ' For PPAP-3711 Reset-to-Default test .',13,10,'$'
PROMP_2_CR_LF db 0Dh, 0Ah,0Dh, 0Ah, '$'
PROMP_Str1 db ' Reset-To-Default status latched by a F/F. ',0dh,0ah,'$'
PROMP_Str2 db ' This status bit = 0 ---> Normal. ',0dh,0ah,'$'
PROMP_Str3 db ' This status bit = 1 ---> RST2DF button has been pressed.',0dh,0ah,'$'
PROMP_Str4 db ' This status bit can be read by ICH4_GPI6, ',0dh,0ah,'$'
PROMP_Str5 db ' and can be cleared by an ICH_GPO19 High1-Low-High2
pulse.',0dh,0ah,'$'
PROMP_Str6 db ' ',0dh,0ah,'$'
PROMP_Str7 db ' High1 = 30us High level ',0dh,0ah,'$'
PROMP_Str8 db ' Low = 30us Low level ',0dh,0ah,'$'
PROMP_Str9 db ' High2 = High level again and no level change from now on.',0dh,0ah,'$'
PROMP_StrA db ' ',0dh,0ah,'$'
PROMP_rst2df db 0dh,0ah,' Press the Reset-to-Default button and then release it for the test
NOW!$'
PROMP_anykey db 0dh,0ah,' Ready ? If yes , then Press any key to start test ....... $'
PROMP_err1 db 0dh,0ah,' ***** "Reset-to-Default F/F Initialization" Failed. *****',0dh,0ah,'$'
PROMP_err1_1 db ' ( This may be a H/W error or Reset-to-Default button has ever been
pressed ! )',0dh,0ah,'$'
PROMP_err2 db 0dh,0ah,' ***** "Reset-to-Default event latched by F/F " Failed.
*****',0dh,0ah,'$'
PROMP_err3 db 0dh,0ah,' ***** "Clear Reset-to-Default F/F status " Failed. *****',0dh,0ah,'$'
PROMP_TEST_OK db ' <<..... PPAP-3711 RESET-TO-DEFAULT test OK .....>>',0dh,0ah,'$'
PROMP_TEST_fail db ' <<***** PPAP-3711 RESET-TO-DEFAULT test FAIL *****>>',0dh,0ah,'$'
PROMP_Qkey db 0dh,0ah,'Press "Q" key to stop test and return to DOS; or other key to go on
next test.$'
GP_INV_OFFSET db 2Ch ; The offset value from GPIOBASE
GPE0_STS_OFFSET db 28h ; The offset value from PMBASE
GP_LVL_OFFSET db 0Ch ; The offset value from GPIOBASE
; EBX_bit[31..16] save PMBASE ( B0:D31:F0:Offset[40..43h])
; ECX_bit[31..16] save GPIOBASE ( B0:D31:F0:Offset[58..5Bh] )
.code
programstart:
mov ax,@data
mov ds,ax
lea dx,PROMP_2_CR_LF
mov ah,09h
int 21h
lea dx,PROMP1
mov ah,09h
int 21h
lea dx,PROMP_2_CR_LF
mov ah,09h
int 21h
lea dx,PROMP1_1
mov ah,09h
int 21h
Summary of Contents for NAR-4040
Page 3: ...NAR 4040 User s Manual 2 5 9 Sample Code 53 ...
Page 27: ...Fig 3 2 PPAP 3711VL System Block Diagram NAR 4040 User s Manual 26 ...
Page 46: ...NAR 4040 User s Manual 45 pop dx pop cx ret FIXDELAY ENDP END programstart ...
Page 53: ...NAR 4040 User s Manual 52 5 8 Character Generator ROM CGROM ...