New core: Gameboy

https://github.com/mist-devel/mist-board/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1272
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: New core: Gameboy

Postby MasterOfGizmo » Tue Feb 05, 2019 8:53 pm

Indeed. I implemented a scan quadrupler. But the timing is pretty far from genuine VGA modes so it doesn' surprise me that especially TVs don't cope with that. I also tried to jmplement YPbPr but none of my screens coped with the resulting signals.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 649
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: New core: Gameboy

Postby DrOG » Sat Feb 09, 2019 5:18 am

My BenQ BL-912 says resulotion is 1024x600@60Hz.
You do not have the required permissions to view the files attached to this post.

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 649
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: New core: Gameboy

Postby DrOG » Sat Feb 09, 2019 7:27 am

My LG DM2352 says it's 800x600@60Hz, but the image is trunctated, and I can not adjust it manually.
You do not have the required permissions to view the files attached to this post.

Televicious
Atari freak
Atari freak
Posts: 69
Joined: Sun Sep 24, 2017 6:18 pm

Re: New core: Gameboy

Postby Televicious » Sun Feb 10, 2019 7:00 pm

Yea, I'm using an NEC Multisync 1530 and that gives a flashing screen. Testing on Vizio VO370M, VGA converter box, and GM60 projector.

Starts up fine on the tv and projector. Kid Icarus freezes when going to start menu. Lsdj does nothing after nintedo logo. Converter box had no effect. Metroid 2 still works though.

Also, signal on the TV is detected as 640x480 60hz.

slingshot
Atari God
Atari God
Posts: 1131
Joined: Mon Aug 06, 2018 3:05 pm

Re: New core: Gameboy

Postby slingshot » Wed Feb 13, 2019 1:01 am

I've backported the MiSTer improvements to MiST with GBC support.
Here's a test release, if it doesn't have great regressions, I'll put it to mist-binaries.
Thanks for @brNX who improved the core a lot.
You do not have the required permissions to view the files attached to this post.

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 649
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: New core: Gameboy

Postby DrOG » Wed Feb 13, 2019 6:28 am

Hi! Thanks for backporting!

It seems the same issue persist in aspect of VGA output: trunctated on the left and unadjustable image on the LG DM2352. Tried it on another LG monitor (an old L1734S), which shows near correct image using the 'Auto' button at 800x600@60Hz, but picture is badly centered, and shows some glaphic glitches at the left side of the image (marked with red boxes on the last attachment).
You do not have the required permissions to view the files attached to this post.

slingshot
Atari God
Atari God
Posts: 1131
Joined: Mon Aug 06, 2018 3:05 pm

Re: New core: Gameboy

Postby slingshot » Wed Feb 13, 2019 6:52 am

The output is unchanged (except it can be color).
@MasterOfGizmo probably these can be adjusted for better centering?

Code: Select all

parameter HFP = 24;     // unused time before hsync
parameter HS  = 20;     // width of hsync
parameter HBP = 24; // unused time after hsync

I think the back porch must be longer than the front to achieve good centering.

Another idea: allow to disable scanquadrupling, maybe some TVs can cope with it (about 18kHz horizontal frequency, 308 lines - which is already the double of the original).

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1272
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: New core: Gameboy

Postby MasterOfGizmo » Wed Feb 13, 2019 9:00 pm

Sure, vga sync timing can be adjusted. My screens cope fine with the currrent timing so i had no reason to change it.

I once tried the 18khz signal but could not find a single screen that coped with that. But that was before YPbPr times so i might try again.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

LarsDragon
Atari User
Atari User
Posts: 33
Joined: Sun Dec 10, 2017 12:08 am

Re: New core: Gameboy

Postby LarsDragon » Thu Feb 14, 2019 7:18 am

Hi Slingshot!, thanks for upgrade the Gameboy core.
I like to make a question, could be RGB support in Gameboy like Game Gear in SMS core?

slingshot
Atari God
Atari God
Posts: 1131
Joined: Mon Aug 06, 2018 3:05 pm

Re: New core: Gameboy

Postby slingshot » Thu Feb 14, 2019 9:18 am

LarsDragon wrote:Hi Slingshot!, thanks for upgrade the Gameboy core.
I like to make a question, could be RGB support in Gameboy like Game Gear in SMS core?

It's already RGB :)
If you mean TV frequency, see the answer just before your question.

LarsDragon
Atari User
Atari User
Posts: 33
Joined: Sun Dec 10, 2017 12:08 am

Re: New core: Gameboy

Postby LarsDragon » Thu Feb 14, 2019 11:58 am

slingshot wrote:
LarsDragon wrote:Hi Slingshot!, thanks for upgrade the Gameboy core.
I like to make a question, could be RGB support in Gameboy like Game Gear in SMS core?

It's already RGB :)
If you mean TV frequency, see the answer just before your question.

I mean 15khz signal over Scart output :roll:

slingshot
Atari God
Atari God
Posts: 1131
Joined: Mon Aug 06, 2018 3:05 pm

Re: New core: Gameboy

Postby slingshot » Thu Feb 14, 2019 1:11 pm

LarsDragon wrote:I mean 15khz signal over Scart output :roll:


As the Gameboy output is 9kHz originally, then it's possible to have 18kHz or 36 (that's the current one), but no 15. So it depends on luck if it would work on your TV.

LarsDragon
Atari User
Atari User
Posts: 33
Joined: Sun Dec 10, 2017 12:08 am

Re: New core: Gameboy

Postby LarsDragon » Thu Feb 14, 2019 1:24 pm

slingshot wrote:
LarsDragon wrote:I mean 15khz signal over Scart output :roll:


As the Gameboy output is 9kHz originally, then it's possible to have 18kHz or 36 (that's the current one), but no 15. So it depends on luck if it would work on your TV.

Ok, thanks for the clarification. :cheers:

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 821
Joined: Fri Apr 24, 2015 12:10 pm

Re: New core: Gameboy

Postby vebxenon » Fri Feb 15, 2019 8:08 pm

slingshot wrote:I've backported the MiSTer improvements to MiST with GBC support.
Here's a test release, if it doesn't have great regressions, I'll put it to mist-binaries.
Thanks for @brNX who improved the core a lot.


Wow, I'm going to test it. Thanks!!
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

Lroby74
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 143
Joined: Sun Sep 04, 2016 8:35 pm

Re: New core: Gameboy

Postby Lroby74 » Sat Feb 16, 2019 12:05 am

slingshot wrote:I've backported the MiSTer improvements to MiST with GBC support.
Here's a test release, if it doesn't have great regressions, I'll put it to mist-binaries.
Thanks for @brNX who improved the core a lot.


With this last new core of Gameboy, Tennis World doesn't start anymore, with previous core it works

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 730
Joined: Tue Feb 21, 2017 7:02 am

Re: New core: Gameboy

Postby DanyPPC » Sat Feb 16, 2019 8:09 am

New core works only on VGA (800 x 600 @ 60Hz). Seems good but some games do not work.
The screen is big, I think it may use a window instead, like some PC emulators.

slingshot
Atari God
Atari God
Posts: 1131
Joined: Mon Aug 06, 2018 3:05 pm

Re: New core: Gameboy

Postby slingshot » Sat Feb 16, 2019 10:27 am

Was there a core somewhere which worked on non-vga screens?

slingshot
Atari God
Atari God
Posts: 1131
Joined: Mon Aug 06, 2018 3:05 pm

Re: New core: Gameboy

Postby slingshot » Sat Feb 16, 2019 12:25 pm

Lroby74 wrote:With this last new core of Gameboy, Tennis World doesn't start anymore, with previous core it works


Maybe hallucinating, but works for me (if it's the Tennis game (World release) - Mario is the judge)

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 730
Joined: Tue Feb 21, 2017 7:02 am

Re: New core: Gameboy

Postby DanyPPC » Sat Feb 16, 2019 12:53 pm

slingshot wrote:Was there a core somewhere which worked on non-vga screens?


:D
I meant to say that the Core does not go via Scart RGB or YPbPr cable.

slingshot
Atari God
Atari God
Posts: 1131
Joined: Mon Aug 06, 2018 3:05 pm

Re: New core: Gameboy

Postby slingshot » Sat Feb 16, 2019 1:07 pm

DanyPPC wrote:
slingshot wrote:Was there a core somewhere which worked on non-vga screens?


:D
I meant to say that the Core does not go via Scart RGB or YPbPr cable.


Just as the genuine Gameboy.
PS: try the attached core for hopefully better centering (on VGA)
You do not have the required permissions to view the files attached to this post.

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 730
Joined: Tue Feb 21, 2017 7:02 am

Re: New core: Gameboy

Postby DanyPPC » Sat Feb 16, 2019 2:29 pm

No Scart, no YPbPr.

No problem, VGA works, but I'm not a great gameboy fan :)

desUBIKado
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 119
Joined: Sat Jan 06, 2018 11:49 pm

Re: New core: Gameboy

Postby desUBIKado » Sat Feb 16, 2019 5:17 pm

slingshot wrote:PS: try the attached core for hopefully better centering (on VGA)


With this core, gb-test-20190216, the image is significantly displaced to the right on my monitor FLATRON M1917A. With the previous core, gb-20190213, the image was well centered

Edit 2019.02.17: Sorry, sorry, sorry. On my monitor the image looked very centered because I had already corrected the deviation manually and I had forgotten. In the new core the image is well centered.
Last edited by desUBIKado on Sun Feb 17, 2019 9:17 am, edited 1 time in total.

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 649
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: New core: Gameboy

Postby DrOG » Sun Feb 17, 2019 5:14 am

slingshot wrote:
DanyPPC wrote:
slingshot wrote:Was there a core somewhere which worked on non-vga screens?

:D
I meant to say that the Core does not go via Scart RGB or YPbPr cable.

Just as the genuine Gameboy.
PS: try the attached core for hopefully better centering (on VGA)

Hi!

New core has better video centering on my LG DM2352, but still not perfect. Attached the screenshots os the previous and the last core, and a third one on which I marked the border of the plus part of the video with a red line.

Thanks for improving this core! :cheers:
You do not have the required permissions to view the files attached to this post.

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 821
Joined: Fri Apr 24, 2015 12:10 pm

Re: New core: Gameboy

Postby vebxenon » Sun Feb 17, 2019 12:06 pm

And now Gameboy Color :D also. That's outstanding.
You do not have the required permissions to view the files attached to this post.
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board

User avatar
vebxenon
Atari Super Hero
Atari Super Hero
Posts: 821
Joined: Fri Apr 24, 2015 12:10 pm

Re: New core: Gameboy

Postby vebxenon » Sun Feb 17, 2019 12:13 pm

About centering, on my monitor, lowest línes are not displayed when centering. But this core now it's better than ever :). Some graphical fixes in Gameboy Color and this centering issues and It Will be perfect :D Thanks very much!!
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 1 guest

cron