ASSEMBLY - AT110.ZIP - SCRNWORK.ASM

 
Output of file : SCRNWORK.ASM contained in archive : AT110.ZIP

; *********************************************************************
; * *
; * STUCTURE FOR SCREEN INPUT/OUTPUT ENTRY. *
; * A OFFH INDICATES THE END OF THE LIST. *
; * *
; *********************************************************************
SCREEN_IO STRUC
S_NEXT DW 0 ;OFFSET OF NEXT ENTRY
S_LEN DB 0 ;MAX LENGTH OF FILED
S_OPT DB 0 ;PROCESSING OPTIONS
S_ATTR DB 0 ;ATTRIBUTE BYTE
S_ROW DB 0 ;STARTING ROW
S_COL DB 0 ;STARTING COLUMN
S_DATA DB 0 ;DATA BEGINS HERE
SCREEN_IO ENDS
; *********************************************************************
; * S_OPT *
; *********************************************************************
@NUM EQU 080H ;NUMERIC INPUT ONLY
@ALPHA EQU 040H ;ALPHA INPUT ONLY
@UC EQU 020H ;CONVERT ALPHA TO UPPER CASE
@REQ EQU 010H ;FIELD IS REQUIRED
@NFULL EQU 008H ;NEXT FIELD WHEN FULL
@YN EQU 004H ;YES OR NO ONLY
@LABEL EQU 002H ;THIS FIELD IS A LABEL
@EX EQU 001H ;EXTENDED KEY ONLY
;
@NONE EQU 00H ;NO OPTIONS
VI_BASE DW 0 ;BASE ADDRESS FOR VIDEO RAM
BLANK EQU 20H ;BLANK
EOF EQU 1AH ;END OF FILE
NORMAL EQU 07H ;WHITE ON BLACK
LO EQU 07H ;LOW INTENSITY
RV EQU 78H ;REVERESE VEDIO
HI EQU 0FH ;HIGH INTENSITY ON BLACK
FG_HI EQU 08H ;FOREGROUND HIGH INTESITY
FG_WHITE EQU 07H ;FORGROUND WHITE
FG_RED EQU 04H ;FORGROUND RED
FG_GREEN EQU 02H ;FORGROUND GREEN
FG_BLUE EQU 01H ;FORGROUND BLUE
FG_BLACK EQU 00H ;FORGROUND BLACK
BLINK EQU 80H ;BLINK
BG_WHITE EQU 70H ;BACKROUND WHITE
BG_RED EQU 40H ;BACKROUND RED
BG_GREEN EQU 20H ;BACKROUND GREEN
BG_BLUE EQU 10H ;BACKROUND BLUE
BG_BLACK EQU 00H ;BACKROUND BLACK
LINE_LEN DW 80 ;LENGTH OF LINE
;