The gb_hardware
module is imported automatically on Game Boy targets.
TODO
The gb_header_small
module is imported automatically on small Game Boy targets.
It contains the default header for 32K Game Boy programs.
Provides an interface for reading joypads that is compatible with the joy
module.
1 if A button pressed, 0 id not pressed.
1 if B button pressed, 0 id not pressed.
1 if Select button pressed, 0 id not pressed.
1 if Start button pressed, 0 id not pressed.
Reads the joypad.