Testing Homebrew on Emulator

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
brucesinner
Posts: 1
Joined: Tue May 03, 2005 5:53 am

Testing Homebrew on Emulator

Post by brucesinner »

Is it possible to test any homebrew app in PCSX2 emulator ?

or in another emulator ?

i don't have a ps2 but i want to begin coding for it and testing in emulators for now.

thanks for any clue.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Testing in an emulator is a VERY poor substitute for testing in the real thing. Remember that emulators generally only emulate just enough to get games to play. You could totally miss an issue that prevents it from working on a real machine, like the timing.

PCSX2 is also way too preliminary to be useful for real testing.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

i would agree. its not good for development. i use it myself just to see that the elf file compile proprely, but its really slow, laggy, and has problems with 3d objects. it acts as if there was a light enable but no depth, which causes to see through an object. if your serious about dev then get a ps2(dont get the v12(psTwo slim)). but just to see if the code works, its fine for now. you will need the bios. to boot run the file tho. but your on your own on that one.
There are 10 types of people in the world: Those who understand binary, and those who don't...
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

Post by rinco »

what's wrong with the v12?

If it wasn't for the v12, I'd be in some mini-itx forum right now.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

rinco:

I was told that the v12 doesnt work well with homebrew
There are 10 types of people in the world: Those who understand binary, and those who don't...
User avatar
Neil Stevens
Posts: 79
Joined: Thu Jan 27, 2005 2:22 pm
Location: California
Contact:

Post by Neil Stevens »

There's nothing non-serious about the new playstations in terms of development. In fact, it comes with the most important thing for development: the network interface.

The only things you can't do with it is install a hard disk or boot your own code without modification. So, if you're big on an unmodified console, go dig up an old playstation 2. If you don't care about that, feel free to get the tiny, pretty new one.
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

Post by rinco »

i run homebrew off an 80 gig hard drive plugged into my unmodified v12
(using the sony linux disc).

and from what I read, the swap technique is easier with the v12.
User avatar
Neil Stevens
Posts: 79
Joined: Thu Jan 27, 2005 2:22 pm
Location: California
Contact:

Post by Neil Stevens »

rinco wrote:i run homebrew off an 80 gig hard drive plugged into my unmodified v12
(using the sony linux disc).

and from what I read, the swap technique is easier with the v12.
Good to know. I've never been aware of the linux-based boot techniques.
606u
Posts: 33
Joined: Tue Jun 29, 2004 3:06 am
Contact:

Post by 606u »

I use pcsx2-0.7-dev for testing purposes and so far I'm happy with it. It saves me a lot of power-offs and power-ons and the waiting for ps2link to boot up. After all, 2D is working pretty well. Right now the speed is not an issue for me, however I found out few things that does work on the emulator, but does not on the real thing, such as unaligned numbers.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

606u wrote:I use pcsx2-0.7-dev for testing purposes and so far I'm happy with it. It saves me a lot of power-offs and power-ons and the waiting for ps2link to boot up. After all, 2D is working pretty well. Right now the speed is not an issue for me, however I found out few things that does work on the emulator, but does not on the real thing, such as unaligned numbers.
why dont you guys just create 2 mains thats runs on both windows/linux and one on the ps2. thats what i do, saves even more time.
There are 10 types of people in the world: Those who understand binary, and those who don't...
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

Post by rinco »

thanda, that's the worst advice you've given so far
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

rinco wrote:thanda, that's the worst advice you've given so far
how is that bad advice. it works, you dont of course include this in both your projects. but heh, i guess we all have our own methods.
There are 10 types of people in the world: Those who understand binary, and those who don't...
pixel
Posts: 791
Joined: Fri Jan 30, 2004 11:43 pm

Post by pixel »

The purpose of "testing within pcsx2" is to "test the ps2 part of the software". Compiling it for pc straight and test it on pc won't help in any single bit about the ps2 part of it....
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

to: pixel who said anything about compiling on the pc. i compile on linux, if succesfull i compile code on the pc. but come to think about it, its not really saving much more time if your doing the direct connect to the pc. but as this guy mention he doesnt have a ps2. so the output is better my method. but still hasselsome. anyway the best suggest i guess is buy a ps2.
There are 10 types of people in the world: Those who understand binary, and those who don't...
pixel
Posts: 791
Joined: Fri Jan 30, 2004 11:43 pm

Post by pixel »

I just hope you mean "compiling on the ps2 linux kit"....
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

pixel: ps2 linux kit? no, i dont compile on the ps2 linux. i compile on the ps2sdk from my pc. isnt the ps2linux the official non commercial dev kit from sony. when i said compiling on linux i mean compling on my pc(linux), using the ps2toolchain and ps2sdk from oopo sites.
There are 10 types of people in the world: Those who understand binary, and those who don't...
pixel
Posts: 791
Joined: Fri Jan 30, 2004 11:43 pm

Post by pixel »

Thanhda wrote:who said anything about compiling on the pc. i compile on linux, if succesfull i compile code on the pc
Thanhda wrote:when i said compiling on linux i mean compling on my pc(linux)
You are not making any sense, and saying contradictory things from one post to another.....
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

pixel wrote:
Thanhda wrote:who said anything about compiling on the pc. i compile on linux, if succesfull i compile code on the pc
Thanhda wrote:when i said compiling on linux i mean compling on my pc(linux)
You are not making any sense, and saying contradictory things from one post to another.....
arg, sorry, i meant to say, who says i am compiling on windows. not the pc. my pardons to thats. anyway this isnt getting anywhere.
There are 10 types of people in the world: Those who understand binary, and those who don't...
606u
Posts: 33
Joined: Tue Jun 29, 2004 3:06 am
Contact:

Post by 606u »

I agree on "two mains" point. I try do that most of the time, but it depends whether the project does make sense on anything but PS2. However, to have a debugger is a lifesaver :-)
Post Reply