home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 123.img / TASM.ZIP / BIOS.INC < prev    next >
Text File  |  1989-05-02  |  4KB  |  79 lines

  1.  
  2. ;   FILENAME: BIOS.EQU
  3. ;
  4. ;   Copyright (c) 1988, 1989 by Borland International, Inc.
  5. ;
  6. ;   Description: This include file contains symbolic equates representing the
  7. ;   BIOS function calls and their associated services.
  8.  
  9.  
  10. VIDEO_SERVICE               = 010h ; BIOS Int 10h Video Service interrupt
  11. INT10_SET_MODE              = 000h ; set video mode
  12. INT10_SET_CURSOR_SHAPE      = 001h ; set cursor shape
  13. INT10_SET_CURSOR_POS        = 002h ; set cursor position
  14. INT10_READ_CURSOR           = 003h ; get cursor position service
  15. INT10_READ_LIGHT_PEN        = 004h ; read light pen position
  16. INT10_SELECT_DISPLAY_PAGE   = 005h ; select display page
  17. INT10_SCROLL_UP             = 006h ; scroll window up
  18. INT10_SCROLL_DOWN           = 007h ; scroll window down
  19. INT10_READ_ATTR_CHAR        = 008h ; read attribute\char
  20. INT10_WRITE_ATTR_CHAR       = 009h ; write attribute\char
  21. INT10_WRITE_CHAR            = 00Ah ; write character
  22. INT10_SET_COLOR_PALETTE     = 00Bh ; set color palette
  23. INT10_WRITE_PIXEL           = 00Ch ; write graphics pixel
  24. INT10_READ_PIXEL            = 00Dh ; read graphics pixel
  25. INT10_WRITE_TTY             = 00Eh ; write text in tty mode
  26. INT10_GET_MODE              = 00Fh ; Get video display mode
  27. INT10_SET_PALETTE_REGS      = 010h ; set palette registers
  28. INT10_FONT_SIZE             = 011h ; determine the # of rows
  29. INT10_WRITE_STRING          = 013h ; write string
  30. INT10_GET_VIDEO_BUFFER      = 0FEh ; get cideo buffer
  31. INT10_UPDATE_VIDEO_BUFFER   = 0FFh ; update video buffer
  32.  
  33. FLOPPY_SERVICE              = 013h ; Floppy disk service
  34. INT13_RESET_FLOPPY_DISK     = 000h ; Reset the floppy disk controller
  35. INT13_GET_SYSTEM_STATUS     = 001h ; Get the status of the floppy disk controller
  36. INT13_READ_FLOPPY_DISK      = 002h ; Read from the floppy disk
  37. INT13_WRITE_FLOPPY_DISK     = 003h ; Write to the floppy disk
  38. INT13_VERIFY_DISK_SECTORS   = 004h ; Verify sectors on the disk
  39. INT13_FORMAT_TRACK          = 005h ; Format a track on the floppy
  40.  
  41. SERIAL_PORT_SERVICE         = 014h ; BIOS serial port service
  42. INT14_INITIALIZE_PORT       = 000h ; Initialize the COM port
  43. INT14_WRITE_CHAR            = 001h ; Write a character to the COM port
  44. INT14_READ_CHAR             = 002h ; Read a character from the COM port
  45. INT14_STATUS                = 003h ; Get the COM port status
  46.  
  47. KEYBOARD_SERVICE            = 016h ; BIOS Keyboard interrupt
  48. INT16_READ_CHAR             = 000h ; Read the next character
  49. INT16_KBD_STATUS            = 001h ; Returns the keyboard status
  50. INT16_KBD_FLAGS             = 002h ; Returns the keyboard flags
  51.  
  52. PRINTER_SERVICE             = 017h ; BIOS Printer interrupt
  53. INT17_WRITE_CHAR            = 000h ; Write a character to the printer
  54. INT17_INIT_PRINTER_PORT     = 001h ; Initialize the printer port
  55. INT17_PRINTER_STATUS        = 002h ; Return the printer status
  56.  
  57. INT22_TERMINATE             = 022h ; Vector to terminate routine
  58. INT23_CTRLC_HANDLER         = 023h ; Vector to CTRL-C handler
  59. INT24_CRITICAL_ERROR        = 024h ; Vector to Critical Error handler
  60. INT25_ABSOLUTE_READ         = 025h ; Do an absolute disk read
  61. INT25_ABSOLUTE_WRITE        = 026h ; Do an absolute disk write
  62. INT27_KEEP                  = 027h ; Terminate and stay resident
  63. INT2F_PRINT_SPOOLER         = 02Fh ; Control the DOS print spooler
  64.  
  65. LIM_SERVICE                 = 067h ; Lotus/Intel/Microsoft EMS service
  66. INT67_GET_MANAGER_STATUS    = 001h ; Test if hardware works
  67. INT67_GET_PAGE_FRAME_SEG    = 002h ; Get the segment address of the page frame
  68. INT67_GET_PAGE_COUNT        = 003h ; Get the number of pages
  69. INT67_ALLOCATE_MEMORY       = 004h ; Get a handle and allocate soem memory
  70. INT67_MAP_MEMORY            = 005h ; Map a page of memory  into the page frame
  71. INT67_RELEADE_MEMORY        = 006h ; Release a handle and its associated memory
  72. INT67_GET_VERSION           = 007h ; Get the version number of the manager
  73. INT67_SAVE_CONTEXT          = 008h ; Save the mapping context
  74. INT67_RESTORE_CONTEXT       = 009h ; Restore the mapping context
  75. INT67_GET_HANDLE_COUNT      = 00Ch ; Get the number of handles
  76. INT67_GET_PAGES_FOR_HANDLE  = 00Dh ; Get the numebr of pages that belong to a handle
  77. INT67_GET_PAGES_FOR_HANDLES = 00Eh ; Get the numebr of pages that belong to each handle
  78. INT67_GET_SET_PAGE_MAP      = 00Fh ; Get or set the settings of the page mapping hardware
  79.