I modded a GBC to be able to control it from a computer using an Arduino and now I'm trying to be able to record and playback gameplay. I'm currently using the pad labeled SPS on the board as a measure of time since it seems to run at a steady 60ish Hz but when playing back a recording it seems to get out of sync very easily.
So I was wondering if there would be a better place to get my timing from, possibly some kind of input latch like a NES controller has if that exists somewhere on a GBC?
Thanks.
GBC input timing
Re: GBC input timing
GBC does not have autoread like SNES. Games may read input at any time they wish, and as many times a frame they wish. It sounds like this is your issue, and when you supply input too late, the game applies it one frame later.
I don't think there is any "latch" hw signal, but I'm not 100% sure.
I don't think there is any "latch" hw signal, but I'm not 100% sure.
-
- Posts: 3
- Joined: Sat May 20, 2023 9:17 pm
Re: GBC input timing
Well that's unfortunate, it still happens even with a hardcoded sequence of inputs so maybe an Arduino just isn't fast enough.
Thanks for the info.
Thanks for the info.
Re: GBC input timing
On the original Game boy, there's a signal that the code must toggle in order to scan the joypad.
Unfortunately for you, they got rid of it on the Game Boy Color, and there's just 8 digital inputs instead.
Unfortunately for you, they got rid of it on the Game Boy Color, and there's just 8 digital inputs instead.
Re: GBC input timing
Earlier Game Boy systems (Game Boy, Super Game Boy, and Game Boy pocket) have a 2x4-key matrix that the program scans using two output lines (P14 and P15). Does Game Boy Color still output P14 on the SD line of the Game Link connector?
-
- Posts: 3
- Joined: Sat May 20, 2023 9:17 pm