kensu Posted March 23, 2013 Share Posted March 23, 2013 I've noticed that whenever using screen mode 1 or 2, there will be a square on the bottom of the screen which takes up the last few lines of the screen buffer. Although it's blue in this picture, it actually takes on the color specified in color register 2. It also appears to be in another screen mode since it's capable of displaying both upper and lowercase letters. Now I admit this is kinda cool and potentially useful (especially for an RPG game), but it's not something I want on my title screen. Does anyone know why this is happening, and how I can get rid of it? There's nothing special going on my code: int main() { unsigned char * scrLoc; char scrBuffer[50]; //draw title screen _graphics(1); scrLoc = SAVMSC; strcpy(scrBuffer,"1 player game"); str_to_internal(scrBuffer); memcpy(scrLoc,scrBuffer,14); _setcolor_low(0,COLOR_RED); strcpy(scrBuffer,"SOME TEXT"); str_to_internal(scrBuffer); memcpy(scrLoc + 85,scrBuffer,9); strcpy(scrBuffer,"PRESS # TO DETERMINE GAME MODE"); str_to_internal(scrBuffer); memcpy(scrLoc + 400,scrBuffer,31); //go into either one player or two player game while(1); return 0; } Quote Link to comment Share on other sites More sharing options...
kenfused Posted March 23, 2013 Share Posted March 23, 2013 (edited) try graphics(1+16) +16 = no text window at bottom +32 = no screen clear from previous +48 = both Edited March 23, 2013 by kenfused 1 Quote Link to comment Share on other sites More sharing options...
danwinslow Posted March 25, 2013 Share Posted March 25, 2013 Kensu, you might want to stop and scan through some Atari documentation. Here's a page that has some good choices : http://www.atariarchives.org/ 'Mapping the Atari' is especially useful : http://www.atariarchives.org/mapping/ Quote Link to comment 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.