Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
back2root:ibm-pc-ms-dos:interrupts:int_11:start [2024/04/06 18:44] – supprimée - modification externe (Date inconnue) 127.0.0.1 | back2root:ibm-pc-ms-dos:interrupts:int_11:start [2024/08/13 08:12] (Version actuelle) – frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Int 11h - BIOS Equipment Determination / BIOS Equipment Flags ====== | ||
+ | |||
+ | ===== Request/ | ||
+ | no input data | ||
+ | |||
+ | ===== Return: ===== | ||
+ | |||
+ | {{tablelayout? | ||
+ | ^ reg ^ | ||
+ | | AX | contains [[# | ||
+ | |||
+ | ==== Values code: ==== | ||
+ | {{anchor: | ||
+ | {{tablelayout? | ||
+ | ^ bit ^ description | ||
+ | | 0 | IPL diskette installed | ||
+ | | 1 | math coprocessor | ||
+ | | 2 | old PC [[# | ||
+ | | 3 | ::: | not used | | ||
+ | | 4-5 | initial [[# | ||
+ | | 6-7 | # of [[# | ||
+ | | 8 | 0 if DMA installed | ||
+ | | 9-11 | number of serial ports || | ||
+ | | 12 | game adapter installed | ||
+ | | 13 | unused | ||
+ | | 14-15 | number of printer ports || | ||
+ | |||
+ | {{anchor: | ||
+ | ** bits 3 & 2, system board RAM if less than 256K motherboard ** | ||
+ | |||
+ | * 00 - 16K | ||
+ | * 01 - 32K | ||
+ | * 10 - 16K | ||
+ | * 11 - 64K (normal) | ||
+ | |||
+ | {{anchor: | ||
+ | ** bits 5 & 4, initial video mode ** | ||
+ | |||
+ | * 00 - unused | ||
+ | * 01 - 40x25 color | ||
+ | * 10 - 80x25 color | ||
+ | * 11 - 80x25 monochrome | ||
+ | |||
+ | {{anchor: | ||
+ | ** bits 7 & 6, number of disk drives attached, when bit 0=1 ** | ||
+ | |||
+ | * 00 - 1 drive | ||
+ | * 01 - 2 drives | ||
+ | * 10 - 3 drive | ||
+ | * 11 - 4 drives | ||
+ | ===== Notes & Comments ===== | ||
+ | |||
+ | <WRAP round box> | ||
+ | * returns data stored at [[back2root: | ||
+ | * some flags are not guaranteed to be correct on all machines | ||
+ | * bit 13 is used on the PCjr to indicate serial printer | ||
+ | </ | ||
+ | |||
+ | [[..: | ||