home *** CD-ROM | disk | FTP | other *** search
/ The Equalizer BBS / equalizer-bbs-collection_2004.zip / equalizer-bbs-collection / DEMOSCENE-STUFF / UWLOADER.ZIP / VIDEO.INC < prev    next >
Text File  |  1994-11-15  |  2KB  |  49 lines

  1. ;
  2. ;  -> This is a demo, game, or some graphical editor of sorts, inclusive.
  3. ;
  4. ;  Video Include Module - All kinds of juicy tidbits that I either don't 
  5. ;  feel like memorizing, or just added for increased readability.
  6. ;
  7.  
  8.  
  9.    Global TheImage   :Word
  10.    Global PalBuf1    :Byte
  11.    
  12.    o   EQU Offset
  13.  
  14.    nil = 0
  15.  
  16.    SCREEN_SEG      = 0a000h  ; Segment of display memory in mode x
  17.  
  18.    ATTRIB_CTRL     = 03C0h   ; VGA Attribute Controller
  19.    GC_INDEX        = 03CEh   ; VGA Graphics Controller
  20.    SC_INDEX        = 03C4h   ; VGA Sequencer Controller
  21.    SC_DATA         = 03C5h   ; VGA Sequencer Data Port
  22.    CRTC_INDEX      = 03D4h   ; VGA CRT Controller
  23.    CRTC_DATA       = 03D5h   ; VGA CRT Controller Data
  24.    MISC_OUTPUT     = 03C2h   ; VGA Misc Register
  25.    INPUT_1         = 03DAh   ; Input Status #1 Register
  26.  
  27.    PIXEL_PAN_REG   = 033h    ; Attrib Index: Pixel Pan Reg
  28.    MAP_MASK        = 002h    ; Sequ Index: Write Map Mask reg
  29.    READ_MAP        = 004h    ; GC Index: Read Map Register
  30.    START_DISP_HI   = 00Ch    ; CRTC Index: Display Start Hi
  31.    START_DISP_LO   = 00Dh    ; CRTC Index: Display Start Lo
  32.  
  33.    MASK_PLANE1     = 00102h  ; Map Register + Plane 1
  34.    MASK_PLANE2     = 01102h  ; Map Register + Plane 2
  35.    ALL_PLANE_ON    = 00F02h  ; Map Register + All Bit Planes
  36.  
  37.    CHAIN4_OFF      = 00604h  ; Chain 4 mode Off
  38.    CHAIN4_ON       = 00c04h  ; Chain 4 mode On
  39.    ASYNC_RESET     = 00100h  ; (A)synchronous Reset
  40.    SEQU_RESTART    = 00300h  ; Sequencer Restart
  41.  
  42.    LATCHES_ON      = 00008h  ; Bit Mask + Data from Latches
  43.    LATCHES_OFF     = 0FF08h  ; Bit Mask + Data from CPU
  44.  
  45.    VERT_RETRACE    = 08h     ; INPUT_1: Vertical Retrace Bit
  46.    PLANE_BITS      = 03h     ; Bits 0-1 of Xpos = Plane #
  47.    ALL_PLANES      = 0Fh     ; All Bit Planes Selected
  48.    CHAR_BITS       = 0Fh     ; Bits 0-3 of Character Data
  49.