Jump to content
IGNORED

Scanline problem. I'm stuck


Coolcrab

Recommended Posts

some how I've gotten different versions and modifications of the MonkeyKing source the score_graphics and playerscores.asm all jumbled up

 

I've been looking at the stack a little. I haven't seen it go deeper than 4

 

you can flatten your code a little.

if you always gosub sprite_color and drawscreen you can instead jmp drawscreen

from sprite_color

in which case I haven't seen a stack depth more than 3

 

the branch clearing routines don't need to be subroutines

 

looks like there are several places you could manipulate the screen directly

and save subroutine calls to pfvline or pfread (might take more code

but it would probably be faster)

 

I'm not exactly sure how the game is supposed to behave

I haven't seen score graphics glitches or going over on lines

with MonkeyKing_NTSC.bas

 

 

you could sacrifice one of your variables to the player scores routine

and get an extra spot on the stack I think

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