Emuforums.com

Go Back   Emuforums.com > Miscellaneous Emulation > SDLEmu Official Discussion
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old August 6th, 2005   #1 (permalink)
Registered User
 
Join Date: Aug 2005
Location: Praha/CZ
Posts: 1
Virtual Jaguar Linux & CD support

Hello,
I sucessfully compiled both 1.0.7 and CVS version of Virtual Jaguar on my Linux box. It can run some games pretty well, but how about Jag CD support ? I know there is some CD related code as well. I tried to load jagcd BIOS, changed cdrom path in sources to /dev/hdc a inserted one of my Jag CDs into drive and set "reset CD" from the menu. The CD bios works correctly, I can see all the flying stars and graphics, but then only "no CD power" logo appears and no CD activity at all.

Here is the log:

VJ: SDL successfully initialized.
Initializing memory subsystem...
Initializing version...
Virtual Jaguar v1.0.8 (Last full build was on Aug 6 2005 20:35:20)
Initializing jaguar subsystem...
Memory: Allocating 4194304 bytes of memory for <Jaguar 68K CPU RAM>...OK
Memory: Allocating 6291456 bytes of memory for <Jaguar 68K CPU ROM>...OK
Memory: Allocating 262144 bytes of memory for <Jaguar 68K CPU BIOS ROM>...OK
Memory: Allocating 262144 bytes of memory for <Jaguar 68K CPU CD BIOS ROM>...OK
Memory: Allocating 4096 bytes of memory for <GPU work RAM>...OK
Memory: Allocating 128 bytes of memory for <GPU bank 0 regs>...OK
Memory: Allocating 128 bytes of memory for <GPU bank 1 regs>...OK
--> GPU stats were reset!
Memory: Allocating 8192 bytes of memory for <DSP work RAM>...OK
Memory: Allocating 128 bytes of memory for <DSP bank 0 regs>...OK
Memory: Allocating 128 bytes of memory for <DSP bank 1 regs>...OK
Memory: Allocating 65536 bytes of memory for <Jaguar Object processor Y blend lookup table>...OK
Memory: Allocating 65536 bytes of memory for <Jaguar Object processor CR blend lookup table>...OK
Memory: Allocating 16384 bytes of memory for <TOM RAM>...OK
Memory: Allocating 131072 bytes of memory for <DAC buffer>...OK
DAC: Successfully initialized.
Memory: Allocating 65536 bytes of memory for <JERRY RAM/ROM>...OK
CDINTF: Init unimplemented!
About to attempt to load BIOSes...
JaguarLoadROM: Attempting to load file './bios/jagboot.rom'...Succeeded in finding extension (.rom)!
VJ: Loading "./bios/jagboot.rom"...OK (131072 bytes)
VJ: BIOS is available...
JaguarLoadROM: Attempting to load file './bios/jagcddev.bin'...Succeeded in finding extension (.bin)!
VJ: Loading "./bios/jagcddev.bin"...OK (262144 bytes)
VJ: CD BIOS is available...
Initializing video subsystem...
Initializing GUI subsystem...
About to start GUI...
GUI: Inside GUIMain...
GUI: Resetting Jaguar...
--> GPU stats were reset!
Jaguar: 68K reset. PC=000000 SP=00200000
GUI: Clearing BG save...
GUI: Entering main loop...
--> GPU stats were reset!
Jaguar: 68K reset. PC=802000 SP=00200000
TOM: Vertical Display End written by M68K: 2047
TOM: Vertical Interrupt written by M68K: 2047
TOM: Video Mode written by M68K: 06C1. PWIDTH = 4, MODE = 16 BPP CRY, flags: BGEN (VC = 29)
TOM: Memory Configuration 1 written by M68K: 1865
[BUTCH] CDROM: M68K writing word $0000 at $00000000 [68K PC=$0005015A]
[BUTCH] CDROM: M68K writing word $0000 at $00000002 [68K PC=$0005015A]
CDROM: *** BusWrite got command $0185
111111111111111CDROM: *** BusWrite got extra command $0000
1
CDROM: *** BusWrite got command $0184
111111111111111CDROM: *** BusWrite got extra command $0000
1
TOM: Horizontal Display End written by M68K: 1727
TOM: Horizontal Display Begin 1 written by M68K: 123
TOM: Vertical Display End written by M68K: 2047
TOM: Vertical Interrupt written by M68K: 507
TOM: Video Mode written by M68K: 06C1. PWIDTH = 4, MODE = 16 BPP CRY, flags: BGEN (VC = 97)
TOM: Memory Configuration 1 written by M68K: 1861
Write to DSP CTRL by M68K: 00002000
Write to DSP CTRL by M68K: 00000001
Write to DSP CTRL by DSP: 00000000
TOM: Memory Configuration 1 written by M68K: 1875
[BUTCH] CDROM: M68K writing word $0002 at $00000000 [68K PC=$000503C6]
[BUTCH] CDROM: M68K writing word $0000 at $00000002 [68K PC=$000503C6]
[BUTCH] CDROM: M68K writing word $0000 at $00000000 [68K PC=$000503D0]
[BUTCH] CDROM: M68K writing word $0000 at $00000002 [68K PC=$000503D0]
[DSCNTRL] CDROM: M68K writing word $0000 at $00000004 [68K PC=$000503D8]
[DSCNTRL] CDROM: M68K writing word $0000 at $00000006 [68K PC=$000503D8]
M68K: CD_setup
A0=00DFFF00, A1=00F1A114, D0=FFFFFFFF, D1=12345678, D2=0000005C
[BUTCH] CDROM: M68K writing word $0018 at $00000000 [68K PC=$000035E8]
[BUTCH] CDROM: M68K writing word $0000 at $00000002 [68K PC=$000035E8]
[DSCNTRL] CDROM: M68K writing word $0001 at $00000004 [68K PC=$000035F2]
[DSCNTRL] CDROM: M68K writing word $0000 at $00000006 [68K PC=$000035F2]
[I2CNTRL] CDROM: M68K writing word $0000 at $00000010 [68K PC=$000035FC]
[I2CNTRL] CDROM: M68K writing word $0007 at $00000012 [68K PC=$000035FC]
[I2CNTRL] CDROM: M68K writing word $0000 at $00000010 [68K PC=$00003606]
[I2CNTRL] CDROM: M68K writing word $0001 at $00000012 [68K PC=$00003606]
CDROM: Setting oversample rate to 1X
[DS_DATA] CDROM: M68K writing word $7001 at $0000000A [68K PC=$0000360E]
[BUTCH] CDROM: M68K reading word $0000 from $00000000 [68K PC=$0005088E]
[BUTCH] CDROM: M68K reading word $0000 from $00000002 [68K PC=$0005088E]
[BUTCH] CDROM: M68K reading word $0000 from $00000000 [68K PC=$0005088E]
[BUTCH] CDROM: M68K reading word $0000 from $00000002 [68K PC=$0005088E]
[BUTCH] CDROM: M68K reading word $0000 from $00000000 [68K PC=$0005088E]
[BUTCH] CDROM: M68K reading word $0000 from $00000002 [68K PC=$0005088E]
the last two lines repeats constantly.
ctirad is offline   Reply With Quote
Old August 6th, 2005   #2 (permalink)
Emu author
 
nwagenaar's Avatar
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 114
In short, JagCD is currently only supported on WIN32 based operatingsystems. I had JagCD working under Linux but unfortinately lost my job and my development data which resided on a laptop

I hope to get started on JagCD support for UN*X based systems ASAP. But first I need to examine the new code from Shamus ( I was "away" for a while ) and found out what happened to my old source backups from 2000 and 2001.

Regards,

Niels Wagenaar
__________________
Better a penguin that rox than
Windows that often locks!
nwagenaar is offline   Reply With Quote
Old August 7th, 2005   #3 (permalink)
Emu author
 
Shamus's Avatar
 
Join Date: Jul 2003
Posts: 130
One thing that is absolutely vital to the proper functioning of the CD BIOS (besides a functional backend ) is to have the DSP enabled. But judging from your description, it sounds like you did. Hm. I guess we'll have to dig into that Linux backend.

Niels: I'll try to catch you on #ngemu when I can.
Shamus is offline   Reply With Quote
Old August 9th, 2005   #4 (permalink)
Emu author
 
Shamus's Avatar
 
Join Date: Jul 2003
Posts: 130
I forgot to add that the CD functionality isn't 100% at present but is looking quite good at the moment. And it should get closer to the 100% mark now that I have some good documentation on the CD BIOS.
Shamus is offline   Reply With Quote
Old November 11th, 2006   #5 (permalink)
Registered User
 
Join Date: Jul 2006
Location: Somewhere
Posts: 119
How good/bad is Jaguar CD emulation in the Windows version?
Devil Master is offline   Reply With Quote
Old November 15th, 2006   #6 (permalink)
Emu author
 
Shamus's Avatar
 
Join Date: Jul 2003
Posts: 130
Currently there are some bugs in the Jaguar end of the CD code, so while it almost works there's something wrong and I haven't had time yet to look into the problem. I may have some more time to work on the Linux backend so maybe a solution will present itself when that happens.
Shamus is offline   Reply With Quote
Old November 19th, 2006   #7 (permalink)
Registered User
 
Join Date: Feb 2006
Location: Mexico
Posts: 3
Thumbs up

My comments:

First, thanks for all the work you've done on this emulator... I'm an avid Jaguar collector (some might say a Jaguar nut!) and while playing games on an actual Jaguar is the best option of course, I do enjoy firing up T2K or Val d'Isere while killing time at my office...

I know the CD functionality is important to many folks, but for me it's an extra, as the majority of released games are on cartridge. Personally, I hope you guys can do a little more tweaking of compatibility for the core system. I don't want to be a whiner or seem ungrateful - honest! - but realistically the compatibility for just the core system is not that high. Sorry! but it's true: I find that only about 1/3 of games run decently; many games don't get past the starting menus, and of those that do, often times they don't run well or they lock up after just a few minutes.

Sorry, I don't mean to be a whiner... I really do appreciate the hard work you've put in on VJ, and I hope we see more soon!
LS650 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 13:08.

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


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5