I have a trusty old CDR containing dcload-ip-1.0.3 which I snagged from a the internets in years past in the form of a Nero image. I believe I have the HIT-0300 "LAN" adapter (though I paid for the HIT-400, thanks ebay!) and never had luck running dcload-ip-1.0.4.
These days, I'm trying to install the entire Dreamcast tool suite from source and actually have everything working in Cygwin, except I haven't burnt a CD yet. I'd like to burn dcload-ip to cement my understanding of it.
I've modified the Makefile in the "make-cd" directory of dcload-ip, switching the "-xa1" argument to cdrecord to "-xa" since cdrecord in Cygwin is actually wodim which uses -xa for 2048 bytes per sector. I also set the recording speed to argument of cdrecord to 4 (1 made discs completely unrecognizable and the DC went to the CD player screen).
Now I'm at the point where the Dreamcast seems to recognize the CD, as I see the "licensed by Sega" screen along with the Napalm-x logo from ip.bin. However, it simply hangs there forever.
My CD drive is fairly new (uses SATA connectors) so that might also be a factor.
Here's the output from the commands I'm running. Any suggestions would be appreciated.
First, I re-ran the make file in target-src/1st_read in case this was important. I remember years back having issues because the lib order to the linker was wrong:
Code: Select all
$ cd ~/dreamcast/dcload-ip/target-src/1st_read
$ make
sh-elf-gcc -O2 -ml -m4-single-only -DDCLOAD_VERSION=\"1.0.4\" -I../../target-inc -o crt0.o -c crt0.S
sh-elf-gcc -O2 -ml -m4-single-only -DDCLOAD_VERSION=\"1.0.4\" -I../../target-inc -o 1st_read.o -c 1st_read.c
sh-elf-gcc -O2 -ml -m4-single-only -DDCLOAD_VERSION=\"1.0.4\" -I../../target-inc -o disable.o -c disable.s
sh-elf-gcc -O2 -ml -m4-single-only -DDCLOAD_VERSION=\"1.0.4\" -I../../target-inc -o memcpy.o -c memcpy.S
cp ../dcload/dcload.bin dcload.bin
sh-elf-ld -A sh -b binary --oformat elf32-shl dcload.bin -o dcload.o -r -EL --no-warn-mismatch
cp ../dcload/exception.bin exception.bin
sh-elf-ld -A sh -b binary --oformat elf32-shl exception.bin -o exception.o -r -EL --no-warn-mismatch
sh-elf-gcc -O2 -ml -m4-single-only -DDCLOAD_VERSION=\"1.0.4\" -Wl,-Tdc4.x -nostartfiles -nostdlib crt0.o 1st_read.o disable.o memcpy.o dcload.o exception.o -o 1st_read -lgcc
sh-elf-objcopy -O binary 1st_read 1st_read.bin
sh-elf-objcopy -O srec 1st_read 1st_read.srec
Code: Select all
$ make
dd if=/dev/zero of=audio.raw bs=2352 count=300
300+0 records in
300+0 records out
705600 bytes (706 kB) copied, 0.00227759 s, 310 MB/s
cdrecord dev=0,0,0 speed=4 -multi -audio audio.raw
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'ASUS '
Identification : 'DRW-24B3ST c '
Revision : '1.01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Speed set to 2823 KB/s
Starting to write CD/DVD at speed 16.0 in real TAO mode for multi session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Track 01: Total bytes read/written: 705600/705600 (300 sectors).
touch burn-audio
scramble ../target-src/1st_read/1st_read.bin 1st_read.bin
mkisofs -C `cdrecord dev=0,0,0 speed=4 -msinfo` -o tmp.iso 1st_read.bin
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Warning: -C specified without -M: old session data will not be merged.
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 116
Path table size(bytes): 10
Max brk space used 20000
11888 extents written (23 MB)
( cat IP.BIN ; dd if=tmp.iso bs=2048 skip=16 ) > data.raw
170+0 records in
170+0 records out
348160 bytes (348 kB) copied, 0.00103386 s, 337 MB/s
cdrecord dev=0,0,0 speed=4 -xa data.raw
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'ASUS '
Identification : 'DRW-24B3ST c '
Revision : '1.01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Speed set to 2823 KB/s
Starting to write CD/DVD at speed 16.0 in real TAO mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Track 02: Total bytes read/written: 380928/614400 (300 sectors).
rm -f audio.raw data.raw burn-audio