1 PEL_READ_REG EQU 03C7h ;Color register, read address
\r
2 PEL_WRITE_REG EQU 03C8h ;Color register, write address
\r
3 PEL_DATA_REG EQU 03C9h ;Color register, data port
\r
4 SC_INDEX equ 03C4h ;Sequence Controller Index
\r
5 CRTC_INDEX equ 03D4h ;CRT Controller Index
\r
6 MISC_OUTPUT equ 03C2h ;Miscellaneous Output register
\r
7 SCREEN_SEG equ 0a000h ;segment of display memory in mode X
\r
8 INPUT_STATUS_1 equ 03DAh ;Input Status 1 register
\r
9 ATC_INDEX equ 03C0h ;Attribute Controller
\r
10 START_ADDRESS_HIGH equ 0Ch ;bitmap start address high byte
\r
11 START_ADDRESS_LOW equ 0Dh ;bitmap start address low byte
\r
16 ALL_COPY_BITS EQU 00000h+BIT_MASK
\r
17 ALL_DRAW_BITS EQU 0FF00h+BIT_MASK
\r
20 SQUARE_HEIGHT EQU 16
\r
21 SCREEN_WIDTH EQU 320
\r
22 SCREEN_HEIGHT EQU 200
\r
23 VIRTUAL_WIDTH EQU 352
\r
24 VIRTUAL_HEIGHT EQU 240
\r
27 PAGE_1 EQU 05540h ;05470h ;5540h
\r
28 PAGE_2 EQU 0AA80h ;0A8E0h ;AA80h
\r
30 SCROLL_SPEED EQU 1 ; Don't let it go above 8!
\r
38 ;======================================================================
\r
40 ;======================================================================
\r
114 kGREY_MINUS EQU 148
\r