|
|
|
@ -16,109 +16,109 @@ echo. |
|
|
|
echo. |
|
|
|
echo *** CPM Loader *** |
|
|
|
echo. |
|
|
|
zx RMAC -CPMLDR |
|
|
|
zx Z80ASM -UTIL/MF |
|
|
|
copy optdsk.lib ldropts.lib |
|
|
|
zx Z80ASM -BIOSLDR/MF |
|
|
|
move /Y biosldr.rel biosldrd.rel |
|
|
|
zx LINK -CPMLDRD[L100]=CPMLDR,BIOSLDRD,UTIL |
|
|
|
move /Y cpmldrd.com cpmldr.bin |
|
|
|
copy optcmd.lib ldropts.lib |
|
|
|
zx Z80ASM -BIOSLDR/MF |
|
|
|
move /Y biosldr.rel biosldrc.rel |
|
|
|
zx LINK -CPMLDRC[L100]=CPMLDR,BIOSLDRC,UTIL |
|
|
|
move /Y cpmldrc.com cpmldr.com |
|
|
|
zx RMAC -CPMLDR || exit /b |
|
|
|
zx Z80ASM -UTIL/MF || exit /b |
|
|
|
copy optdsk.lib ldropts.lib || exit /b |
|
|
|
zx Z80ASM -BIOSLDR/MF || exit /b |
|
|
|
move /Y biosldr.rel biosldrd.rel || exit /b |
|
|
|
zx LINK -CPMLDRD[L100]=CPMLDR,BIOSLDRD,UTIL || exit /b |
|
|
|
move /Y cpmldrd.com cpmldr.bin || exit /b |
|
|
|
copy optcmd.lib ldropts.lib || exit /b |
|
|
|
zx Z80ASM -BIOSLDR/MF || exit /b |
|
|
|
move /Y biosldr.rel biosldrc.rel || exit /b |
|
|
|
zx LINK -CPMLDRC[L100]=CPMLDR,BIOSLDRC,UTIL || exit /b |
|
|
|
move /Y cpmldrc.com cpmldr.com || exit /b |
|
|
|
rem pause |
|
|
|
|
|
|
|
echo. |
|
|
|
echo. |
|
|
|
echo *** Resident CPM3 BIOS *** |
|
|
|
echo. |
|
|
|
copy optres.lib options.lib |
|
|
|
copy genres.dat gencpm.dat |
|
|
|
zx RMAC -BIOSKRNL |
|
|
|
zx RMAC -SCB |
|
|
|
zx Z80ASM -BOOT/MF |
|
|
|
zx Z80ASM -CHARIO/MF |
|
|
|
zx Z80ASM -MOVE/MF |
|
|
|
zx Z80ASM -DRVTBL/MF |
|
|
|
zx Z80ASM -DISKIO/MF |
|
|
|
zx Z80ASM -UTIL/MF |
|
|
|
zx LINK -BIOS3[OS]=BIOSKRNL,SCB,BOOT,CHARIO,MOVE,DRVTBL,DISKIO,UTIL |
|
|
|
zx GENCPM -AUTO -DISPLAY |
|
|
|
copy cpm3.sys cpm3res.sys |
|
|
|
copy optres.lib options.lib || exit /b |
|
|
|
copy genres.dat gencpm.dat || exit /b |
|
|
|
zx RMAC -BIOSKRNL || exit /b |
|
|
|
zx RMAC -SCB || exit /b |
|
|
|
zx Z80ASM -BOOT/MF || exit /b |
|
|
|
zx Z80ASM -CHARIO/MF || exit /b |
|
|
|
zx Z80ASM -MOVE/MF || exit /b |
|
|
|
zx Z80ASM -DRVTBL/MF || exit /b |
|
|
|
zx Z80ASM -DISKIO/MF || exit /b |
|
|
|
zx Z80ASM -UTIL/MF || exit /b |
|
|
|
zx LINK -BIOS3[OS]=BIOSKRNL,SCB,BOOT,CHARIO,MOVE,DRVTBL,DISKIO,UTIL || exit /b |
|
|
|
zx GENCPM -AUTO -DISPLAY || exit /b |
|
|
|
copy cpm3.sys cpm3res.sys || exit /b |
|
|
|
rem pause |
|
|
|
|
|
|
|
echo. |
|
|
|
echo. |
|
|
|
echo *** Banked CPM3 BIOS *** |
|
|
|
echo. |
|
|
|
copy optbnk.lib options.lib |
|
|
|
copy genbnk.dat gencpm.dat |
|
|
|
zx RMAC -BIOSKRNL |
|
|
|
zx RMAC -SCB |
|
|
|
zx Z80ASM -BOOT/MF |
|
|
|
zx Z80ASM -CHARIO/MF |
|
|
|
zx Z80ASM -MOVE/MF |
|
|
|
zx Z80ASM -DRVTBL/MF |
|
|
|
zx Z80ASM -DISKIO/MF |
|
|
|
zx Z80ASM -UTIL/MF |
|
|
|
zx LINK -BNKBIOS3[B]=BIOSKRNL,SCB,BOOT,CHARIO,MOVE,DRVTBL,DISKIO,UTIL |
|
|
|
zx GENCPM -AUTO -DISPLAY |
|
|
|
copy cpm3.sys cpm3bnk.sys |
|
|
|
copy optbnk.lib options.lib || exit /b |
|
|
|
copy genbnk.dat gencpm.dat || exit /b |
|
|
|
zx RMAC -BIOSKRNL || exit /b |
|
|
|
zx RMAC -SCB || exit /b |
|
|
|
zx Z80ASM -BOOT/MF || exit /b |
|
|
|
zx Z80ASM -CHARIO/MF || exit /b |
|
|
|
zx Z80ASM -MOVE/MF || exit /b |
|
|
|
zx Z80ASM -DRVTBL/MF || exit /b |
|
|
|
zx Z80ASM -DISKIO/MF || exit /b |
|
|
|
zx Z80ASM -UTIL/MF || exit /b |
|
|
|
zx LINK -BNKBIOS3[B]=BIOSKRNL,SCB,BOOT,CHARIO,MOVE,DRVTBL,DISKIO,UTIL || exit /b |
|
|
|
zx GENCPM -AUTO -DISPLAY || exit /b |
|
|
|
copy cpm3.sys cpm3bnk.sys || exit /b |
|
|
|
rem pause |
|
|
|
|
|
|
|
echo. |
|
|
|
echo. |
|
|
|
echo *** Banked ZPM3 BIOS *** |
|
|
|
echo. |
|
|
|
copy optzpm.lib options.lib |
|
|
|
copy genbnk.dat gencpm.dat |
|
|
|
zx RMAC -BIOSKRNL |
|
|
|
zx RMAC -SCB |
|
|
|
zx Z80ASM -BOOT/MF |
|
|
|
zx Z80ASM -CHARIO/MF |
|
|
|
zx Z80ASM -MOVE/MF |
|
|
|
zx Z80ASM -DRVTBL/MF |
|
|
|
zx Z80ASM -DISKIO/MF |
|
|
|
zx Z80ASM -UTIL/MF |
|
|
|
zx LINK -ZPMBIOS3[B]=BIOSKRNL,SCB,BOOT,CHARIO,MOVE,DRVTBL,DISKIO,UTIL |
|
|
|
rem zx GENCPM -AUTO -DISPLAY |
|
|
|
rem copy cpm3.sys zpm3.sys |
|
|
|
copy optzpm.lib options.lib || exit /b |
|
|
|
copy genbnk.dat gencpm.dat || exit /b |
|
|
|
zx RMAC -BIOSKRNL || exit /b |
|
|
|
zx RMAC -SCB || exit /b |
|
|
|
zx Z80ASM -BOOT/MF || exit /b |
|
|
|
zx Z80ASM -CHARIO/MF || exit /b |
|
|
|
zx Z80ASM -MOVE/MF || exit /b |
|
|
|
zx Z80ASM -DRVTBL/MF || exit /b |
|
|
|
zx Z80ASM -DISKIO/MF || exit /b |
|
|
|
zx Z80ASM -UTIL/MF || exit /b |
|
|
|
zx LINK -ZPMBIOS3[B]=BIOSKRNL,SCB,BOOT,CHARIO,MOVE,DRVTBL,DISKIO,UTIL || exit /b |
|
|
|
rem zx GENCPM -AUTO -DISPLAY || exit /b |
|
|
|
rem copy cpm3.sys zpm3.sys || exit /b |
|
|
|
rem pause |
|
|
|
|
|
|
|
rem *** Resident *** |
|
|
|
|
|
|
|
rem copy cpm3res.sys cpm3.sys |
|
|
|
rem copy genres.dat getcpm.dat |
|
|
|
rem copy cpm3res.sys cpm3.sys || exit /b |
|
|
|
rem copy genres.dat getcpm.dat || exit /b |
|
|
|
|
|
|
|
rem *** Banked *** |
|
|
|
|
|
|
|
copy cpm3bnk.sys cpm3.sys |
|
|
|
copy genbnk.dat gencpm.dat |
|
|
|
copy cpm3bnk.sys cpm3.sys || exit /b |
|
|
|
copy genbnk.dat gencpm.dat || exit /b |
|
|
|
|
|
|
|
rem Loader |
|
|
|
|
|
|
|
tasm -t80 -g3 -fFF loader.asm loader.bin loader.lst |
|
|
|
tasm -t80 -g3 -fFF loader.asm loader.bin loader.lst || exit /b |
|
|
|
|
|
|
|
copy /b loader.bin + cpmldr.bin cpmldr.sys |
|
|
|
copy /b loader.bin + cpmldr.bin cpmldr.sys || exit /b |
|
|
|
|
|
|
|
rem Copy OS files to Binary directory |
|
|
|
|
|
|
|
copy cpmldr.com ..\..\Binary\CPM3 |
|
|
|
copy cpmldr.sys ..\..\Binary\CPM3 |
|
|
|
copy ccp.com ..\..\Binary\CPM3 |
|
|
|
copy gencpm.com ..\..\Binary\CPM3 |
|
|
|
copy genres.dat ..\..\Binary\CPM3 |
|
|
|
copy genbnk.dat ..\..\Binary\CPM3 |
|
|
|
copy bios3.spr ..\..\Binary\CPM3 |
|
|
|
copy bnkbios3.spr ..\..\Binary\CPM3 |
|
|
|
copy bdos3.spr ..\..\Binary\CPM3 |
|
|
|
copy bnkbdos3.spr ..\..\Binary\CPM3 |
|
|
|
copy resbdos3.spr ..\..\Binary\CPM3 |
|
|
|
copy cpm3res.sys ..\..\Binary\CPM3 |
|
|
|
copy cpm3bnk.sys ..\..\Binary\CPM3 |
|
|
|
copy gencpm.dat ..\..\Binary\CPM3 |
|
|
|
copy cpm3.sys ..\..\Binary\CPM3 |
|
|
|
copy readme.1st ..\..\Binary\CPM3 |
|
|
|
copy cpm3fix.pat ..\..\Binary\CPM3 |
|
|
|
copy cpmldr.com ..\..\Binary\CPM3 || exit /b |
|
|
|
copy cpmldr.sys ..\..\Binary\CPM3 || exit /b |
|
|
|
copy ccp.com ..\..\Binary\CPM3 || exit /b |
|
|
|
copy gencpm.com ..\..\Binary\CPM3 || exit /b |
|
|
|
copy genres.dat ..\..\Binary\CPM3 || exit /b |
|
|
|
copy genbnk.dat ..\..\Binary\CPM3 || exit /b |
|
|
|
copy bios3.spr ..\..\Binary\CPM3 || exit /b |
|
|
|
copy bnkbios3.spr ..\..\Binary\CPM3 || exit /b |
|
|
|
copy bdos3.spr ..\..\Binary\CPM3 || exit /b |
|
|
|
copy bnkbdos3.spr ..\..\Binary\CPM3 || exit /b |
|
|
|
copy resbdos3.spr ..\..\Binary\CPM3 || exit /b |
|
|
|
copy cpm3res.sys ..\..\Binary\CPM3 || exit /b |
|
|
|
copy cpm3bnk.sys ..\..\Binary\CPM3 || exit /b |
|
|
|
copy gencpm.dat ..\..\Binary\CPM3 || exit /b |
|
|
|
copy cpm3.sys ..\..\Binary\CPM3 || exit /b |
|
|
|
copy readme.1st ..\..\Binary\CPM3 || exit /b |
|
|
|
copy cpm3fix.pat ..\..\Binary\CPM3 || exit /b |