News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

MS-DOS source code

Started by sinsi, April 26, 2024, 06:57:23 PM

Previous topic - Next topic

sinsi


_japheth

Thanks for info!

The package also contains the tools needed to create the binaries.

There's MS C 5.1 and Masm 5.1, very nice little programs to create 16-bit real-mode programs, supporting small, medium, compact, large and huge memory models. Super cool!

The source even includes EMM386 and SMARTDRV!!!
Dummheit, gepaart mit Dreistigkeit - eine furchtbare Macht.

NoCforMe

I loves some of the comments in the code, which tell us more than even the code itself:

;   Rev 3.1 MarkZ   3.1 in label due to vagaries of SYSing to IBM drive D's
;            This resulted in the BPB being off by 1.  So we now trust
;            2.0 and 3.1 boot sectors and disbelieve 3.0.

Shows some of the intricacies of the problems the programmers were faced with back in the day.
Assembly language programming should be fun. That's why I do it.

learn64bit

text file encoding
  github
    65001withoutBOM
  MS-DOS v4.0
    00437

MS-DOS-main.zip\MS-DOS-main\v4.0\
  MAPPER\GETMSG.ASM
  SELECT\
    SELECT2.ASM
    USA.INF

above 3 files messed up by 65001 encoding.
fix it back to 00437 (undo the 65001 convertion), then compile dosV4 is ok

learn64bit

almost forgot...
also 0D0Ah messed up by github.
.bat, .asm, .skl, zero.dat and locscr
undo the 0D0Ah to 0Ah