x-station / xstation-issues

Issues and support for the xstation optical drive emulator
24 stars 5 forks source link

XSTATION.EXE on GameShark for instant boot loops to list when FullBoot chosen #243

Open Haker120 opened 2 years ago

Haker120 commented 2 years ago

I flashed XSTATION.EXE previously pushed into ROM by Docker by some certain programmer that generously did that for me and I cannot believe how fast I see games' list on screen. But this method has one issue. I'm not sure if it's XSTATION.EXE or console's fault but full boot doesn't work, I mean it does but instead of turning on the game it instantly kicks back to games' list. Fast boot works as intended but could this be fixed/repaired by software or it's console's limitation that only unplugging GameShark will help?

ramapcsx2 commented 2 years ago

Hm, I can take another look at supporting this better, sure. Maybe I can fix it ;)

JonathanDotCel commented 2 years ago

@ramapcsx2 There's a magic number which can be written: (volatile ulong)0x80100060 = 0xFFEE2244;

to prevent romprod and unirom from reloading on reboot: https://github.com/JonathanDotCel/RomProd/blob/171eb3d5282e9f8bf1e92cced57250b1d1fd25fc/rom_shared.s#L82

I don't imagine it would cause issues with games.

Haker120 commented 2 years ago

That would be great! Also I noticed with old xstation.exe boot was way faster than full cycle but old xstation on GS and new on SD slowed down entire boot process, not drasticly but visibly, after update it's instant again. However oddly enough (for me) it didn't kill functionality like ekhm, other similar device. :D

ramapcsx2 commented 2 years ago

There is a series of optimizations to get fast responses in the loader, as well as fast boot times. When the loader runs off of a ROM cart, all those timings are not fitting the changed environment.

I'll have to optimize for ROM boot, and for that, I first need to know reliably whether it was actually a ROM cart boot. Ideas, @JonathanDotCel ? :)

JonathanDotCel commented 2 years ago

Ship it!

Haker120 commented 2 years ago

Well, would be nice to get update for SD and at the same time ROM to flash GS with from main devs and not to ask that generous m8 to make one for me. :D