mirror of
https://github.com/pret/pokered.git
synced 2026-05-10 04:42:31 -05:00
16 lines
266 B
NASM
16 lines
266 B
NASM
; Boolean checks
|
|
DEF FALSE EQU 0
|
|
DEF TRUE EQU 1
|
|
|
|
; flag operations
|
|
const_def
|
|
const FLAG_RESET ; 0
|
|
const FLAG_SET ; 1
|
|
const FLAG_TEST ; 2
|
|
|
|
; input
|
|
DEF NO_INPUT EQU 0
|
|
|
|
; SGB command MLT_REQ can be used to detect SGB hardware
|
|
DEF JOYP_SGB_MLT_REQ EQU %00000011
|