SCREEN $80 configuration

If you have feature requests, this is the place to post them. Please note your idea may already be something we have already discussed and decided against, or something we are working on privately, and we cannot be held responsible for any similarities in such instance. Whilst we cannot respond to every suggestion, your idea will be read and responded to where possible. Thank you for your input!
Post Reply
kelli217
Posts: 531
Joined: Sun Jul 05, 2020 11:27 pm

SCREEN $80 configuration

Post by kelli217 »


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.

Lorin Millsap
Posts: 193
Joined: Wed Apr 29, 2020 6:46 pm

SCREEN $80 configuration

Post by Lorin Millsap »

That’s not really possible as that’s not how the vERA works.


Sent from my iPhone using Tapatalk
kelli217
Posts: 531
Joined: Sun Jul 05, 2020 11:27 pm

SCREEN $80 configuration

Post by kelli217 »


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

kelli217
Posts: 531
Joined: Sun Jul 05, 2020 11:27 pm

SCREEN $80 configuration

Post by kelli217 »



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.

User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

SCREEN $80 configuration

Post by StephenHorn »


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.

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
Lorin Millsap
Posts: 193
Joined: Wed Apr 29, 2020 6:46 pm

SCREEN $80 configuration

Post by Lorin Millsap »

Ok. I guess I did misunderstand the question. Sorry if I confused or mislead.


Sent from my iPhone using Tapatalk
Ender
Posts: 220
Joined: Sat May 09, 2020 9:32 pm

SCREEN $80 configuration

Post by Ender »


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.

Post Reply