Emuforums.com

Go Back   Emuforums.com > Miscellaneous Emulation > SDLEmu Official Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old August 9th, 2012, 13:40   #1
hcf
Registered User
 
Join Date: Aug 2012
Location: Spain
Posts: 2
Porting Virtual Jaguar

Hi!! I have been trying to port your amazing Virtual Jaguar emulator to the Xbox console (not the Xbox 360, but the original Xbox). I had troubles when compiling the files related to the M68K emulation (mainly, the m68k_in.c made my Visual Studio .NET go crazy) so I tried to replace the M68K related code, with the original Mushashi 68000 emulator code, which was very similar but didn't have that m68k_in.c file, and I managed to compile and link everything properly for the Xbox.

I was very excited about this... but it did not work The emulator runs but it hangs soon, in the m68k_read_immediate_32 instructions). I guess that the M68K code that you used in Virtual Jaguar has been customized to emulate the Atari Jaguar processor... I looked for information about this, and I saw in an old readme of a former version of Virtual Jaguar something like this: "If you need to use some other 68000 emulator, you need to change Level 2 interrupt vector to 0x100.". But I am not finding anything more related to the portability.

Do you think that you could give me an advice? My problem is that the code that you used for the M68K emulation in Virtual Jaguar is not compiling in my Visual Studio .NET 2003, and when I replace it by the Mushashi code, the emulator does not work... so I would need to be able to compile the code used by Virtual Jaguar, or be able to understand what I must change in the Mushashi code to make it work.

By the way, I am starting the port with a very old version of Virtual Jaguar (v1.0.5) because Xbox lacks of OpenGL support, and this 1.0.5 version was the last that did not used OpenGL. But as far as I have seen, the M68K code that you used, did not change a lot in the later versions (1.0.6, 1.0.7...)

Thank you very much!!

EDIT: I found a solution, using the code branch "old-cd", it seems that there is no strange code to my compiler, and it works. Anyways, thank you very much and keep going on with your marvelous work!!!

Last edited by hcf; August 9th, 2012 at 18:43.. Reason: Found a solution
hcf is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old August 11th, 2012, 00:22   #2
Shamus
Emu author
 
Shamus's Avatar
 
Join Date: Jul 2003
Location: Ur-th
Posts: 324
Glad you found something that works, even if it's old and out of date.

Really don't know what to tell you about the OpenGL code. While the Jaguar core is pretty much separated from the GUI code, if you don't use an OpenGL rendering path you'd have to write your own screen stretching code on the front end. Other than that, it should compile and work on any standards compliant platform.
Shamus is offline   Reply With Quote
Old October 15th, 2012, 23:31   #3
hcf
Registered User
 
Join Date: Aug 2012
Location: Spain
Posts: 2
Port of Virtual Jaguar for Xbox released

I am very glad to say that now your awesome project Virtual Jaguar is in another plattform. I finished the port of Virtual Jaguar for Xbox (not Xbox 360, but the original one), nicknamed "Virtual JaguarX". It's very cool to add this great project to the Xbox scene, and also is very cool that people in the Xbox now knows the great work that you are doing with this emulator!

One member of the Xbox scene recorded a video of himself playing this emulator. He did not use the best configuration options in many games, but at least you can see how it runs more or less:

http://www.youtube.com/watch?v=KNjMpKgCC50

Finally, as I wrote in the README, I want to say many thanks to all the team involved in Virtual Jaguar, specially Shamus for the support and advices that he gave me during the port process.

I will keep following your progress, and I am sure that now many xbox-sceners (like me) have become big fans of your project now

Thank you very much, and keep up with this marvelous project!
hcf 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

Forum Jump

All times are GMT +1. The time now is 22:13.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.