View Single Post
Old August 6th, 2005   #1 (permalink)
ctirad
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