I have just yesterday recived my serial cable for my DC, so now I intend to start programming. I have set everything up on my mandrake PC except for dc-tool.
I can't get the boot loader to burn onto a CD-R for the DC. I have got a CD with the first session of 4 seconds of silence. I have downloaded the tool from here and have tried to follow the instructions on how to burn the cd but they are generic and I dont know what to do with the one file inside the archive, IP.BIN.
I have also tried to use the NERO image of the disc that I have found on the net using my Win 98 PC, but EVERY TIME it fails and I end up wasting a CD-R. I have wasted about 5 now, so I REALLY need help.
What do I do with this IP.BIN and how do I get it on the CD?
Thanks
Rich
Problems with dc-tool serial
-
- DCEmu Cool Newbie
- Posts: 11
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Mon Jan 12, 2004 4:26 pm
- Location: Bournemouth
- Has thanked: 0
- Been thanked: 0
- greay
- DCEmu Ultra Poster
- Posts: 1938
- Joined: Wed Jan 21, 2004 10:59 am
- Location: 24 hours from Tulsa
- Has thanked: 0
- Been thanked: 0
- Contact:
Ahh, you've got the DC Serial Slave - that's not what you want. You want dcload for dc-tool. (it comes with dc-tool) Go here. If I recall, getting it set up should be pretty straightforward.
BTW, I had trouble with the serial slave, too. What's going on is that the whole program is contained in the IP.BIN, so you don't need the rest. To burn it to CD, you basically follow the regular method, but you can use anything you want as the "1ST_READ.BIN" - I used the README that came with it.
BTW, I had trouble with the serial slave, too. What's going on is that the whole program is contained in the IP.BIN, so you don't need the rest. To burn it to CD, you basically follow the regular method, but you can use anything you want as the "1ST_READ.BIN" - I used the README that came with it.
I'm a lone wolf looking for trouble.
-
- DCEmu Cool Newbie
- Posts: 11
- Joined: Mon Jan 12, 2004 4:26 pm
- Location: Bournemouth
- Has thanked: 0
- Been thanked: 0
- greay
- DCEmu Ultra Poster
- Posts: 1938
- Joined: Wed Jan 21, 2004 10:59 am
- Location: 24 hours from Tulsa
- Has thanked: 0
- Been thanked: 0
- Contact:
Code: Select all
sh-elf-objcopy -O binary -R .stack foo.elf foo.BIN
scramble foo.BIN 1ST_READ.BIN
dd if=/dev/zero bs=2352 count=300 of=audio.raw
cdrecord dev=somedevice -multi -audio audio.raw
# this command returns the x,y for the following mkisofs
SESSION="`cdrecord dev= somedevice -msinfo`"
mkisofs -l -C $SESSION -o tmp.iso 1ST_READ.BIN
(cat $IP ; dd if=tmp.iso bs=2048 skip=16) > data.raw
cdrecord dev= somedevice -multi -xa1 data.raw
It's hard to guess where things are going wrong... Make sure you're making the binary correctly, and scrambling it... Make sure you have the right #s for the session data...
Which version of binutils do you have? If it's a more recent version, you have to add -R .stack to the arguments for objcopy.
Good luck!
I'm a lone wolf looking for trouble.