You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in one of the groups: Users, Administrators.
Free text:
{{#seo: |title=GameBrew |title_mode=append |image=tellinglysgb.png |image_alt=Telling LYs? }} This program tests a Game Boy emulator's input entropy. The Game Boy has an interrupt that can fire when a button changes from not pressed to pressed. This interrupt can fire at any time in the frame: top, middle, bottom, or in the vertical blanking between frames. A program can see exactly when the interrupt fired by inspecting a hardware register called "LY", which presumably stands for LCD Y Position. For instance, it could wait for a press at the title screen and then seed a random number generator from "LY". But simple emulators always fire the joypad interrupt at the same time each frame, such as the start or end of vertical blanking. The lack of variance in "LY" is telling about whether an emulator was used; hence the name. == User guide == Starting at the title screen, press all four directions on the Control Pad and all four buttons (A, B, Select, and Start), one after another in any order. The arrow at the right side tells exactly when, relative to the LCD frame, your button changed from not pressed to pressed. Once you have pressed all eight keys, a screen for passing or failing appears. Test results: * Game Boy (DMG), Game Boy Color (CGB): Pass. * Game Boy Player (DOL-017): Pass. * BGB 1.5.7: Pass. * mGBA 0.8-5388-f92059be: Fail (though replies to [https://github.com/mgba-emu/mgba/issues/1232 issue #1232] dispute whether it's a bug at all). == Screenshots == https://dlhb.gamebrew.org/gbhomebrews/tellinglysgb2.png https://dlhb.gamebrew.org/gbhomebrews/tellinglysgb3.png == External links == * Author's website - https://pineight.com/nes/ * NesDev forums - https://forums.nesdev.org/viewtopic.php?t=18026
Advertising: