This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/b_equip.c

11 lines
180 B
C
Raw Normal View History

#include <stdio.h>
#include <bios.h>
void main()
{
unsigned short equipment;
equipment = _bios_equiplist();
printf( "Equipment flags = 0x%4.4X\n", equipment );
}