Gameboy core
-
- Atari maniac
- Posts: 93
- Joined: Fri Jul 05, 2019 9:34 pm
Re: Gameboy core
It is recommend you use the stability feature. Why would you turn it off?
-
- Atari freak
- Posts: 50
- Joined: Sun Oct 13, 2019 12:34 pm
Re: Gameboy core
For better input latency. I'm looking at the LCD code and it mentions a double buffer. So I'm wondering if when you turn on stability feature it adds 1 - 2 frames of lag, or does it work like the GBA sync to core buffer that is really fast?trashuncle wrote:It is recommend you use the stability feature. Why would you turn it off?
Re: Gameboy core
Code is mostly copy-pasted from GBA core. So it's very similar.
Re: Gameboy core
It adds about 0.4 frame latency to the 0-1 frame latency of the previous releases but that is at the top of the screen only. At the bottom it is 0 added latency.SegaSnatcher wrote: For better input latency. I'm looking at the LCD code and it mentions a double buffer. So I'm wondering if when you turn on stability feature it adds 1 - 2 frames of lag, or does it work like the GBA sync to core buffer that is really fast?
If you disable stabilization then the maximum latency is 0.4 frames at the top of the screen and 0 at the bottom but you will have to deal with unstable video if you use a CRT or vsync_adjust=2.
-
- Atari freak
- Posts: 50
- Joined: Sun Oct 13, 2019 12:34 pm
Re: Gameboy core
Sorgelig wrote:Code is mostly copy-pasted from GBA core. So it's very similar.
Thanks for the detailed response. Glad to see you were able to use some code from the GBA core to help with stability.paulbnl wrote:It adds about 0.4 frame latency to the 0-1 frame latency of the previous releases but that is at the top of the screen only. At the bottom it is 0 added latency.SegaSnatcher wrote: For better input latency. I'm looking at the LCD code and it mentions a double buffer. So I'm wondering if when you turn on stability feature it adds 1 - 2 frames of lag, or does it work like the GBA sync to core buffer that is really fast?
If you disable stabilization then the maximum latency is 0.4 frames at the top of the screen and 0 at the bottom but you will have to deal with unstable video if you use a CRT or vsync_adjust=2.
Re: Gameboy core
Great work. Last update fixes a lot of scanline issues. But there are still some bugs while running "hi-colour" images like in rayman intro.
.

Re: Gameboy core
Found a great in-depth article about the GBC audio chip. I thought I'd share it in case someone here could find it useful:
Reverse-engineering the audio chip in the Nintendo Game Boy Color
Reverse-engineering the audio chip in the Nintendo Game Boy Color
Re: Gameboy core
it's almost generic audio amplifier. Just suitable for several audio outputs in GBC. It has nothing to do with sound generation.parski wrote:Found a great in-depth article about the GBC audio chip. I thought I'd share it in case someone here could find it useful:
Reverse-engineering the audio chip in the Nintendo Game Boy Color
Re: Gameboy core
You're welcome.Sorgelig wrote:it's almost generic audio amplifier. Just suitable for several audio outputs in GBC. It has nothing to do with sound generation.
