Sega Saturn Development > Share your code

I burn my ISO on one CD, but it's don't run on my Saturn... :-(

(1/2) > >>

hbeira:
Hi Friends.

I burn my ISO on one CD, but it's don't run on my Saturn... :-(
On Yabause runs from my CD. :-)

On my Saturn, just freeze on this screen below.



I have try Swap Trick and Pseudo Saturn Kai...

Someone can help me about what is wrong?
I have attached my files in this topic.

Thanks in advance. ;-)

ponut64:
Is this a PAL or NTSC system?
Is it "Model 1" or "Model 2" system? What version is the CD drive board? [JVC, Hitachi, or Sanyo]
Preliminary tests indicate the engine is running into invalid memory ranges. You'll have to dig into the "jo_tga_loader" function and mandate that it always start at a specified memory address to use it the way you want to.
This, however, is not the explicit cause for your freeze.

Your functions are also out-of-order. my_gamepad calls functions that have yet to be defined. Move it above jo_main, but below all else.
In combination with memory range overflow, this might be the cause of the crash.

Another thing you should do is ensure jo_tga_loader will only be struck when it is incomplete. If jo_tga_loader is ever finished, it should not be called anymore, as it isn't meant to be used asynchronously. Jo engine might be tolerant of the current usage, but I would try to control it more strictly to prevent unseen memory shenanigans.

Of course, you may wonder: "We use jo_free_img to free the memory range specified for the background image. Why doesn't that work?"
Those are not meant to be used in conjunction with loading functions asynchronously. You must only free once, before the next image is loaded. This is probably the cause of the crash.

20EnderDude20:
Huh, I've never realized how similar the structure of the Saturn was with the Dreamcast. I thought they were completely different.

hbeira:

--- Quote from: 20EnderDude20 on August 10, 2018, 04:35:02 pm ---Huh, I've never realized how similar the structure of the Saturn was with the Dreamcast. I thought they were completely different.

--- End quote ---

It's good ;-)


--- Quote from: ponut64 on August 10, 2018, 05:25:50 am ---Is this a PAL or NTSC system?
Is it "Model 1" or "Model 2" system? What version is the CD drive board? [JVC, Hitachi, or Sanyo]
Preliminary tests indicate the engine is running into invalid memory ranges. You'll have to dig into the "jo_tga_loader" function and mandate that it always start at a specified memory address to use it the way you want to.
This, however, is not the explicit cause for your freeze.

Your functions are also out-of-order. my_gamepad calls functions that have yet to be defined. Move it above jo_main, but below all else.
In combination with memory range overflow, this might be the cause of the crash.

Another thing you should do is ensure jo_tga_loader will only be struck when it is incomplete. If jo_tga_loader is ever finished, it should not be called anymore, as it isn't meant to be used asynchronously. Jo engine might be tolerant of the current usage, but I would try to control it more strictly to prevent unseen memory shenanigans.

Of course, you may wonder: "We use jo_free_img to free the memory range specified for the background image. Why doesn't that work?"
Those are not meant to be used in conjunction with loading functions asynchronously. You must only free once, before the next image is loaded. This is probably the cause of the crash.

--- End quote ---

Hey, I did it and works! :-D
Many thanks ponut64 ;-D

PS: works with Swap Trick, not with Pseudo Saturn Kai Cartridge, even this ISO was patched. :-P

ponut64:
That's very odd, I don't patch my ISOs and I don't need to enable pseudo saturn support, yet I can get things to boot in Pseudo Saturn just peachy.

Try adding this to your makefile:
JO_PSEUDO_SATURN_KAI_SUPPORT = 1

Navigation

[0] Message Index

[#] Next page

Sitemap 1 2 3 4 5 6 7 8 9 10 
Go to full version