Jump to content
IGNORED

Cycles available in Adventure?


Channel 2

Recommended Posts

Does anybody know how many cycles worth of code can safely be added to Adventure between frames?

That's hard to say from just looking at the code.

 

:idea: Use z26 with the -t parameter, play the game and enable/disable (F11/F12) tracing at various "interesting" situations. Then check the resulting .log-file and search for repeating INTIM sequences. There should be two of them each frame (top/bottom) of screen. Find the shortest sequences and calculate the free cycles.

 

Repeat! :)

Link to comment
Share on other sites

Hi there!

 

I'd suggest using an emergency break. Here's some snippet of code I had in Star Fire throughout the whole development process:

 

OverscanLoop

   LDA INTIM

   BPL OverscanNotExceeded

   BRK

OverscanNotExceeded

   BNE OverscanLoop

 

A bit brute force, I know... But it works brilliant :D

 

BTW: Will move this to programming board soon...

 

Greetings,

Manuel

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...