Category : BASIC Source Code
Archive   : QBWIZ20.ZIP
Filename : DOSVERS.ASM

 
Output of file : DOSVERS.ASM contained in archive : QBWIZ20.ZIP
comment #

+----------------------------------------------------------------------+
| |
| QBWiz Copyright (c) 1990-1992 Thomas G. Hanlin III |
| |
| QuickBasic Access Library |
| |
+----------------------------------------------------------------------+

#

public DOSVERSION


.model medium

.code



extrn __osmajor: byte
extrn __osminor: byte



DOSVERSION proc ; get DOS version
push bp ;
mov bp,sp ;
xor ax,ax ;
mov al,__osmajor ;
mov bx,8[bp] ;
mov [bx],ax ;
mov al,__osminor ;
mov bx,6[bp] ;
mov [bx],ax ;
pop bp ;
ret 4 ;
DOSVERSION endp ; get DOS version



end


  3 Responses to “Category : BASIC Source Code
Archive   : QBWIZ20.ZIP
Filename : DOSVERS.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/