First Spear Posted April 28, 2018 Share Posted April 28, 2018 Hey all. Is there a way to make the border a color (eg blue) that is only 4 pixels wide, with the "inner" 4 pixels remaining black? The screen is in CS mode. I think the answer is "no" or I would have seen it by now, but I thought I would ask. Thanks! Quote Link to comment Share on other sites More sharing options...
intvnut Posted April 28, 2018 Share Posted April 28, 2018 (edited) I think you mean option 1 here. Correct? Option 1: Option 2: Option 1 is super simple to implement. Use colored squares mode to fill the cards along the edges of the screen. Blue and Black are in the color palette supported by colored squares. You can POKE the following 8 values in the appropriate places in #BACKTAB[] to get the desired effect. I meant to attach this reference to colored-square encoding. EDIT: I had made an error in my hex calculation earlier. Updated diagram. Edited April 28, 2018 by intvnut 1 Quote Link to comment Share on other sites More sharing options...
intvnut Posted April 28, 2018 Share Posted April 28, 2018 Here's a Q&D BASIC program demonstrating. CLS MODE 0,6,6,6,6 WAIT CONST CSQ_UpperLeftCorner = $1049 CONST CSQ_UpperRightCorner = $1209 CONST CSQ_LowerRightCorner = $1248 CONST CSQ_LowerLeftCorner = $1241 CONST CSQ_TopEdge = $1009 CONST CSQ_RightEdge = $1208 CONST CSQ_BottomEdge = $1240 CONST CSQ_LeftEdge = $1041 FOR I = 1 TO 19 #BACKTAB(I ) = CSQ_TopEdge #BACKTAB(I + 220) = CSQ_BottomEdge NEXT I FOR I = 20 TO 200 STEP 20 #BACKTAB(I ) = CSQ_LeftEdge #BACKTAB(I+19) = CSQ_RightEdge NEXT I #BACKTAB( 0) = CSQ_UpperLeftCorner #BACKTAB( 19) = CSQ_UpperRightCorner #BACKTAB(220) = CSQ_LowerLeftCorner #BACKTAB(239) = CSQ_LowerRightCorner here: GOTO here 1 Quote Link to comment Share on other sites More sharing options...
First Spear Posted May 9, 2018 Author Share Posted May 9, 2018 I was thinking of the extreme "hardware" border area, is there anything that can be done in that space? Thanks. Here's a Q&D BASIC program demonstrating. CLS MODE [snip] Quote Link to comment Share on other sites More sharing options...
intvnut Posted May 9, 2018 Share Posted May 9, 2018 I was thinking of the extreme "hardware" border area, is there anything that can be done in that space? Thanks. bord1.jpg The diagram below illustrates where the blue stripe is in the screen shot above. If I understood correctly, you want to do something with the yellow area in this diagram. Is that correct? You can change the border color to some other solid border color. That's it. It's outside the 20x12 grid. 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.