+Lathe26 Posted December 13, 2021 Share Posted December 13, 2021 How much of GRAM can be written to per frame (i.e. how many cards can be updated). I don't think VBLANK is long enough to allow writing to all of the GRAM in one shot. Quote Link to comment https://forums.atariage.com/topic/328074-defender-on-intellivision-is-confusing-me-help/page/2/#findComment-4965050 Share on other sites More sharing options...
carlsson Posted December 13, 2021 Share Posted December 13, 2021 It might depend on your programming environment, but e.g. the IntyBASIC manual says max 18 per frame, 16 if you're using the music player. That would be 1/4 of the total. Quote Link to comment https://forums.atariage.com/topic/328074-defender-on-intellivision-is-confusing-me-help/page/2/#findComment-4965065 Share on other sites More sharing options...
+DZ-Jay Posted December 13, 2021 Share Posted December 13, 2021 3 hours ago, Lathe26 said: How much of GRAM can be written to per frame (i.e. how many cards can be updated). I don't think VBLANK is long enough to allow writing to all of the GRAM in one shot. With a really optimized tight loop and ideal VBLANK conditions -- i.e., immediately upon request, and with no additional overhead -- I've managed to copy up to 24 or 26 contiguous cards. Perhaps without posting the STIC shadow* it could do one or two more. However, in a game, you hardly ever get ideal conditions, and IntyBASIC brings with it some overhead that is built into its ISR. * (STIC register updates must be done before GRAM, since their period of accessibility is shorter than GRAM's.) 2 hours ago, carlsson said: It might depend on your programming environment, but e.g. the IntyBASIC manual says max 18 per frame, 16 if you're using the music player. That would be 1/4 of the total. I would take those numbers as a baseline, under ideal conditions. Scrolling and switching screen modes, updating the Color Stack, and a fully-loaded music player can incur a bit of additional overhead. In practice, with IntyBASIC, you should be able to count on about 16 contiguous cards copied with a single DEFINE. Thats not bad. dZ. 1 Quote Link to comment https://forums.atariage.com/topic/328074-defender-on-intellivision-is-confusing-me-help/page/2/#findComment-4965104 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.