Op 17-5-2011 20:41, Alain Mouette schreef:
> Well, so it is a BIOS bug, and that is the end of research in this
> direction...
>
> Either syslinux (that seems to be better but for which I need help) or
> RDISK+SUBST (that I know, but may be a bit clumsy)

ok, made a very basic ISO generation batchfile, as DOS ports of MKISOFS 
(or GENISOIMAGE) exist, whatever floats your boat :)
Hopefully you can see the directory structure from it, as well as how to 
call MKISOFS (both your and my method)
Not going to post isolinux.cfg here, can be a pretty long textfile. I'll 
test if the ISOs work sometime tomorrow.

Bernd


@echo off
if "%1"=="" goto help
goto verify
:verify
for %%x in ( %1 %1\CONTENTS %1\CONTENTS\ISOLINUX ) do if not exist 
%%x\NUL MD %%x
if exist %1\CONTENTS\ISOLINUX\NUL goto filecopy
echo Failed to create directory structure at %1
goto end

:filecopy
for %%x in ( isolinux.bin isolinux.cfg memdisk fdboot.img ) do if not 
exist %1\CONTENTS\ISOLINUX\%%x copy A:\%%x %1\CONTENTS\ISOLINUX\%%x
if not exist %1\CONTENTS\ISOLINUX\FREEDOS.IMG a:\diskcopy A: 
%1\CONTENTS\ISOLINUX\FREEDOS.IMG /o /x /d
goto branch

:branch
CDD %1
for %%x in ( *.iso ) do del %%x
if "%2"=="" goto direct
goto isolinux

:direct
echo Creating bootable ISO9660 image, using 1.44MB Floppy Emulation mode
a:\mkisofs -b isolinux/freedos.img -o %1\cd1.iso contents
goto succes

:isolinux
echo Creating bootable ISO9660 image, using Syslinux and 360KB image file
a:\mkisofs -no-emul-boot -b isolinux/isolinux.bin -o c%1\cd1.iso contents
goto succes

:succes
echo Bootable ISO9660 file created succesfully as %1\CD1.ISO
CDD -
goto end

:help
echo Please run this file as follows:
echo.
echo %0 [directory] [isolinux]
echo.
echo Where directory is any new or existing directory on harddisk or 
ramdisk.
echo example #1 : %0 C:\CDTEST           (uses floppy emulation for BootCD)
echo example #2 : %0 C:\CDTEST ISOLINUX  (creating no-emulation for BootCD)
echo.
goto end

:end


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to