""
All times are GMT +2. The time now is 05:08 AM.  

Go Back   PSX/PS2/PS3 Scene Newz > PlayStation2 Forums > PS2 Homebrew/Dev & Emu Scene

PS2 Homebrew/Dev & Emu Scene Topics relating to homebrew PS2 development and emulation.

Reply
 
Thread Tools Display Modes
  #151  
Old 05-13-2008, 05:42 AM
spkleader's Avatar
spkleader spkleader is offline
Registered User
 
Join Date: Jan 2005
Posts: 220
Welp.. here it is
The problem still there ragnarok

save folder was configured OK
but the exit to elf still bugged
this time it returned hdd0:/__boot//bootC.elf <=- exactly like this
Then, I tried to change it to ulaunch.elf... then it was looking ok (hdd0:/__boot/ulaunch/ulaunch.elf) but then, when i told the emulator to exit to elf, it crashed the emulator.
Also, this build couldn't read my roms (again)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #152  
Old 05-13-2008, 11:27 AM
clemsche clemsche is offline
Registered User
 
Join Date: Apr 2008
Posts: 59
@FranktheBunny: Yep, I know the GP2x is ARM based, I just posted the link with the source so maybe in the far away future, someone could put that SDD stuff in the great new emulator that ragnarok is coding...
Still looking forward to the first alphas!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #153  
Old 05-13-2008, 12:12 PM
ragnarok2040 ragnarok2040 is offline
Registered User
 
Join Date: Dec 2002
Posts: 111
Sorry, protomank and everyone, didn't realize I'd need a verified Paypal account just to receive donations, so I denied the donation, which should give you your money back, protomank. I couldn't find a way to actually get verified without a bank account. I tried adding a credit card, which didn't affect anything. They denied me for their credit card, which is weird since I've never had an outstanding debt. And so, I closed the account. I looked at other options but they required even more information than just a bank account like emailing copies of photo ID and utility bills. Fortunately, my brother does have a verified paypal account so I asked him (after waking him up) if I could use it for donations and he said it was alright. I removed the old donate button and put up the new one with a new button image at http://homebrew.thewaffleiron.net/ragnarok2040

Thanks for trying to donate before, though, protomank .

Thanks for the info., spkleader. I think the same problem that was affecting the hdd0:M/ type bug is still affecting the rest of the path where I add a random byte by accident. My pointer math is still fuzzy, it seems. It's probably affecting the savestate names as well. I'll rework the way I do it so I don't increment a byte after the memcpy for setting the null terminator of the string. I'm pretty sure where that extra "/" is coming from... "hdd0:/" "__boot" "/" "/boot" "C.elf". I guess when I fixed that bug with the device string, it caused my other pointers to get offset by one byte.

Edit:
Heh, I removed all the +1's when setting the null terminator and it didn't affect the creation of the strings, so my math had 1 byte of fuzziness per each part of the string :S. I'm not sure how it might relate to browsing for roms, though. Maybe something to do with the partition not being mounted or unmounted correctly, or the pfs# path is being returned wrong (pfs1 where it's mounted to pfs0, for instance). For rebooting an elf, the "pfs" path that's made needs to be valid, so it would crash if it wasn't... I'd also forgotten to increment past the '/' if there was only one, in your case pfs0:/boot.elf would become pfs0: / /boot# .elf# with random characters after /boot# and .elf# resulting in your pfs0://bootC.elf (hdd0:/__boot//bootC.elf). I changed the version number to B955 for build 95.5 which seemed like a good place to start.
Attached Files
File Type: zip packed_fceu.zip (577.5 KB, 806 views)

Last edited by ragnarok2040; 05-13-2008 at 01:53 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #154  
Old 05-15-2008, 07:01 PM
ragnarok2040 ragnarok2040 is offline
Registered User
 
Join Date: Dec 2002
Posts: 111
Hrmm, I think I came across the problem with CNF files when I was adding the feature to snes9x. I forgot to add the extern modifier for the the path to the cnf files, which meant the various functions that used that path variable would each have their own separate definition instead of one unified path. I'll post a new build with the fix in a bit when I'm done with Snes9x .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #155  
Old 05-15-2008, 09:06 PM
slicer74's Avatar
slicer74 slicer74 is offline
Need help ???
 
Join Date: Apr 2005
Location: Somewhere
Posts: 556
Sweeeeeeeet
__________________
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
  #156  
Old 05-15-2008, 11:19 PM
ragnarok2040 ragnarok2040 is offline
Registered User
 
Join Date: Dec 2002
Posts: 111
Ok, here it is. Saving cnf's should work properly now without needing the memory card directory. What was happening before was that the cnf path was set at boot, but then the browser menu wouldn't have that path, but an empty path, which was probably causing weird things to happen.
Attached Files
File Type: zip packed_fceu.zip (577.5 KB, 196 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #157  
Old 05-16-2008, 05:09 AM
zin0099 zin0099 is offline
Registered User
 
Join Date: Apr 2008
Posts: 67
Quote:
Originally Posted by ragnarok2040 View Post
Ok, here it is. Saving cnf's should work properly now without needing the memory card directory. What was happening before was that the cnf path was set at boot, but then the browser menu wouldn't have that path, but an empty path, which was probably causing weird things to happen.
yes or no ragnarok2040 will this emu play nes and snes?

the ps2 is faster in ram 128mbfor ram i beleave psp is slower plus ps2 is better graphic wise
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #158  
Old 05-16-2008, 05:41 AM
snake3 snake3 is offline
Registered User
 
Join Date: Aug 2004
Posts: 130
ragnarok2040 this is a great emu thank you for all of your hard work.

do you plan to add loading roms from a network?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #159  
Old 05-16-2008, 03:58 PM
ragnarok2040 ragnarok2040 is offline
Registered User
 
Join Date: Dec 2002
Posts: 111
No, zin, fceultra is only a nes emulator. For snes emulation, you'd still need snes9x. I have plans in the distant future to make a general purpose emulator launcher from the browser code, but you'd still need the separate emulators. The ps2 only has 32MB of ram while the psp has 36MB, as well. The psp could be considered faster than the PS2 if you consider the main processors by themselves. I plan on utilizing the IOP in the future at some point though.

snake3, do you mean via ps2client? I don't know much about networking so I don't think I could implement something like samba support, but "host:" support should be simple enough.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #160  
Old 05-16-2008, 05:52 PM
snake3 snake3 is offline
Registered User
 
Join Date: Aug 2004
Posts: 130
yes i meant with host
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #161  
Old 05-16-2008, 07:00 PM
zin0099 zin0099 is offline
Registered User
 
Join Date: Apr 2008
Posts: 67
Quote:
Originally Posted by ragnarok2040 View Post
No, zin, fceultra is only a nes emulator. For snes emulation, you'd still need snes9x. I have plans in the distant future to make a general purpose emulator launcher from the browser code, but you'd still need the separate emulators. The ps2 only has 32MB of ram while the psp has 36MB, as well. The psp could be considered faster than the PS2 if you consider the main processors by themselves. I plan on utilizing the IOP in the future at some point though.

snake3, do you mean via ps2client? I don't know much about networking so I don't think I could implement something like samba support, but "host:" support should be simple enough.
i'm sorry had to look up wiki to see ps2 has 32mb memory but has 128bit graphics oops! and thanks for clearing things up about nes and super nes being seperate emus i still think star ocean would be playable on ps2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #162  
Old 05-16-2008, 07:44 PM
protomank protomank is offline
Registered User
 
Join Date: Mar 2008
Location: Porto Alegre, RS, Brazil
Posts: 33
Question

Quote:
Originally Posted by ragnarok2040 View Post
I plan on utilizing the IOP in the future at some point though.
You mean something like giving the PSX I/O processor small tasks like reading joystick input, for example, in a way to accelerate emulation?

If so, brilliant idea
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #163  
Old 05-16-2008, 08:01 PM
ragnarok2040 ragnarok2040 is offline
Registered User
 
Join Date: Dec 2002
Posts: 111
Yeah, FCEUltra doesn't need much to push it to fullspeed. I think doing the sound code on the IOP alone might do it, but now that you mention it, I could do the input during emulation solely on the IOP, as well, if doing the audio alone isn't enough. That way all the if(button is pressed) statements don't take up any processing time on the EE.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #164  
Old 05-19-2008, 07:33 AM
spkleader's Avatar
spkleader spkleader is offline
Registered User
 
Join Date: Jan 2005
Posts: 220
ragnarok2040: sorry for the delay... but I finally got back to it.
I just tried the latest version and it worked as it should.
The only "bug" left it's with the save/load path. I setup it to my hdd folder
(hdd0:/__boot/NES). It acepted. I loaded a rom (gradius.nes) and tried to save. BOOM!
"error saving on slot 0" message.
Oh, also deleted the folder FCUMM from mc so all the tests were done without that folder.
Maybe you forgot to initialize hdd before saving the file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #165  
Old 05-19-2008, 10:50 AM
clemsche clemsche is offline
Registered User
 
Join Date: Apr 2008
Posts: 59
Hi ragnarok, great emulator you've made, I really like it! I just have only little requet: Would it possible to put a n option in, which turns the HDD of or doesn't boot it u at the beginning? Mine is a little loud and needs some time to start...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #166  
Old 05-19-2008, 03:32 PM
slicer74's Avatar
slicer74 slicer74 is offline
Need help ???
 
Join Date: Apr 2005
Location: Somewhere
Posts: 556
What the two new functions does ?

The one than can be added to the controller config !

If there's on MC inserted, where the save state gonna be save ?

Thanks again.
__________________
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
  #167  
Old 05-20-2008, 09:08 PM
spkleader's Avatar
spkleader spkleader is offline
Registered User
 
Join Date: Jan 2005
Posts: 220
slicer74: now with the new mc exploit, WHO will boot a ps2 without a mc?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #168  
Old 05-20-2008, 10:26 PM
ragnarok2040 ragnarok2040 is offline
Registered User
 
Join Date: Dec 2002
Posts: 111
slicer74, everything FCEUltra saves or uses, resides in the configurable savepath, that includes savestates, sram saves, gg.rom, disksys.rom, etc. The CNF files on the other hand load and save from hdd0:/+FCEUMM/ or mass:/FCEUMM/ or mc0:/FCEUMM.

clemsche, I guess I can add an option for that.

spkleader, I'll take another look at the code. I'm not sure what the problem could be now, though. If you can use ps2client/ps2link, the path should be printed to the console whenever you save the savestate. Perhaps it's still getting mangled somehow, or there's some usage scenario I've overlooked.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #169  
Old 05-20-2008, 10:47 PM
slicer74's Avatar
slicer74 slicer74 is offline
Need help ???
 
Join Date: Apr 2005
Location: Somewhere
Posts: 556
what is sram saves ?
__________________
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
  #170  
Old 05-20-2008, 11:14 PM
spkleader's Avatar
spkleader spkleader is offline
Registered User
 
Join Date: Jan 2005
Posts: 220
slicer74: some original cartridges has a battery and sram to save the game progress. Mostly RPGs.
Digg this Post!Add Post to del.icio.us