A few emulators for the ZX Spectrum allow you to have smaller borders, allowing for a larger viewport on the screen. I wondered if anyone out there would consider looking at adding this as an option on the ZX Spectrum core?
Request: Smaller Borders!
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
Re: Request: Smaller Borders!
Hi Aberu,
It's anything in particular tbh, the Spectrum has massive borders when loading, making the viewport really small on smaller screens (e.g. the iPad screen)
An example video of someone using some kind of emulation will show the border size: https://www.youtube.com/watch?v=MtBoRp_cSxQ (volume down!!!)
As the spectrum doesn't really use the border for any kind of display it'd be nice to shrink them up to allow for bigger pixels!
I'll take a picture when a game is loading to show what I mean and reply shortly.
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
Re: Request: Smaller Borders!
Here's an example - I'm thinking if the borders were half that size the part of the screen that is actually used would be a lot bigger...
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
Re: Request: Smaller Borders!
Exactly this, but on a monitor you could always use width and height to stretch the borders off the screen.
Also, as the border isn't exactly much use on a spectrum bar a few demos and to confirm your tape is loading there isn't any real harm in sacrificing some of it.
Finally, looking at e.g. the Master System core, there is an option to switch the border off entirely.
So having a small border option would work great for us using smaller screens.
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
Re: Request: Smaller Borders!
A number of cores have an option to decrease the size of the borders, even the VIC-20 has it, which is great.
- pgimeno
- Top Contributor
- Posts: 710
- Joined: Thu Jun 11, 2020 9:44 am
- Has thanked: 277 times
- Been thanked: 226 times
Re: Request: Smaller Borders!
The integer scaling option already cuts the borders a bit, maybe not enough though.
Re: Request: Smaller Borders!
I had a look at this and have made a version with an OSD option to crop the borders and only show the 256x192 pixel active area, but while I was testing it I tried the crop 216 option and that seems pretty good. Is there really need for no borders?
Anyways, I'm attaching the .rbf if anyone wants to try it. I know next to nothing about the Spectrum, I just changed the blanking in the ULA to start as soon as the image ends and stop as it starts and adjusted the aspect ratio so that the image has the same AR as the active part of the image with borders did. Dunno if it'll break software using extended video modes or whatever. The new option is in the Audio & Video menu as "Hide Border". If there are no big problems and there's interest I could put it on github and make a pull request.
- Attachments
-
- ZX-SpectrumTest2.rbf
- (3.08 MiB) Downloaded 328 times
-
- Top Contributor
- Posts: 1441
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: Request: Smaller Borders!
It seems to work pretty well - thanks, Yim. I've tried it briefly in a few games (on a 31Khz VGA CRT) and the scaling is actually 1:1, which is one thing I was worried about (had tried similar option on RPi before and it wasn't right.)
I grew up with Spectrum and don't mind the borders, but having an option to hide them is an interesting feature - I imagine also quite useful for those with small displays.
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
- Sorgelig
- Site Admin
- Posts: 890
- Joined: Thu May 21, 2020 9:49 pm
- Has thanked: 2 times
- Been thanked: 214 times
Re: Request: Smaller Borders!
on resolution 1920x1080 (which most TVs use) and vertical crop 216 option enabled, you will get integer scaling with visible 216 lines, so ZX Spectrum paper part will occupy almost whole screen vertically. Border will use only useless parts of wide screen.
Border play different roles on different systems. On Sega Master it's mostly useless. On ZX Spectrum it's useful. You can check tape loading progress, some games use border for different purposes, like decompressing notification or even some info. Many demos use border. So taking border away completely is a wrong decision. It won't be a ZX anymore.
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
Re: Request: Smaller Borders!
Yeah, I understand. I'm one of the iPad 4 screen people here (2048x1536) and was hopeful if I'm honest! Yim's core is a nice fullscreen for games where the border isn't necessary so I'll use that for my games for now and revert if any changes break it.
I appreciate the reponse!
-
- Top Contributor
- Posts: 1441
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: Request: Smaller Borders!
There are 138 games which use border effects - that constitutes probably less than 1% of the entire library. The iconic loading stripes might be important for folks like you and me (hell, I often slow it all down and put the sound on too) but I guess for most newcomers to this platform they won't matter that much, especially those who have a small screen and would like to trade the border off for a bigger playfield.
All in all, it's just an option, which might be really useful for some people.
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
Re: Request: Smaller Borders!
Guys, I'm on a 4:3 iPad screen. All I asked for were for the borders to be a bit smaller. Vertical crop isn't available for my screen/resolution (2048x1536).
For those with 1920x1080/1200 that's great!
Using ZXSpin as an example, I think the top right would be the best of the three. Top left represents pretty much how we currently see it.
- Sorgelig
- Site Admin
- Posts: 890
- Joined: Thu May 21, 2020 9:49 pm
- Has thanked: 2 times
- Been thanked: 214 times
Re: Request: Smaller Borders!
I will see. I will implement a smaller border.
But it will work only on HDMI output. VGA output cannot be changed, border can be smaller but screen won't be bigger on VGA output as size depends on video timings.
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
- Chris23235
- Top Contributor
- Posts: 983
- Joined: Sun May 24, 2020 8:45 pm
- Has thanked: 127 times
- Been thanked: 197 times
Re: Request: Smaller Borders!
From todays changelog
ZX Spectrum:
- Added option for narrow border.
Thank you Sorgelig
Re: Request: Smaller Borders!
You probably don't want to do it for the Next core as on the Next you can render to the whole screen, including the border area. I don't recall if I've seen anything do so yet, but you certainly can.
Re: Request: Smaller Borders!
On a Benq BL912 (1280x1024) the screen is really tiny (Aspect Ratio Original, Scale normal). Vertical crop is greyed out. Can only use Scandoubler FX CRT 25% to fill the screen but scaling is irregular.
I think when there would be an option to reduce the borders in steps it would fill the screen without irregular scaling.