bogax Posted October 13, 2018 Share Posted October 13, 2018 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 Quote Link to comment https://forums.atariage.com/topic/283615-scanline-problem-im-stuck/page/2/#findComment-4132711 Share on other sites More sharing options...
Recommended Posts
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.