home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / assemutl.zip / PARTBIOS.LIS < prev    next >
File List  |  1985-05-15  |  3KB  |  80 lines

  1.     page    ,132
  2. ;--------------------------
  3. ; This text is a partial listing of BIOS low memory
  4. ;      see tech ref.
  5. ; Malcolm McCorquodale
  6. ;--------------------------
  7. data        segment at 40h
  8. rs232_base    dw    4 dup(?)    ;addr of rs232 adapters.
  9. printer_base    dw    4 dup(?)    ;addr of printers
  10. equip_flag    dw    ?        ;installed hardware
  11. mfg_test    db    ?        ;initialization flag
  12. memory_size    dw    ?        ;memory size in k bytes
  13. io_ram_size    dw    ?        ;memory in I/O channel
  14. ;--------------------------
  15. ; keyboard data areas
  16. ;--------------------------
  17. kb_flag     db    ?
  18.  
  19. ;---------- shift flag equates w/i kb_flag
  20.  
  21. ins_state    equ    80h    ;insert state is active
  22. caps_state    equ    40h    ;caps lock state has been toggled
  23. num_state    equ    20h    ;num lock state has been toggled
  24. scroll_state    equ    10h    ;scroll lock state has been toggled
  25. alt_shift    equ    08h    ;alt shift key depressed
  26. ctl_shift    equ    04h    ;ctl shift key depressed
  27. left_shift    equ    02h    ;left shift key depressed
  28. right_shift    equ    01h    ;right shift key depressed
  29.  
  30. kb_flag_1    db    ?
  31.  
  32. ins_shift    equ    80h    ;insert state is depressed
  33. caps_shift    equ    40h    ;caps lock state is depressed
  34. num_shift    equ    20h    ;num lock state is depressed
  35. scroll_shift    equ    10h    ;scroll lock state is depressed
  36. hold_state    equ    08h    ;suspend key has been toggled
  37.  
  38. alt_input    db    ?    ;storage for alternate keypad entry
  39. buffer_head    dw    ?    ;ptr to head of keyboard buffer
  40. buffer_tail    dw    ?    ;pointer to tail of keyboard buffer
  41. kb_buffer    dw    16 dup(?) ; room for 15 entries
  42. kb_buffer_end    label    word
  43. ;---------------------------------
  44. ; diskette data areas w/o equates
  45. ;---------------------------------
  46. seek_status    db    ?
  47. motor_status    db    ?
  48. motor_count    db    ?
  49. diskette_status db    ?
  50. nec_status    db    7 dup(?)
  51. ;----------------------------------
  52. ; video display data area
  53. ;----------------------------------
  54. crt_mode    db    ?    ;current crt mode
  55. crt_cols    dw    ?    ;number of columns on screen
  56. crt_len     dw    ?    ;length of regen in bytes
  57. crt_start    dw    ?    ;starting address in regen buffer
  58. cursor_posn    dw    8 dup(?) ;cursor for each of up to 8 pages
  59. cursor_mode    dw    ?    ;current cursor mode setting
  60. active_page    db    ?    ;current page being displayed
  61. addr_6845    dw    ?    ;base address for active display card
  62. crt_mode_set    db    ?    ;current setting of the 3x8 register
  63. crt_pallette    db    ?    ;current pallette setting color card
  64. data        ends
  65.  
  66. ;--------------------------------
  67. ; video diplay buffer
  68. ;--------------------------------
  69. video_ram    segment at 0b800h
  70. regen    label    byte
  71. regenw    label    word
  72. video_ram    ends
  73.  
  74. ;--------------------------------
  75. ; Stack segment
  76. ;--------------------------------
  77. stack    segment stack 'stack'
  78. stk    db    32 dup (?)
  79. stack    ends
  80.