""
All times are GMT +2. The time now is 09:40 PM.  

Go Back   PSX/PS2/PS3 Scene Newz > PlayStation2 Forums > PS2 HDD Discussion > IDE HDD Discussion

IDE HDD Discussion talk here about the use of the IDE HDD Interface and hdloader related discussion.

Reply
 
Thread Tools Display Modes
  #26  
Old 10-06-2008, 03:00 AM
JoeUser38 JoeUser38 is offline
Registered User
 
Join Date: Jun 2008
Posts: 84
Quote:
Originally Posted by suloku View Post
Afaik there never was a server for 0.8.6, the source I used is from 0.8.5.

And yes, it's also slower for me... the pad modules may consume memory which make the transfers slower maybe?

I need to try compiling the unmodified server and see if the problem is because compiling.

propered@:

Yes, they are defined in a header file externally to the server, I haven't checked if it's included. They are alias for some hex values corresponding to a 4 letter name (poweroff is "powx")
More likely it's consuming more CPU time checking for the buttons?
__________________
To err is human. To really foul up requires a computer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27  
Old 10-06-2008, 11:21 AM
JoeUser38 JoeUser38 is offline
Registered User
 
Join Date: Jun 2008
Posts: 84
Question

Could someone please test this source?


I don't have a dev system for a PS2 (I've actually never done any programming for the PS2), but I THINK I managed to add a "reboot" command to hdl_dump. Could someone please extract the attached archive over the u8.6 source that suloku posted and recompile both hdl_dump.exe and hdld_svr.elf, and test it for me? I figured it might be easier just including the few files changed instead of trying to make a diff out of it (I wasn't sure what people had available for handling diff files).

Assuming I didn't miss anything and it compiles, the command is used just like the "poweroff" command, as in:
hdl_dump reboot 192.168.1.210
(substitute the appropriate IP address for your PS2, of course)
Oh, just as in the "poweroff", it does a flush before the reboot (most of it was copy/paste from the power off routines).
Attached Files
File Type: rar hdl_dumx_u0.8.6-20081006_src (copy over 20080918).rar (17.0 KB, 33 views)
__________________
To err is human. To really foul up requires a computer.

Last edited by JoeUser38; 10-06-2008 at 12:02 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28  
Old 10-08-2008, 12:16 AM
suloku suloku is offline
Undead WU
 
Join Date: Apr 2005
Posts: 469
There's something wrong at client's side (for now). It crashes when calling the reboot command. I'll take a look (if I have time, I'm busy these days) but most probably I won't be able to find anything.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29  
Old 10-08-2008, 12:38 AM
slicer74's Avatar
slicer74 slicer74 is offline
Need help ???
 
Join Date: Apr 2005
Location: Somewhere
Posts: 616
Another good job here.
__________________
My Web Page
PS2 V7 Network Adaptar
HDD Seagate 160 Go
Noobs Pit Stop
Free MCBoot
48 mb Virtual MC for my HDD games
My stuffs
PS2 HDD Game list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30  
Old 10-08-2008, 01:00 AM
suloku suloku is offline
Undead WU
 
Join Date: Apr 2005
Posts: 469
I "fixed" the client problems.

hio_dbg.c, hio_trace.c, hio_udpnet.c and hio_win32.c lacked some modifications.

What remains failing is server side. I tested using the init_shutdown(state) function for CMD_HIO_REBOOT, and it works, but it won't for init_reboot(state).

Currently server crashes (can't comunicate with client, neither reads pad input). I tried directly calling the reboot function ule uses (posted previously by Dlanor) but it gives the same behaviour. Maybe the function can't be called directly by an irx module?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #31  
Old 10-08-2008, 08:25 AM
JoeUser38 JoeUser38 is offline
Registered User
 
Join Date: Jun 2008
Posts: 84
Quote:
Originally Posted by suloku View Post
I "fixed" the client problems.

hio_dbg.c, hio_trace.c, hio_udpnet.c and hio_win32.c lacked some modifications.

What remains failing is server side. I tested using the init_shutdown(state) function for CMD_HIO_REBOOT, and it works, but it won't for init_reboot(state).

Currently server crashes (can't comunicate with client, neither reads pad input). I tried directly calling the reboot function ule uses (posted previously by Dlanor) but it gives the same behaviour. Maybe the function can't be called directly by an irx module?
Ah, I see what I missed in those files. Makes perfect sense, especially in hio_udpnet.c, as it's the one that actually sends the commands to the server.

Question... is there a working toolchain for Windows Vista 64-bit? If so, which one, and how would I go about building it (unless there is one pre-built?). A link would be much appreciated. It'd be much easier to fix this if I had a working dev system here, and I'm finding I rather miss programming.

Also, I noticed there are #ifdefs to check if you are using Visual C... would it be worth it to re-install VS, or just go gcc for all of it?
__________________
To err is human. To really foul up requires a computer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #32  
Old 10-08-2008, 09:53 AM
suloku suloku is offline
Undead WU
 
Join Date: Apr 2005
Posts: 469
Here's how to build it with mingw:

http://lukasz.dk/

I have a link somewhere with a precompiled mingw sdk which I think is up to date. I stored it to check it sometime but I just don't have the time
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #33  
Old 10-09-2008, 10:04 AM
JoeUser38 JoeUser38 is offline
Registered User
 
Join Date: Jun 2008
Posts: 84
Quote:
Originally Posted by suloku View Post
Here's how to build it with mingw:

http://lukasz.dk/

I have a link somewhere with a precompiled mingw sdk which I think is up to date. I stored it to check it sometime but I just don't have the time
I found building the toolchain for Vista 64bit to be a real pain, so I am now installing Gentoo under VMWare.
__________________
To err is human. To really foul up requires a computer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #34  
Old 10-09-2008, 09:42 PM
propered propered is offline
Registered User
 
Join Date: Nov 2004
Posts: 156
thanks for the response...good wishes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT +2. The time now is 09:40 PM.