include vmm.inc VMMcall Get_Machine_Info mov [Major], AH ; MS-DOS major version number mov [Minor], AL ; MS-DOS minor version number mov [OEM], BH ; MS-DOS OEM serial number mov [Model], BL ; machine model byte mov [Type], EBX ; machine type flags (high-order 16-bits) mov [SysConf], ECX ; points to System Configuration Parameters mov [Equip], EDX ; equipment flags |
The Get_Machine_Info service returns information about the computer system that Windows is running on.
This service has no parameters.
The AX, EBX, ECX, and EDX registers contain the following information:
Register | Description |
AH | MS-DOS major version number |
AL | MS-DOS minor version number |
BH | MS-DOS OEM serial number |
BL | Machine model byte (from address F000:FFFE in system ROM) |
EBX | Machine type flags (in the high-order 16-bits) as follows: |
Value | Meaning |
GMIF_80486 | 80486 processor |
GMIF_PCXT | PCXT accelerator |
GMIF_MCA | Micro Channel |
GMIF_EISA | EISA |
ECX | Ring 0 linear address to System Configuration Parameters (as returned from BIOS service Interrupt 15h, AH=C0h). Applies only to PS/2 or computers with extended BIOS. See the PS/2 BIOS documentation for details. |
EDX | Equipment flags (as returned from Interrupt 11h) |
The address returned in the ECX register points to a copy of the system configuration parameters because the actual parameters may have been moved into a buffer which is subject to page remapping.
EAX, EBX, ECX, EDX, Flags