Files
Digital-Research-Source-Code/CONTRIBUTIONS/z80em86/scripts/make_dr.sub
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

52 lines
1.6 KiB
Plaintext

;===========================================================================
; CP/M 3 - DR (original) build script. SJK, 26 February 2009
;
; This submit file is used to build and create a bootable CP/M floppy disk.
; A HDD bootable disk image can then be created from it.
;
; A copy of all the source directories must be copied to the installed
; location of the emulator.
;
; Place a freshly formatted 1.44MB HD CP/M floppy disk into drive A: before
; starting.
;
; This script may be run in several ways:
; 1) Copy to the HDD on drive C: and execute
; C:>dostocpm scripts\make_dr.sub c:
; C:>submit make_dr
;
; 2) Under Linux and DosEmu:
; dosemu -dumb "cd z80em86|z80em86 scripts\make_dr.sub"
;
; 3) Under DOS:
; >cd z80em86
; >z80em86 scripts\make_dr.sub
;
; Methods 2 and 3 require a current CP/M 3 system that has my 'profile.sub'
; on the HDD disk image.
;
; All Methods require the drive search path to be set to a drive that
; contains the executables. (drive C: is set in 'profile.sub')
;===========================================================================
;
; copy the BIOS source and submit files
dostocpm bios\*.spr bios\*.mac bios\*.asm bios\*.sub bios\*.cpm bios\*.lib bios\*.dat bios\*.rel A: /f
; make CP/M 3 and loader system files
A:
submit a:makecpm3.sub
; copy the original CP/M 3 binary files
dostocpm cpm3\*.com cpm3\*.hlp A: /f
; copy the CP/M 3 support files
dostocpm support\*.com support\*.dat A: /f
; copy selected user files from the 'extras' directory
dostocpm extras\*.com A: /f
; place cpmldr.sys onto the system tracks making the banked build bootable
putldr b A:
; ***** SYSTEM CREATION COMPLETE *****