Category : C Source Code
Archive   : SUPER_C.ZIP
Filename : EQLIB.ASM

 
Output of file : EQLIB.ASM contained in archive : SUPER_C.ZIP
; Equipment Configuration Library

_TEXT segment byte public 'CODE' ; Place the code in the code segment
assume CS:_TEXT ; Assume the CS register points to it

; _memSz()
;
; Function: Return the number of 1K blocks of memory in the system.
;
; Algorithm: Just call the ROM BIOS via interrupt 10H.

public _memSz ; This routine is public (available to
; other modules)

_memSz proc near ; _memSz is a NEAR type subroutine
int 12H ; Call the ROM BIOS with interrupt 12 (hex)
ret ; Return to the calling program
_memSz endp ; End of subroutine

; _getEq()
;
; Function: Return the current equipment configuration.
;
; Algorithm: Call ROM BIOS interrupt 11H to get the configuration.

public _getEq ; Routine is available to other modules

_getEq proc near ; NEAR type subroutine
int 11H ; Call the ROM BIOS with interrupt 11 (hex)
ret ; Return to calling program
_getEq endp ; End of subroutine

_TEXT ends ; End of code segment
end ; End of assembly code



  3 Responses to “Category : C Source Code
Archive   : SUPER_C.ZIP
Filename : EQLIB.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/