Category : C++ Source Code
Archive   : VCCRT2.ZIP
Filename : B_EQUIPL.ASM
Output of file : B_EQUIPL.ASM contained in archive : VCCRT2.ZIP
title b_equipl
;***
;b_equipl.asm - contains the _bios_equiplist() function
;
; Copyright (c) 1987-1992, Microsoft Corporation. All rights reserved.
;
;Purpose:
; This module contains the _bios_equiplist() function.
;
;*******************************************************************************
include version.inc
.xlist
include cmacros.inc
.list
sBegin code
assumes cs,code
page
;***
;unsigned _bios_equiplist() - return the BIOS equipment list word
;
;Purpose:
; The function "_bios_equiplist" returns the BIOS equipment
; list word, containing information about the number of
; diskette drives installed, motherboard memory, etc.
;
;Entry:
;
;Exit:
; AX = the BIOS equipment list word
;
;Uses:
;
;Exceptions:
;
;*******************************************************************************
cProc _bios_equiplist,
ifdef _WINDOWS
cBegin
else
cBegin
endif
int 11H ; get equipment list in AX
ifdef _WINDOWS
cEnd
else
ret
cEnd
endif
sEnd
end
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/