Jump to content
Sign in to follow this  
Welshworrier

Running another program question

Recommended Posts

I've spent a good few days now trying to get some software working that will take a coff file and start it running.

 

All files I've tried work.... Except one :)

 

Gem Racer by Dr Typo just refuses to work correctly. I get it moved to the correct location (4000), make sure the SR is set, DSP and GPU doing nothing, blitter clear, vbl etc... What happens is the game starts but when you hit a key to choose level it displays the screen BUT the road is not there, the car is, and the game itself will not play. Music still works.

 

It must be something I've not set correctly but I'm at a loss as to what to try next.

 

Anyone got any suggestions to effectively soft reset.

 

Should add this is on the jaguar itself

Edited by Welshworrier
  • Like 1

Share this post


Link to post
Share on other sites

It may be a latent bug in Gem Racer that makes it sensitive to something that shouldn't matter. Try clearing the unused RAM areas to different values, same with 68k registers.

Share this post


Link to post
Share on other sites

Looking like it, spent a while disassembling it today to look. It works if put to a skunk board, with the usual jiffi header that sets sr and copies it down but just hates my code :) it's the only one he didn't release the source code for it seems - makes it more interesting though.

 

However the number of times I've heard the title music is starting to grate :D

 

Already tried clearing unused ram and looking at the code it doesn't seem to do anything really suspect - the display looks like it's blitted into double buffered area so that's where I'm currently checking to ensure all those registers are happy.

Edited by Welshworrier

Share this post


Link to post
Share on other sites

Update: got it working :)

Very subtle bug in that when it installed the DSP routines it didn't initialise the variables before hand. This meant on the first run through it checked for 0 in local dsp memory and, because I'd not cleared it all prior to calling it, thought the interrupt handler was already installed.

 

Solution was to ensure the local DSP memory was cleared before jumping to the start.

 

Now all the stuff I've tested works

Edited by Welshworrier
  • Like 5

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...