Jump to content
  • 0
kelli217

SCREEN $80 configuration

Question

Right now, SCREEN $80 (or SCREEN 128) in BASIC opens up a display mode that features 320×200 graphics, but it's locked to the top of the visible area, and leaves a black bar at the bottom.

I understand that there are reasons why it's only 200 pixels tall, and that trying to make it 240 pixels tall would interfere with the PSG registers’ locations in VRAM.

In the absence of being able to do anything about the height, then... can I ask for a more centered position? Maybe the code for bringing up SCREEN $80 could set DC_VSTART to come down 20 lines before drawing. That way, those extra 40 blank lines could be split up between the top and bottom of the display.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

SCREEN $80:POKE $9F25,PEEK($9F25) OR 2:POKE $9F2B,20:POKE $9F2C,220:POKE $9F25,PEEK($9F25) AND 253

Edited by kelli217
  • Like 2

Share this post


Link to post
Share on other sites
  • 0
14 minutes ago, kelli217 said:

SCREEN $80:POKE $9F25,PEEK($9F25) OR 2:POKE $9F2B,20:POKE $9F2C,220:POKE $9F25,PEEK($9F25) AND 253

BTW, this won't fit on one line if it's fully typed out, with spaces as shown, so abbreviate keywords and eliminate spaces.

Share this post


Link to post
Share on other sites
  • 0

Yeah, I'm a little confused by Lorin's response, because it seems kelli217 is asking for something like this:

320x200-2.thumb.png.d1e7dbf5342e62d79af9cadff8354fd3.png

If there's a particular reason the team doesn't want SCREEN $80 to alter and truncate the display area to a 320x200 resolution, that's cool. Maybe they don't want to track down all the other places where they'd need to reset that for swaps to other screen modes. But adjusting the display area is totally within the VERA's capabilities.

What the VERA can't do is adjust the native resolution. In that sense, it's locked to 640x480.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

I think SCREEN $80 mode was heavily inspired by GEOS (with some code taken directly from it), and if you take a look at GEOS it's set up the same way as SCREEN $80 mode currently is. That's probably the main reason why it is the way it is.  It would be pretty simple to alter things slightly to be as kelli requested, as was shone. It's just a matter of aesthetics.

Share this post


Link to post
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.

Guest
Answer this question...

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


×
×
  • Create New...

Important Information

Please review our Terms of Use