Jump to content
SainT

Upcoming Jaguar Game Drive Cartridge

Recommended Posts

I'm glad to see you seem to have overcome some of the problems you had.

Can't wait!

 

So I should be able to detect a keypress combination and reset the console.

Woudn't there be interference if using part of an already existing combination?

Share this post


Link to post
Share on other sites

You could choose something that's unlikely to be already used, like * + 0 + #.

 

I was thinking *# held for like 3 seconds or something. So *# immediately does a software reset (if the game supports it), then held down for longer does a full reboot.

  • Like 6

Share this post


Link to post
Share on other sites

I'm glad to see you seem to have overcome some of the problems you had.

Can't wait!Woudn't there be interference if using part of an already existing combination?

17 buttons on a standard Jag Pad... means how many combinations? ...just DoTheMath! ;-)

  • Like 2

Share this post


Link to post
Share on other sites

I was thinking *# held for like 3 seconds or something. So *# immediately does a software reset (if the game supports it), then held down for longer does a full reboot.

Pretty clever, I think that's a good idea.

Share this post


Link to post
Share on other sites

I was thinking *# held for like 3 seconds or something. So *# immediately does a software reset (if the game supports it), then held down for longer does a full reboot.

Nice! I think Doom needs some seconds to register the "* + # + Option" to reset the memory but that won't be needed here anyway.

 

How will we have to handle save files by the way?

Share this post


Link to post
Share on other sites
On 9/14/2017 at 10:33 PM, DoTheMath said:

Nice! I think Doom needs some seconds to register the "* + # + Option" to reset the memory but that won't be needed here anyway.

How will we have to handle save files by the way?

If there any conflicts with anything I will resolve them in terms of the button combo.

 

I'm planning on having the EEPROM save stored on the memory card alongside the rom image. So with your game.j64 you'll have a game.sav which is read in with the rom image and saved back to the memory card as its altered by the jaguar. In theory you could have multiple saves for a game if you wanted...

Edited by SainT
  • Like 8

Share this post


Link to post
Share on other sites

I'm planning on having the EEPROM save stored on the sd alongside the rom image. So with your game.j64 you'll have a game.sav which is read in with the rom image and saved back to the sd card as its altered by the jaguar. In theory you could have multiple saves for a game if you wanted...

That's pretty cool, pretty much what i expected. Thanks for you answers!

Share this post


Link to post
Share on other sites

Hmm, Maybe Pause/Option at the same time for a reboot? I don't think pushing those two together are used anywhere, are they?

  • Like 1

Share this post


Link to post
Share on other sites

Add me to the list please! Assume you're adopting a similar approach to the Lynx, working your way down a list of names? Very happy with the work on the Lynx card so looking forward to something similar for the Jag!

Edited by mrpjones

Share this post


Link to post
Share on other sites

Add me to the list please! Assume you're adopting a similar approach to the Lynx, working your way down a list of names? Very happy with the work on the Lynx card so looking forward to something similar for the Jag!

9b317b90297f1d61bafddf30529c1163.gif
  • Like 1

Share this post


Link to post
Share on other sites

Ha, I probably need to use that Gif far more frequently in life than I should....

Yes! I tend to use it more than I'd like to.

Share this post


Link to post
Share on other sites

I don't see people saying "I definitely want one" as anything but expressing interest and encouragement that there will be a good demand for this.

Of course the first post covers asking about lists and stuff, but I think that person was probably just excited about the project, not asking for a list like the more recent one :)

Mod's call in the end though.

Share this post


Link to post
Share on other sites

I've had a fun few days writing a bare bones game engine for the Jaguar -- it's been a few years since I've ported my old game engine to a new platform, so it's been nice to resurrect some old code. I've got a reasonably nice display system with sprites and console working, so now's time for the fun bit of setting up the boot sector / menu section on the flash and getting it flashing the menu section from the memory card on the cart. This will mean no more unplugging the cart and programming via my custom external programmer! w00t! Then it will be shortly followed by programming / running code via USB.

Edited by SainT
  • Like 18

Share this post


Link to post
Share on other sites

I'm having a really odd issue running code on the Jaguar. For some really bizarre reason, for no apparent reason, code is hanging. This is one of those really weird issues where adding code to try and narrow down where the issue is, actually stops the code hanging. :mad:

 

I can actually add code which is not run and the hang disappears. I've checked the code generated, and it cannot be directly effecting the hang. My gut feeling is either alignment issues caused by the change in code size, but looking at the map files everything looks ok. Next I tend to think uninitialised variables, but I'm clearing the BSS, so it shouldn't be that either.

 

Oh, and I should say, the code works fine in VJ, so it's something odd. Annoyingly though if I cant add any code to trace where the issue is happening, and without a hardware debugger, tracking it down is next to impossible. My next feeling is something interrupt-y..... but quite how code size is affecting things like this, is bloody mental.

 

Is anyone aware of any weird issues with the Jaguar hardware? I'm just using the 68000 here, no GPU or DSP.

Share this post


Link to post
Share on other sites

Tracked it down -- gut instinct was right, uninitialised variable from data in the main heap. I was right in thinking it couldn't be BSS, and VJ and a real Jaguar will naturally have a very different starting state for untouched memory. That was unpleasant.

 

But on the upside, I now have a protected 16K boot section which contains the failsafe booter and recovery console and a 112K menu section for the updatable menu code. For now I can update the booter and menu from the memory card from the recovery console. If the menu checks out OK, this is booted after the splash screen by default unless you press OPTION to get into the recovery console. This is the same as my NeoGeo Pocket cart.

 

And I've got to use my compression code I wrote ages ago, too, which is nice! It's actually pretty good, about on-par with zip (for the small datasets I'm using), but the decompression is very simple. Need to write an optimised depack routine though. The booter and menu and decompressed from the cart into main ram and executed from there allowing full access to the emulated cart space when running.

 

Really starting to get somewhere...

Edited by SainT
  • Like 13

Share this post


Link to post
Share on other sites

I've had a fun few days writing a bare bones game engine for the Jaguar -- it's been a few years since I've ported my old game engine to a new platform, so it's been nice to resurrect some old code. I've got a reasonably nice display system with sprites and console working, so now's time for the fun bit of setting up the boot sector / menu section on the flash and getting it flashing the menu section from the SD card on the cart. This will mean no more unplugging the cart and programming via my custom external programmer! w00t! Then it will be shortly followed by programming / running code via USB.

This comment made me think of one of the Atari ST menu disks which had a little mini platformer game as the game selector. Damned if I can remember which disk it was though.... but that would be awesome as a Jag launcher.

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...