

If no drive letter is specified and current directory is not set, then C:\emu8086\MyBuild\ path is used by default. The short list of emulated MS-DOS interrupts - INT 21hĭOS file system is emulated in C:\emu8086\vdrive\x (x is a drive letter) There are approximately 18.20648 clock ticks per second, The emulator just stops the execution, to boot fromĬX:DX = number of clock ticks since midnight.ĪL = midnight counter, advanced each time midnight passes. Usually, the BIOS will try to read sector 1, head 0, track 0 from driveĪ: to 0000h:7C00h. (if a keystroke is present, it is not removed from the keyboard buffer). INT 16h / AH = 01h - check for keystroke in the keyboard buffer. (if a keystroke is present, it is removed from the keyboard buffer). INT 16h / AH = 00h - get keystroke from keyboard (no echo).
Emu8086 register key windows#
Windows XP does not support this interrupt (always sets CF=1). On many systems (1 million microseconds - 1 second). The resolution of the wait period is 977 microseconds INT 13h / AH = 02h - read disk sectors into memory.ĪL = number of sectors to read/write (must be nonzero)ĭL = drive number (0.3, for the emulator it depends on quantity of FLOPPY_ files).ĬF clear if successful (wait interval elapsed),ĬF set on error or when wait function is already in progress. Of installed number of floppy disk drives.īit fields for BIOS-detected installed hardware:ħ-6 Number of floppy disk drives (minus 1):Ġ0 EGA,VGA,PGA, or other with on-board video BIOS įloppy drives are emulated using FLOPPY_0(.3) files.
Emu8086 register key full#
use this code for compatibility with dos/cmd prompt full screen mode: mov ax, 1003hĪX = BIOS equipment list word, actually this call returnsĬurrently this function can be used to determine the number Note: the emulator and windows command line prompt do not supportīackground blinking, however to make colors look the same in dos and inįull screen mode it is required to turn off the background blinking. INT 10h / AX = 1003h - toggle intensity/blinking.ġ: enable blinking (not supported by the emulator and windows command prompt).īH = 0 (to avoid problems on some adapters).Ĭharacter attribute is 8 bit value, low 4 bits set fore color, high 4 bits Mov cx, msg1end - offset msg1 calculate message size. function may not be supported in graphics mode.īL = attribute if string contains only characters (bit 1 of AL is zero).ĬX = number of characters in string (attributes are not counted).ĭL,DH = column, row at which to start writing. The printing is always done to current active page. This functions displays a character on the screen,Īdvancing the cursor and scrolling the screen as necessary. INT 10h / AH = 0Dh - get color of a single pixel. INT 10h / AH = 0Ch - change color for a single pixel. INT 10h / AH = 0Ah - write character only at cursor position.

INT 10h / AH = 09h - write character and attribute at cursor position.

INT 10h / AH = 08h - read character and attribute at cursor position. INT 10h / AH = 05h - select active video page.ĪL = number of lines by which to scroll (00h = clear entire window).īH = attribute used to write blank lines at bottom of window.ĬH, CL = row, column of window's upper left corner.ĭH, DL = row, column of window's lower right corner. INT 10h / AH = 03h - get cursor position and size. otherwise wrong cursor shapes are displayed. note: some bioses required CL to be >=7, show box-shaped blinking text cursor: mov ch, 0 show standard blinking text cursor: mov ch, 6 When bit 5 is 1, the cursor is not visible. When bit 5 of CH is set to 0, the cursor is visible. INT 10h / AH = 01h - set text-mode cursor shape.ĬH = cursor start line (bits 0-4) and options (bits 5-7). The short list of supported interrupts with descriptions:Ġ0h - text mode. Windows XP may overwrite some of the original interrupts. X86, original Intel 8086 and AMD compatible microprocessors, however
Emu8086 register key Pc#
These interrupts should be compatible will IBM PC and all generations of 8086 bios and dos interrupts (IBM PC) The list of all interrupts that are currently supported by the 8086 assembler emulator.
