Goodday everyone,

With the ancient CDRTOOLS/CDRECORD binaries (version 2.01 for DOS/DJGPP, 
no DVD support/code) from a russian website I'm trying to compile a more 
recent version so I can write to DVD as well. My successes using the 
source, Windows XP Home (Dutch, 32bit) and SMAKE + DJGPP are limited to:

- can compile the 2.01-bootcd.ru sources, ending up with COFF .exe file 
requiring CWSDPMI.EXE as a separate program
- can compile the official 2.01 sources, ending up with COFF .exe file 
requiring CWSDPMI.EXE as a separate program
- can compile the 2.01.01a11 sources, ending up with COFF .exe file 
requiring CWSDPMI.EXE as a separate program

My issues are the following:
- which djdev version to get? 2.03 or 2.04? been using 2.04
- which gcc family to get? 3.xx or 4.xx? been using 4.xx
- which binaries to get (those closest to readme.msdos file listing, or 
the very latest? DJGPP ftp site is confusing as well) been using very 
latest.
- cannot compile anything later than 2.01.01a11 (very latest is 
2.01.01a38). Either makefile broke or something else?
- no idea how to speciy i386 (dos/djgpp) as target for maximum 
compatibility. Currently ending up with "pc-i786-ms-dos-djgpp"
- ending up with COFF .exe file requiring CWSDPMI.EXE as a separate 
program.
- unable to attach (EXE2COFF CDRECORD.EXE ; COPY /B CWSDSTUB.EXE + 
CDRECORD CDRECORD.EXE) STUB, at least the binary won't load anymore.
- binary's disk size is huge, any way to reduce? using UPX somewhere? at 
which point?

The way I read it should work is correct? 
http://lists.freepascal.org/lists/fpc-pascal/2000-October/000240.html
Been using CWSDSTUB though. Resulting binary seems to choke EMM386 on 
FreeDOS 1.0

<<<< Stubify.bat >>>>
exe2coff %1.exe
upx %1 -f -9 --coff
copy /b /y \pp\bin\go32v2\pmodstub.exe+%1 %1.exe
<<<< End of Stubify.bat >>>>

Testing the binary is easy enough:
1) run it under windows with CDRECORD -SCANBUS
2) run it under FreeDOS 1.0 with CDRECORD -SCANBUS
3) run it under FreeDOS 1.0 with CDRECORD -SCANBUS (after loading ASPI.SYS 
through DEVLOAD ASPI.SYS)

Getting help from the original author might be difficult, but guess I could 
contact him to mention I
can't compile recent/latest versions with a toolchain that (partially) works 
for older releases?

Current result is a working "CDRECORD-CLONE 2.01.01a11 (PC-i786-ms-dos-djgpp)" 
COFF image that is compressed by UPX yet
still needs CWSDPMI to be around. Haven't performed any disk writing test(s) 
yet though.
The ultimate goal is to provide decent CD/DVD writing on (Free)DOS as well as 
allowing to remaster FreeDOS ISO with
updated components (Isolinux, Memdisk, FDBOOT.IMG) and content (FreeDOS 
packages) as well as allowing to change bootmethod
for funny old computers (use direct read-only 1.44MB/2.88MB floppy emulation 
instead of Isolinux's non-emulation method)

Thanks for any help or info,

Bernd

Cdrtools site : ftp://ftp.berlios.de/pub/cdrecord/alpha/
Djgpp mirrorsite : ftp://ftp.fh-koblenz.de/pub/CompilerTools/DJGPP/
Dos CDrecord port : http://bootcd.narod.ru/index_e.htm (ASPI.SYS as well from 
OAK TECH, [lack-of-]license-issue..)
Devload 3.20(RC) : http://www.coli.uni-saarland.de/~eric/stuff/soft/by-others/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to