Home

Awesome

Optimized BW-DOS by DMSC

This is a fork of the original BW-DOS sources, converted to MADS assembly syntax and with modifications by HolgetJanz and DMSC.

The main changes from BW-DOS 1.3 to this sources are described bellow.

There is a makefile to assemble all sources, just type make to generate all the bianry files in the build/disk folder and build and a disk image using the mkatr tool.

Changes from BW-DOS 1.3

Changes to the resident DOS and command processor

OriginalNew
RENAMEREN
ERASEDEL
PROTECTPROT
UNPROTECTUNPROT
CREDIRMD
DELDIRRD
CWDCD
LOADLOAD
CARCAR
RUNRUN
PRINTPRINT
TYPETYPE
DIRDIR
DIRSDIRS
BASICBASIC

Optimization to the resident commands

Many of the external commands are reduced in size, both in disk and in the resident size after installation, for example, RAMDISK now only uses 31 bytes of low RAM and XFSIO only 103.

CommandOriginal Size / ResidentNew Size / Resident
ARGSPRN1484 / 1581446 / 158
ARGSRTC1388 / 2701346 / 270
AUTOCWD731 / 74639 / 74
CLOCK1069 / 210821 / 151
DOSDRIVE986 / 108876 / 70
KEYBUFF1066 / 278825 / 183
RAMBOX1746 / 341658 / 34
RAMDISK2165 / 732014 / 31
RTIME81316 / 94 (213)1120 / 91 (199)
XFSIO1074 / 115925 / 101
XLRDISK1341 / 731274 / 31

Optimization to the external commands

Many of the external commands are reduced in size:

CommandOriginal SizeNew Size
BACKUP46174611
BLOAD487377
BOOT605511
CHKDSK470434
CHVOL344301
COPY13061142
CUT702628
DATE661509
DIRMAST26822252
DISASS16031179
DUMP783600
ELSE243166
ENDIF99
FORMAT27842652
HEXEDIT728558
IF442308
MDUMP554382
MEM620503
MEMEDIT502366
MENU98839695
MOVE17361520
MSDOS23102292
MSINI19161565
NEWED422364
OFFLOAD935829
PAUSE273150
SAVE466381
TIME659511
UNERASE15241498
VERIFY227197
XBAT315238

Extra external commands

Currently, the new external commands are: