.XLIST ; FILENAME: MBIOS.MAC ;----- BIOS Int 10h Video Service interrupt ----- ;--- set video mode intr SetVideoMode,,,10h,00h ;--- set cursor shape intr SetCursorShape,,,10h,01h ;--- get cursor shape intr GetCursorShape,,,10h,03h ;--- set cursor position intr PutCursorXY,
,,10h,02h ;--- get cursor position service intr GetCursorXY,,,10h,03h ;--- read light pen position intr GetLightPenPos,,,10h,04h ;--- select display page intr SetDisplayPage,,,10h,05h ;--- scroll window up intr ScrollUp,,,10h,06h ;--- scroll window down intr ScrollDn,,,10h,07h ;--- read attribute\char intr GetCharAttr,,,10h,08h ;--- write attribute\char intr PutCharAttr,,,10h,09h ;--- write character intr PutChar,,,10h,0Ah ;--- set color palette intr SetColorPalette,,,10h,0Bh ;--- write graphics pixel intr PutPixel,,,10h,0Ch ;--- read graphics pixel intr GetPixel,,,10h,0Dh ;--- Get video display mode intr GetVideoMode,,,10h,0Fh ;--- determine the # of rows intr ScreenRows,
,,10h,11h,30h ;----- Floppy disk service ----- ;--- Reset the floppy disk controller intr DiskReset,
,,13h,00h ;--- Get the status of the floppy disk controller intr DiskGetStatus,
,,13h,01h ;--- Read from the floppy disk intr DiskRead,
,,13h,02h ;--- Write to the floppy disk intr DiskWrite,
,,13h,03h ;--- Verify sectors on the disk intr DiskVerify,
,,13h,04h ;--- Format a track on the floppy intr DiskFormat,
,,13h,05h ;--- LongRead from the floppy disk intr DiskLongRead,
,,13h,0Ah ;--- LongWrite to the floppy disk intr DiskLongWrite,
,,13h,0Bh ;--- Set type the floppy disk intr DiskType,
,,13h,17h ;--- Set space the floppy disk for format intr DiskSpace,
,,13h,18h ;----- BIOS serial port service ----- ;--- Initialize the COM port intr COMInit,,,14h,00h ;--- Write a character to the COM port intr COMWrite,,,14h,01h ;--- Read a character from the COM port intr COMRead,,,14h,02h ;--- Get the COM port status intr COMStatus,,,14h,03h ;----- BIOS Keyboard interrupt ----- ;--- Read the next character intr KBDRead,,,16h,00h ;--- Returns the keyboard status intr KBDStatus,,,16h,01h ;--- Returns the keyboard flags intr KBDFlags,,,16h,02h ;--- Write the next character intr KBDWrite,,,16h,05h ;----- BIOS Printer interrupt ----- ;--- Write a character to the printer intr PRNChar,,,17h,00h ;--- Initialize the printer port intr PRNInit,,,17h,01h ;--- Return the printer status intr PRNStatus,,,17h,02h .LIST