Emuforums.com

Go Back   Emuforums.com > Forum & Emulation News Discussion > Emulation News Submissions
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old July 22nd, 2008   #1 (permalink)
Administrator
 
Chrono Archangel's Avatar
 
Join Date: Dec 2001
Location: Montreal, Canada
Posts: 7,842
Tiny update from JPSX

After the original thread was revived, I tried contacting grahams and luckily he got back to me about his JPSX project. Aniway, here some of what

Quote:
Yes, the emu is alive and well, though I have not had much time to mess with it (been very busy)

I have asked a bunch of friends to help me get a website together, and get it out there. A few people have pinged me online and I have even sent a few the code to see if they can get it running AOK, but most haven't checked back.

It works great... Vista & Java don't play well together with DirectX which slows a few things down, so I want to throw together a Java3D or JOGL display which does the 2d VRAM -> screen blit. This may speed up OS-X which used to be slow too, but I haven't checked in a while.
Quote:
P.S. I really want people to work on this, so I want it out there (I don't even really care about cleaning up some of the uglier code now), I just haven't had much inclination to work on software outside of work :-(

P.P.S. I talked to a buddy about making the website happen, so hopefully things are in moition
I'll let you know if I get more info. At least we know he's not dead
Chrono Archangel is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old July 22nd, 2008   #2 (permalink)
InnarX
 
ready2rumbelX's Avatar
 
Join Date: Jul 2002
Location: Borderline InSAnE
Posts: 2,700
Ahh...great news. I'm quite interested in seeing how this emu works/performs. Cheers for the update.

r2rX
__________________
ready2rumbelX

-Intel Core 2 Quad Q6600 (@3200Mhz)
-Gigabyte 965P-S3 motherboard
-2x2GB G.Skill PC-6400 (DDR2 800Mhz) RAM (4-4-4-12)
-Seagate 320GB (IDE) and Western Digital 500GB (SATA II) H.D
-Sapphire Radeon HD 4870 512MB GDDR 5 (790/4400)
-Windows 7 Ultimate Build 7057 (x64)
-Realtek HD w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N

ready2rumbelX is offline   Reply With Quote
Old July 22nd, 2008   #3 (permalink)
Registered User
 
heatblazer's Avatar
 
Join Date: Jun 2008
Location: Bulgaria
Posts: 614
What is this emulator???
__________________
Kikaioh! GO!
heatblazer is offline   Reply With Quote
Old July 22nd, 2008   #4 (permalink)
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 842
a damn nice PSX emu written in java. you need to ask him when he puts it on SVN/ google Code!!!

Why he wants so badly a own Website? Google Code would work just fine!
Did he answer to you via ngemu or gmail?
Would be suprised if he checked here regulary
__________________
yes i have a mac, so what?
Shin_Gouki is offline   Reply With Quote
Old July 23rd, 2008   #5 (permalink)
graham sanderson
 
Join Date: May 2006
Location: austin
Posts: 20
Hey, graham here. No I don't check here regularly, but since Chrono Archangel's linked in his email, I thought I'd visit.

You're right I don't need to get a website up, I'll check back with google code 'cause it was a bit bare bones when I signed up, and wiki etc. would be useful for doc.

I can put the code up there, but probably need a few people to try it out first so I can make sure there is enough info for people to get started (I don't want people to be unable to get it running, or have it run slow because things aren't set up right)... if you're interested, shoot me a message; I'll send you the code.

I recommend getting a copy of

Wipeout,
Wipeout XL,
Crash Bandicoot
Odd-world Abe's oddyssey
tekken

or similar to play with; i haven't tested with many games... I know Gran Turismo works too, but the engine sounds causes it to run a little slow. (If nothing else you can use an image of an audio CD and play it with the BIOS CD player ;-) )

To answer another question, it runs pretty fast. on a normal dual core intel, I can usually run about 3-4 games simultaneously. (obviously depending on the game).

Note you need the games in CUE/BIN format for now. You can find 'em cheap on eBay for sure if you don't have any.

Also, I'd be interested in having some Linux users try it; I ran it a few years back, but that was before Java had proper thread priorities on Linux, so I had to hack it around a bit. I'll try it on my OS X laptop too.
grahams is offline   Reply With Quote
Old July 23rd, 2008   #6 (permalink)
EmuAddict-_-;;
 
cyclonmaster's Avatar
 
Join Date: Apr 2005
Location: Sarawak, Malaysia
Posts: 2,423
Greeting grahams. I'm glad to hear you still work on this emulator. Good luck in future
__________________

Windows XP SP2 | Monitor BenQ FP 91G+|AMD Athlon 64 3000+(9x239=2.145GHz) | Corsairs 512MB RAM 3-3-3-8 Dual Channel
Albatron 6600GT 128MB PCI-E | Albatron KXT890 ProII | WD SATA 120GB | SONY DVDRW DW-Q30A
cyclonmaster is offline   Reply With Quote
Old July 23rd, 2008   #7 (permalink)
graham sanderson
 
Join Date: May 2006
Location: austin
Posts: 20
i wouldn't say I have been working on it much, which sucks...

hopefully getting it out there and having people use it will motivate me + hopefully others can finish off some of the things I haven't had time to (e.g. memory card support)
grahams is offline   Reply With Quote
Old July 23rd, 2008   #8 (permalink)
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 842
hi grahams!
Do you think the google Code wiki ( thre seems one include) wount work?!
As for the rest i think we can actually get it up i guess! I also think that i can understand your problems with a "not perfect" finished version. But it would _really_ enough to put up the source, belive me there are people on the net that will read it, understand it and extend it.
Problem would be in which direction things go
I assume you use certain patern or architecture approaches for solving specific problems. If you put on the wiki some ideas about the project architecture or specific java technologys you wanted to use , i think again it would work.

I can't wait myself to look at the source ( design of certain parts and usage of the diffrent java APIs)!

if you want to sent me source to try out np.
I run Mac OSX with Eclipse 3.4
At work i work "with" java so i should get it to work
__________________
yes i have a mac, so what?

Last edited by Shin_Gouki; July 23rd, 2008 at 16:23..
Shin_Gouki is offline   Reply With Quote
Old July 29th, 2008   #9 (permalink)
Registered User
 
Join Date: Oct 2002
Location: Alexandria,Egypt
Posts: 115
Quote:
Originally Posted by grahams View Post
it runs pretty fast. on a normal dual core intel, I can usually run about 3-4 games simultaneously. (obviously depending on the game).
That's interesting, this is the first time I hear of a Java program with THAT High performance waiting for more News Soon

Quote:
Originally Posted by grahams View Post
Hey, graham here. No I don't check here regularly, but since Chrono Archangel's linked in his email, I thought I'd visit.
That's something you need to work on !
ngemu is the place to get Motivated to do emus , You will find here all sort of Emu Guys who are interested in Testing & Helping you out, which should motivate you eventually (^_^)
__________________
AMD Athlon64 3200+ Venice 939 @2Ghz
2 GB Ram . .XFX6200 128MB TC 256, PCIE
MSI K8SLI Motherboard , XP SP2
PS2 Test Subjects:
FFX International [SLPS 250.26], Naruto: Ultimate Ninja 1 [SLES_541.63]
GSdx9v10.9,GSdx9v11.4,GSdx0.1.5,GSdx0.1.6,GSdx0.1.7,
GSdx0.1.9,GSdx0.1.11
The Rest Starting From Gsdx9v10 & Gsdxv0.1, are Hosted Here
Try Out @ES -Evolution
serag4000 is offline   Reply With Quote
Old July 29th, 2008   #10 (permalink)
Rockman fan
 
RockmanForte's Avatar
 
Join Date: May 2002
Location: Earth!
Posts: 5,098
Wow, crazy! Good job, man.
__________________
I have:

Wii: Starfall, Neogamma R8 beta 11, and currently on 3.2u
PSP PHAT: 1001k [TA-081] Custom Firmware 5.50 GEN-D2(FULL)

CASE: EagleTech Sidewinder Gaming Tower Case w/420W Power Supply Black
OS: Windows 7 Ultimate 64bit
CPU: Intel core 2 Duo Processor E8400 (2x 3.0GHz/6MB L2 Cache/1333FSB)
Processor Cooling: Thermaltake V1 CPU Cooling Fan System Kit Silent & Overclocking Proof
Graphics Card: NVIDIA GeForce 8800GT 512MB w/DVI + TV Out Video
Memory: 2048GB [1024GB X2] DDR2-800 PC6400 Memory Module Corsair-Value or Major Brand
Sound Card: 3D Premium Surround Sound Onboard
RockmanForte is offline   Reply With Quote
Old July 29th, 2008   #11 (permalink)
Registered User
 
heatblazer's Avatar
 
Join Date: Jun 2008
Location: Bulgaria
Posts: 614
Haven`t tried it yet, but guess... Good job! Keep it up.
__________________
Kikaioh! GO!
heatblazer is offline   Reply With Quote
Old July 29th, 2008   #12 (permalink)
graham sanderson
 
Join Date: May 2006
Location: austin
Posts: 20
A few pics

Well, I dug around a little on the net to see how to fix the screen copy-up on Vista, and it seems things have been muchly fixed in the as yet unreleased next version of Java 6. Released or not, things seem fine with the pre-release:

http://s329.photobucket.com/albums/l...pics/jpsx1.png
http://s329.photobucket.com/albums/l...pics/jpsx2.png
http://s329.photobucket.com/albums/l...pics/jpsx3.png

This is a pretty fast box, hence the 25% CPU with 4 games running at once, however Aero/my video card appears to suck, since the screen copy up is a little slow with 4 games running (which wasn't a problem on my 3 year old machine and XP) - perhaps Microsoft doesn't expect you to have 4 different 30fps things running at once with Aero :-(

Anyways, I'll give it a quick whirl on OS X, then send out some pre-release code to anyone who messages me their email address here; the instructions'll be a bit bare bones, hence the "pre"
grahams is offline   Reply With Quote
Old July 30th, 2008   #13 (permalink)
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 842
BTW: What IDE you use?
IntelliJ idea?
Is it really THAT much better?
__________________
yes i have a mac, so what?
Shin_Gouki is offline   Reply With Quote
Old July 30th, 2008   #14 (permalink)
it'se miku!
 
NexXxus's Avatar
 
Join Date: Jan 2006
Location: Cologne, Germany
Posts: 3,604
whoohoo! nice.
X86 only, or does it work on PS3 linux too?
__________________
My System: C2D E6700 @3.4ghz | Asus P5W DH Deluxe | 4GB DDR2 800 | eVGA Geforce GTX 260 55nm SC-Edition
Tutorial: Hardware Antialiasing in PCSX2 (DX9 only)
NexXxus is offline   Reply With Quote
Old July 30th, 2008   #15 (permalink)
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 842
Its not a matter of x86, this emu woudl even ran on PPC machines, arm or what ever OS/Hardware Java is posrted to ( and the supporting librarys)
does Java run on PS3 linux? i don't think so...
maybe someone port it with openJDK7..
__________________
yes i have a mac, so what?
Shin_Gouki is offline   Reply With Quote
Old July 31st, 2008   #16 (permalink)
graham sanderson
 
Join Date: May 2006
Location: austin
Posts: 20
Quote:
Originally Posted by Shin_Gouki View Post
BTW: What IDE you use?
IntelliJ idea?
Is it really THAT much better?
IDEA rules... but I have friends who use Eclipse ;-)

Quote:
Originally Posted by NexXxus View Post
whoohoo! nice.
X86 only, or does it work on PS3 linux too?
I haven't actually tried it on any non-Intel hardware. As long as the VM does a decent job of producing optimal machine code (as per HotSpot), and as long as there is a reasonably fast way of copying to the screen, then it should be OK.

It should be free from byte-ordering issues, but I'd have to run it to make sure.

Oh, finally it currently works better if the VM supports native threads and thread priorities.

Note, that various bits of the emulator rely on certain features of the VM to run fast, but that said all bits of the emulator is entirely pluggable, so it is easy to switch implementations of a particular piece of the PSX or EMU to make it work better on your platform

Last edited by grahams; July 31st, 2008 at 18:18.. Reason: Automerged Doublepost
grahams is offline   Reply With Quote
Old August 1st, 2008   #17 (permalink)
Registered User
 
Join Date: Nov 2006
Location: Portugal
Posts: 8
Its looking great grahams congrats
Are you using lwjgl or jogl or it is just pure software ?
I am also developing an emulator in java and i know how hard some things can be ,really great job
NecroRomancist is offline   Reply With Quote
Old August 1st, 2008   #18 (permalink)
graham sanderson
 
Join Date: May 2006
Location: austin
Posts: 20
My GPU is currently just software java based... it is plenty fast enough to run several games concurrently. Once I open source, I'm hoping someone will add a full JOGL one.

Note the biggest bottleneck with the software GPU is blitting from the PSX VRAM to the display. This should not be the case (even though I do a stretch blit, so that aspect ratio is always the same despite PSX video mode).

If this is 1-2ms (as it should be if hardware accelerated), then you're only wasting about 60ms per second which is fine. My XP box took basically no time, Vista takes about 2ms with the pre-release JDK6.0_10 (which is the first one to be hardware accelerated again under vista))

Right now on OS X if I include the stretch blit on JDK5.0, even if I use quartz I can't seem to beat about 20ms, which of course just craters everything (wasting 60% of your time a 30fps). Also this time appears to be CPU intensive, so I have no idea what their Java2d implementation thinks it is doing.

This copy-up piece can be easily replaced in the configuration, and so either a JOGL based copy-up (we're basically talking one texture mapped polygon here), or a JNI native copy-up could be added.

All the more reason for me to get it out there ASAP, and let people add to it.

For those who have sent me emails, you should be getting the code on the weekend.
grahams is offline   Reply With Quote
Old August 2nd, 2008   #19 (permalink)
InnarX
 
ready2rumbelX's Avatar
 
Join Date: Jul 2002
Location: Borderline InSAnE
Posts: 2,700
Congratulations on the progress, grahams.

I've recently been learning Java, and finding a project to really sink my teeth into has been a challenge. If it is possible, I would like to help out (or at least take a look at the code). I might learn some really interesting stuff. Although, I don't know how helpful I can be at this point, but i'd like to participate nevertheless.

I also don't mind testing it out for you. There are a lot of PSX games in my collection, so let me know.

r2rX
__________________
ready2rumbelX

-Intel Core 2 Quad Q6600 (@3200Mhz)
-Gigabyte 965P-S3 motherboard
-2x2GB G.Skill PC-6400 (DDR2 800Mhz) RAM (4-4-4-12)
-Seagate 320GB (IDE) and Western Digital 500GB (SATA II) H.D
-Sapphire Radeon HD 4870 512MB GDDR 5 (790/4400)
-Windows 7 Ultimate Build 7057 (x64)
-Realtek HD w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N

ready2rumbelX is offline   Reply With Quote
Old August 2nd, 2008   #20 (permalink)
Emu author
 
shadowpcsx2's Avatar
 
Join Date: Jun 2003
Posts: 247
and after JPSX maybe the next java emu will be jpcsp? Jpcsp - java psp emulator
__________________
shadowpcsx2 is offline   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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 22:36.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5