Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Datalight ROM-DOS floppy image creation (Emulation)

posted by rr Homepage E-mail, Berlin, Germany, 07.12.2020, 23:01

> For those people, I created the following two batch files.
> Batch files rely on my
> X and IMGINIT/IMGCPY
> (part of MTOOLS.ZIP or
> fat-2006-12-03.zip).

I created a much smaller variant using Bart Lagerweij's Build Floppy Image v1.0.

This is also not perfect, because BFI also ignores file attributes present for source files. BFI uses the WinImage SDK from WinImage 6.10. Both are not FLOSS. :-|

> Usage:
> 1) Get and extract suv1594.zip.
> 2) Put X.EXE, IMGINIT.EXE,
> IMGCPY.EXE, MKVFD622.BAT, and

Not IMGINIT.EXE and IMGCPY.EXE, but BFI.EXE.

> MKVFD71.BAT to the same directory.
> 3) Run MKVFD622.BAT and MKVFD71.BAT.
>
> Then you get DLDOS622.VFD and DLDOS71.VFD for use
> in virtual machines.
>
> `MKVFD622.BAT' for ROM-DOS 6.22:

@ECHO OFF
REM ***************************************************************************
REM Get parts.
X.EXE 622\SYS.COM BOOTSECT.512 $2E67 512
X.EXE 622\SYS.COM IBMBIO.512   $3067 512
REM ***************************************************************************
REM Prepare floppy image.
COPY /B IBMBIO.512+622\ROM-DOS.SYS 622\IBMBIO.COM
ECHO ROM-DOS v6.22 (Revision 4.20.1594SU)> 622\IBMDOS.COM
ECHO Copyright (c) 1989-2008 Datalight, Inc.>> 622\IBMDOS.COM
REM FIXME: File attributes are ignored by BFI.
REM ATTRIB +R +A +S +H 622\IBMBIO.COM
REM ATTRIB +R +A +S +H 622\IBMDOS.COM
REM ***************************************************************************
REM Create floppy image.
DEL DLDOS622.VFD
BFI.EXE -o=IBMBIO.COM -oIBMDOS.COM -oCOMMAND.COM -b=BOOTSECT.512 -f=DLDOS622.VFD 622\
REM ***************************************************************************
REM Some cleanup.
DEL BOOTSECT.512
DEL IBMBIO.512
REM FIXME: File attributes are ignored by BFI.
REM ATTRIB -R -A -S -H 622\IBMBIO.COM
REM ATTRIB -R -A -S -H 622\IBMDOS.COM
DEL 622\IBMBIO.COM
DEL 622\IBMDOS.COM


> `MKVFD71.BAT' for ROM-DOS 7.10:

@ECHO OFF
REM ***************************************************************************
REM Get parts.
X.EXE 71\SYS.COM BOOTSECT.512 $2E67 512
X.EXE 71\SYS.COM IBMBIO.512   $3067 512
REM ***************************************************************************
REM Prepare floppy image.
COPY /B IBMBIO.512+71\ROM-DOS.SYS 71\IBMBIO.COM
ECHO ROM-DOS v7.10 (Revision 4.20.1594SU)> 71\IBMDOS.COM
ECHO Copyright (c) 1989-2008 Datalight, Inc.>> 71\IBMDOS.COM
REM FIXME: File attributes are ignored by BFI.
REM ATTRIB +R +A +S +H 71\IBMBIO.COM
REM ATTRIB +R +A +S +H 71\IBMDOS.COM
REM ***************************************************************************
REM Create floppy image.
DEL DLDOS71.VFD
BFI.EXE -o=IBMBIO.COM -oIBMDOS.COM -oCOMMAND.COM -b=BOOTSECT.512 -f=DLDOS71.VFD 71\
REM ***************************************************************************
REM Some cleanup.
DEL BOOTSECT.512
DEL IBMBIO.512
REM FIXME: File attributes are ignored by BFI.
REM ATTRIB -R -A -S -H 71\IBMBIO.COM
REM ATTRIB -R -A -S -H 71\IBMDOS.COM
DEL 71\IBMBIO.COM
DEL 71\IBMDOS.COM

---
Forum admin

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 134 users online (0 registered, 134 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum