Search found 126 matches

by Yim
Wed Jun 23, 2021 2:22 am
Forum: Sega Master System / Game Gear
Topic: Game Gear custom aspect ratio
Replies: 7
Views: 12393

Re: Game Gear custom aspect ratio

This is kind of tricky. You can’t directly control the vertical resolution, but you can influence it through your video mode and turning integer scaling on and off. The game gear’s vertical resolution is 144 pixels, which goes exactly five times into 720, so having integer scaling on or off makes no difference. If you set the video mode to 1080 it’...
by Yim
Thu Jun 17, 2021 1:29 am
Forum: Linux
Topic: MiSTer device will no longer allow me to FTP
Replies: 29
Views: 8242

Re: MiSTer device will no longer allow me to FTP

I recently had a problem develop with my mister - I was moving some files over by samba and the transfer failed partway through. After that, samba didn’t work at all, and though I could connect by FTP, any attempt to transfer something larger than 256kb would fail. The mister itself was still able to connect to the internet. I spent a little time t...
by Yim
Wed Jun 02, 2021 3:17 am
Forum: Display Devices
Topic: Noob question about resolution and scaling
Replies: 7
Views: 7233

Re: Noob question about resolution and scaling

I remembered another option for 4K using 240p cores: set the mister to 720p and turn integer scaling on. This will triple the resolution, and then the TV will upscale it a further 3x for a final multiplication of 9x, the highest integer multiple that will fit in 4K without cropping. Which option looks best probably depends on the TV’s upscaler and ...
by Yim
Tue Jun 01, 2021 6:03 am
Forum: Display Devices
Topic: Noob question about resolution and scaling
Replies: 7
Views: 7233

Re: Noob question about resolution and scaling

For a 4K I’d stick with 1920x1080, because then it’s a clean double to match the TV’s resolution. If you use 1200p then the TV will have to upscale it unevenly. That said, at that kind of resolution the unevenness might not be obvious. Anyways, at 1920x1080 with vscale_mode=0 in mister.ini then you should get a menu option for 5x scaling in the OSD...
by Yim
Sat Apr 17, 2021 4:29 pm
Forum: Display Devices
Topic: Vertical crop x5 and forced_scandoubler
Replies: 6
Views: 2614

Re: Vertical crop x5 and forced_scandoubler

Actually maybe you’re right, I know next to nothing about analogue output. I was thinking of the scandoubler fx in the menu and not really understanding what you were asking.
by Yim
Sat Apr 17, 2021 1:54 pm
Forum: Display Devices
Topic: Vertical crop x5 and forced_scandoubler
Replies: 6
Views: 2614

Re: Vertical crop x5 and forced_scandoubler

The scan doubler doubles the base resolution, so only even multiples are available - 4x or 6x.
by Yim
Mon Apr 05, 2021 11:19 am
Forum: General Discussions
Topic: Games for young children
Replies: 18
Views: 6820

Re: Games for young children

I had some success with Darius II for mega drive using its invincibility code. The ship can’t be destroyed, so it’s just practice for using a d-pad to move around and a button to make something happen. This isn’t on MiSTer, but my kids really like Untitled Goose Game. We play on Switch using two seperate joy-cons. I mapped all the buttons to the ri...
by Yim
Fri Mar 19, 2021 3:46 pm
Forum: Sega Master System / Game Gear
Topic: Is there a way to tell if a rom is to play in a specific region / TV System
Replies: 11
Views: 17699

Re: Is there a way to tell if a rom is to play in a specific region / TV System

I think broadly you could divide the games into those released in Japan/North America and those which were PAL only (about half the library), and run the former at 60Hz (NTSC) and the latter at 50Hz. I think mostly game released in NTSC regions would have been made with 60Hz in mind, except for maybe games which were made in Europe. Of the PAL only...
by Yim
Sat Mar 06, 2021 10:21 am
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 51706

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

Are the glitches screen tearing from the display not synching properly to the signal? If so, then I’d guess compatibility mode is running at a pixel clock the display is compatible with and the other mode isn’t. As for video_mode_ntsc and pal, I thought those settings would override the regular video_mode setting, meaning the custom video_mode sett...
by Yim
Thu Mar 04, 2021 8:44 am
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

My pull request is closed, not accepted, but Sorgelig has added auto narrow/wide to the framework and says he’ll add an integer option for full screen. Automatically adjusting custom aspect ratios to be integer scaled isn’t going to happen. Pretty good outcome on the whole, I think. Thanks Sorgelig!
by Yim
Mon Mar 01, 2021 2:55 pm
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

I've put in a pull request. Had to adjust things a little for the differences in the template version, hopefully I haven't screwed anything up. Thanks for documenting your progress and thought process, it’s super valuable for a programming novice! Thanks! I'm very much a novice myself, so I hope I haven't said too much that isn't correct along the ...
by Yim
Mon Mar 01, 2021 1:40 pm
Forum: Display Devices
Topic: How to set the default/original_aspect_ratio?
Replies: 4
Views: 2403

Re: How to set the default/original_aspect_ratio?

I think you're looking for the custom_aspect_ratio_1 and custom_aspect_ratio_2 settings. They're in the default mister.ini file, but commented out. You can put them under individual core headings in the file to choose two extra settings for each core, and then they'll show up in the on screen display menu for the core under "Aspect ratio"...
by Yim
Mon Mar 01, 2021 12:35 pm
Forum: Hardware Setups
Topic: Show Us Your MiSTers
Replies: 619
Views: 428284

Re: Show Us Your MiSTers

x0IybHm.jpg It’s pretty crude, but here’s my home made mister case. The basis of it is a pencil box that I noticed was just the right size for the de10 nano. The front panel is made from a divider piece that’s supposed to sit inside the box. Also visible is my old little-used raspberry pi and on the left my daemonbite Genesis controller adapter an...
by Yim
Sun Feb 28, 2021 4:07 pm
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

I've been playing around with the new horizontal integer scaling code, and I think I've got a decent addition to make it work with aspect ratios other than the default and to add the option to auto select between narrow and wide, whichever is closer to the aspect ratio setting. I've put a Mega Drive fork up on github, including an RBF in the releas...
by Yim
Thu Feb 25, 2021 4:46 pm
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: Narrower or wider hv integer scale?
Replies: 8
Views: 7102

Re: Narrower or wider hv integer scale?

Hi, what is the difference and why both exists? What is the nearest to the real thing? Realised I didn’t actually answer the main question here. When you use integer scaling, you’re limited to resolutions that are integer multiples of the original resolution. The mister will use the largest vertical resolution that fits (either full screen or larg...
by Yim
Thu Feb 25, 2021 11:50 am
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: Narrower or wider hv integer scale?
Replies: 8
Views: 7102

Re: Narrower or wider hv integer scale?

It depends on the native resolution and aspect ratio and the upscaling which is closer to the real thing. There’s no one definite answer. I’ve been fiddling with the code trying to implement an auto version that would go to whichever is closer, but I haven’t got it working yet. Not sure if I can write it well enough to be accepted even if I do get ...
by Yim
Tue Feb 23, 2021 1:49 pm
Forum: Input Devices
Topic: Help Update DaemonByte Fails [Solved]
Replies: 3
Views: 2043

Re: Help Update DaemonByte Fails

I made one a while ago, don't remember exactly what settings I used, but when I open the arduino software it's still got SegaControllerUSB open. Board is set to Arduino Leonardo, and programmer to AVRISP mkII. Can't say for sure those are the right ones though. I remember setting the board to leonardo, but I don't think I ever changed the programme...
by Yim
Tue Feb 23, 2021 9:08 am
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: Sonic 2 consistent screen size with integer scale for 240p
Replies: 10
Views: 6163

Re: Sonic 2 consistent screen size with integer scale for 240p

morgoth, I had a look on my MiSTer and at your .ini file. For me, there is no size change when switching to two player, and no blink/black screen. I was able to replicate the problem by turning borders on, just like zakk4223 (I'm pretty sure I'm already running in PAL). The one thing that's obviously different in your ini file to mine is the vsync_...
by Yim
Mon Feb 22, 2021 12:31 pm
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: Sonic 2 consistent screen size with integer scale for 240p
Replies: 10
Views: 6163

Re: Sonic 2 consistent screen size with integer scale for 240p

I’m posting on my phone, so I’m not able to see your ini file, but I think there are two approaches: If you want integer scaling, then you want an 8x upscale from 224/240 to 1792/1920. There is actually room for a 9x upscale, but it’ll result in image size changes in two player mode because that has double vertical resolution so relative to single ...
by Yim
Sun Feb 21, 2021 11:27 pm
Forum: Genesis / Mega Drive, Sega CD, 32X
Topic: Sonic 2 consistent screen size with integer scale for 240p
Replies: 10
Views: 6163

Re: Sonic 2 consistent screen size with integer scale for 240p

If you want integer scaling with a 240 source on a 1080 screen, it can only be done in a window. 1080=240x4.5, so you can’t integer scale to fill the whole capacity. The closest you can do is a 4x upscale to 960. One advantage of going to 960 is it’s also a 2x upscale of 480, so it should be consistent for one and two player modes in Sonic 2. The w...
by Yim
Sun Feb 21, 2021 12:27 pm
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 51706

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

Looks like 5x compatibility mode has a wider resolution, and a higher pixel clock as a result. The other one I think makes the mister output resolution the same as the upscaled core resolution, the compatibility includes a border on each side to match wide screen displays. I’ve already said that I don’t really get all the video mode stuff, so maybe...
by Yim
Sun Feb 21, 2021 1:55 am
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 51706

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

I find all this modeline stuff confusing, but if you haven’t got borders running a 224 line game on a 2160 line TV then you haven’t got vertical integer scaling. Unless that’s not what you’re aiming for and you’re just looking for horizontal integers? Anyway, the reason you get smaller borders on video mode 0 (720 lines) is that the source resoluti...
by Yim
Sun Feb 21, 2021 1:32 am
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

I’m glad to see this feature coming, though a little disappointed I didn’t manage to find a way to do it myself that would be accepted. Looking forward to seeing the code and how someone who knows what they’re doing implements it.
by Yim
Thu Feb 18, 2021 2:10 pm
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

That seems to be how vertical integer scaling is done: uint32_t div = 1 << (cfg.vscale_mode - 1); uint32_t mag = (scrh*div) / height; scrh = (height * mag) / div; Which is essentially the same as how I was trying to do horizontal integer scaling (leaving aside div, which is there to facilitate half and quarter integer scales). I’m gonna have to spe...
by Yim
Wed Feb 17, 2021 1:30 pm
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

It could be helpful, depends where I go with this. Thanks. I’ve made a comment on the pull request asking if there’s any chance of getting my code in if I can improve it. If sorgelig doesn’t want me messing with the scaler (and fair enough if so) then there’s not much point pursuing it. Maybe I could do it somewhere else in the framework, but again...
by Yim
Tue Feb 16, 2021 3:38 pm
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

GREAT work!! :) - much appreciated! - fingers crossed for a fix and the pull request to be accepted! :) Which repository is it? - this one? - https://github.com/MiSTer-devel/Main_MiSTer/pulls ? Thanks! My request was on the template , with the goal of getting it into the framework. It looks like that isn't going to happen unless I can figure out a...
by Yim
Tue Feb 16, 2021 4:03 am
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

Yeah, the comment from sorgelig is that division and multiplication are costly in terms of logic and reduce the fmax (the maximum clock frequency), so this is not a good addition for the framework. If it works ok in some cores then it could be added to them individually, though I’d have to figure out how. I think I wouldn’t be able to do it in the ...
by Yim
Mon Feb 15, 2021 3:13 pm
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

I've added auto to the menu, and here's the new version of the scaler code: h_int_multiple := (hmax-hmin+1)/(i_hmax+1); h_int_mod := (hmax - hmin +1) MOD (i_hmax + 1); h_int_up := h_int(1 DOWNTO 0)="10" OR (h_int(1 DOWNTO 0)="11" AND (h_int_mod * 2) > (i_hmax + 1)); I've now got three variables. The multiple is the integer resul...
by Yim
Mon Feb 15, 2021 4:14 am
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 15243

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

I’ve closed the pull request for now because I’ve thought of another change for it: I’ll make the options Off, Narrow, Wide, and Auto. Auto will choose between narrow and wide on the basis of which would be closer to the selected aspect ratio. I’ve got the code planned out, once I get the time I’ll make a build, and once that’s working I’ll redo th...