Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:interrupts:int_11:start

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine 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.1back2root: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/Call: =====
 +no input data
 +
 +===== Return: =====
 +
 +{{tablelayout?rowsHeaderSource=Auto&colwidth=""}}
 +^  reg  ^   descr  ^
 +|  AX   | contains [[#bitflags|followings]] bit flags |
 +
 +==== Values code: ====
 +{{anchor:bitflags}}
 +{{tablelayout?rowsHeaderSource=Auto}}
 +^  bit    ^ description                     ^ specific PS/2                     ^
 +|  0      | IPL diskette installed                                             ||
 +|  1      | math coprocessor                                                   ||
 +|  2      | old PC [[#oldpc|system board RAM]] < 256K  | pointing device installed (PS/2)  |
 +|  3      | :::                             | not used                          |
 +|  4-5    | initial [[#videomode|video mode]]                                                 ||
 +|  6-7    | # of [[#floppy|diskette drives]], less 1                                       ||
 +|  8      | 0 if DMA installed                                                 ||
 +|  9-11   | number of serial ports                                             ||
 +|  12     | game adapter installed                                             ||
 +|  13     | unused                          | internal modem (PS/2)             |
 +|  14-15  | number of printer ports                                            ||
 +
 +{{anchor:oldpc}}
 +** bits 3 & 2,  system board RAM if less than 256K motherboard **
 +
 +  * 00 - 16K
 +  * 01 - 32K
 +  * 10 - 16K
 +  * 11 - 64K (normal)
 +
 +{{anchor:videomode}}
 +** bits 5 & 4,  initial video mode **
 +
 +  * 00 - unused
 +  * 01 - 40x25 color
 +  * 10 - 80x25 color
 +  * 11 - 80x25 monochrome
 +
 +{{anchor:floppy}}
 +** 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:ibm-pc-ms-dos:hardware:informations:bios_data_area|BIOS Data Area]] location 40:10
 +  * some flags are not guaranteed to be correct on all machines
 +  * bit 13 is used on the PCjr to indicate serial printer
 +</WRAP>
 + 
 +[[..:start|Back]]