dc-tool-ip 1.0.4

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
LyingWake
DCEmu Super Poster
DCEmu Super Poster
Posts: 1342
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Thu Aug 26, 2004 4:05 am
Has thanked: 0
Been thanked: 0
Contact:

dc-tool-ip 1.0.4

Post by LyingWake »

Can someone direct me to a link to this version of DC-Tool IP please?
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5663
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

LyingWake
DCEmu Super Poster
DCEmu Super Poster
Posts: 1342
Joined: Thu Aug 26, 2004 4:05 am
Has thanked: 0
Been thanked: 0
Contact:

Post by LyingWake »

I need DC-Tool not DC-Load.
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5663
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

The dcload source package contains the entirety of the source to both dcload and dc-tool. Just compile and run :)

I don't think there are any precompiled sets of dc-tool, if that's what you were asking for.
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Post by GPF »

iv compiled a cvs build of dctool and dcload as of todays 11/17/2005 with gcc 3.0.4 since thats the last version that iv seen that has libbfd installed
Now i need some testers :)
These were build under cygwin both serial and bba versions.
http://gpf.dcemu.co.uk/files/dcloadip104.rar
http://gpf.dcemu.co.uk/files/dcloadserial104.rar

both rars contain the dc-tool exe for cygwin under windows and the ip.bin and 1st_read.bin for dcload for both versions.

Here is a couple of dcload cdi image that havnt been tested yet, so beware of a coaster

http://gpf.dcemu.co.uk/files/dcloadip104cdi.rar
http://gpf.dcemu.co.uk/files/dcloadserial104cdi.rar

thanks,
Troy(GPF)

also here is the source i built if anyone wants it, http://gpf.dcemu.co.uk/files/dcload104src.rar
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Post by GPF »

never mind the cdi images, i tried the dcload-ip one and it just reboots my dreamcast, but this version of dc-tool-ip works with .elf files

Could someone build me a working image of dcload-ip please?
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Post by GPF »

Here is a link to cygwin compiled sh-elf version of gdb.
http://gpf.dcemu.co.uk/files/gdb63DC.rar
User avatar
bucanero
DC Developer
DC Developer
Posts: 120
Joined: Sat Apr 05, 2003 4:58 pm
Location: Rapture
Has thanked: 1 time
Been thanked: 2 times
Contact:

Post by bucanero »

if you want to easily build a selfboot image with any homebrew follow these steps:

MKISOFS -V CD_LABEL -l -o data.iso your_dir

(be sure to have IP.BIN and scrambled 1ST_READ.BIN in "your_dir")

then just use: BIN2BOOT data.iso /nohack

burn the .cdi and enjoy! :)
Image
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Post by GPF »

Sizious made some images for me , Im using the .cdi image.

http://sbibuilder.free.fr/files/dev/dctool/

Lyingawake figured out my problem was. The 1st_read.bin was unscrambled (duh) :)

so now i can do gdb over my bba :)

here is some instructions
http://sourceforge.net/mailarchive/mess ... d=10605634
Smurph
DCEmu Super Poster
DCEmu Super Poster
Posts: 1337
Joined: Mon Mar 28, 2005 10:26 am
Has thanked: 0
Been thanked: 0

Post by Smurph »

ARP is used with this compile, right?
Image
Smurph
DCEmu Super Poster
DCEmu Super Poster
Posts: 1337
Joined: Mon Mar 28, 2005 10:26 am
Has thanked: 0
Been thanked: 0

Post by Smurph »

I made an SBI, if anyone wants it.
Image
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Post by GPF »

nope i hardcoded it to 192.168.2.4 since thats what id always arp it to.
Strapping Scherzo
DC Developer
DC Developer
Posts: 2285
Joined: Fri Feb 21, 2003 7:37 am
Location: Chicago, IL
Has thanked: 0
Been thanked: 1 time
Contact:

Post by Strapping Scherzo »

A little bump here...

So has anyone successfully done source-level debugging with the new versions of these tools yet? Perhaps even with an IDE like Dev-C++ or similar?
Image
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Post by GPF »

yes I have used sh-elf-gdb.exe and insite debugger which is a windows gui frontend.

Troy(GPF)
LyingWake
DCEmu Super Poster
DCEmu Super Poster
Posts: 1342
Joined: Thu Aug 26, 2004 4:05 am
Has thanked: 0
Been thanked: 0
Contact:

Post by LyingWake »

Has anyone had any problems with (or has tried) dctool-Serial 1.0.4? Each time I run it with parameters other than -x (-t and -b) it just sits at "Console Enabled".

Before, I was getting "invalid option --g" when trying to use the GDB server switch, but it turns out dctool wanted -g to be the first parameter (happened in both IP and Serial). I tried putting -x in the begining, but it still sits at "Console Enabled". It appears that dctool-IP works just fine though. :?

EDIT: Here's an error that seems to happen with dctool-IP and not dctool-Serial. It appears to do with uploading an ELF file since the error doesn't happen with BIN files.

Image

It dropped a stackdump file and contains this:

Code: Select all

Exception: STATUS_ACCESS_VIOLATION at eip=610C5A41
eax=00000000 ebx=FFFFFFFF ecx=FFFFFFFF edx=445C3A43 esi=00000000 edi=445C3A43
ebp=0022D198 esp=0022D194 program=dctool-ip.exe, pid 3616, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022D198  610C5A41  (445C3A43, 0022D73E, 00460484, 00000001)
0022EDB8  610C89BC  (0022F144, 610E3038, 00460475, 0022EE08)
0022EDD8  610CB9C8  (610E3038, 00460475, 0022EE04, 00004000)
0022EDF8  610D4CA5  (00460475, 445C3A43, 0022EE28, 610CB9C8)
0022EE48  610844FF  (006C1498, 8C010000, 004606D8, 7C802608)
0022EE98  00402479  (00000006, 006C0EC8, 006C0090, FFFFFFFF)
0022EFD8  61004DD2  (0022EFF0, FFFFFFFF, 003425A8, 0022F020)
0022FF88  6100594F  (00000000, 00000000, 00000000, 00000000)
End of stack trace
User avatar
SiZiOUS
DC Developer
DC Developer
Posts: 404
Joined: Fri Mar 05, 2004 2:22 pm
Location: France
Has thanked: 27 times
Been thanked: 19 times
Contact:

Post by SiZiOUS »

I've got the same error, the v1.0.4's very buggy or it's my fault.

GPF, what's your windows frontend for GDB ? it's a "look and feel" DDD (for unix ?) but on win32 ? It works with DevCpp / Code::Blocks ? I'm just curious. :)
LyingWake
DCEmu Super Poster
DCEmu Super Poster
Posts: 1342
Joined: Thu Aug 26, 2004 4:05 am
Has thanked: 0
Been thanked: 0
Contact:

Post by LyingWake »

SiZiOUS wrote:GPF, what's your windows frontend for GDB ? it's a "look and feel" DDD (for unix ?) but on win32 ? It works with DevCpp / Code::Blocks ? I'm just curious.
This seems to be what he's using (Insight, not Insite).
http://sourceware.org/insight/index.php

There's a little note for Cygwin users, though, I don't know if it still stands for the current version of Insight. Maybe GPF can shed a little light for those that wanna use it.
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Post by GPF »

i have no way of testing the serial version, I could have destroyed something just trying to get it compile :(

I usually use the commandline version of gdb. Iv compiled DDD but it just uses the sh-elf-gdb commandline tool, Iv compiled it for cygwin but its requires xwin stuff to be installed in cygwin and its difficult to get working if your not familiar with xwin stuff.

Someone else compiled insite for me, im not sure if its just using the sh-elf-gdb also, or if you have to configure it for a sh-elf.

I havent had any problems with the dc-tool-ip version with elf files yet though.

Troy(GPF)
User avatar
GyroVorbis
Elysian Shadows Developer
Elysian Shadows Developer
Posts: 1874
Joined: Mon Mar 22, 2004 4:55 pm
Location: #%^&*!!!11one Super Sonic
Has thanked: 80 times
Been thanked: 64 times
Contact:

Post by GyroVorbis »

GPF wrote:i have no way of testing the serial version, I could have destroyed something just trying to get it compile :(
If your build is the one included with the 2nd release of LyingWake's Dev Environment, I'll let you know how it is.
LyingWake
DCEmu Super Poster
DCEmu Super Poster
Posts: 1342
Joined: Thu Aug 26, 2004 4:05 am
Has thanked: 0
Been thanked: 0
Contact:

Post by LyingWake »

GPF wrote:I havent had any problems with the dc-tool-ip version with elf files yet though.
The adventure program you sent me on IRC with GDB support is the one that's crashing dctool-IP. It doesn't crash dctool-Serial (I tested dctool-Serial by using only the -x switch with the ELF).

I also tried using the dumb terminal switch for dctool-Serial and also the no console switch, but they didn't help much. Basically the same freeze problem.
Post Reply