mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-24 00:44:23 +00:00
Upload
Digital Research
This commit is contained in:
19
CONTRIBUTIONS/z80em86/scripts/make_dr.sh
Normal file
19
CONTRIBUTIONS/z80em86/scripts/make_dr.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
#==============================================================================
|
||||
# Create a CP/M 3 (original DR) floppy boot disk and image
|
||||
# S.J.Kay 26 February 2009
|
||||
#==============================================================================
|
||||
FLOPPY_DIR=floppy
|
||||
|
||||
cp -a bios/ cpm3/ cpm3_y2k/ extras/ support/ scripts/ ~/.dosemu/drive_c/z80em86/
|
||||
rm -f ~/.dosemu/drive_c/z80em86/bios/*.*~ ~/.dosemu/drive_c/z80em86/support/*.*~
|
||||
|
||||
dosemu -dumb "cd z80em86|z80em86 scripts\make_dr.sub"
|
||||
|
||||
if (test ! -d $FLOPPY_DIR); then
|
||||
mkdir floppy
|
||||
fi
|
||||
|
||||
# make a raw disk image of the floppy assuming 1.44MB HD type
|
||||
echo "Creating raw disk image from floppy disk"
|
||||
dd if=/dev/fd0 of=$FLOPPY_DIR/cpm3_dr_floppy.img bs=1k count=1440
|
||||
Reference in New Issue
Block a user