mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Reorganize constants/
To do: add comments associating constants with data and code
This commit is contained in:
parent
91dc3c9f9c
commit
c9c59dc343
35 changed files with 2947 additions and 2942 deletions
18
constants/input_constants.asm
Normal file
18
constants/input_constants.asm
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
A_BUTTON EQU %00000001
|
||||
B_BUTTON EQU %00000010
|
||||
SELECT EQU %00000100
|
||||
START EQU %00001000
|
||||
D_RIGHT EQU %00010000
|
||||
D_LEFT EQU %00100000
|
||||
D_UP EQU %01000000
|
||||
D_DOWN EQU %10000000
|
||||
|
||||
const_def
|
||||
const BIT_A_BUTTON
|
||||
const BIT_B_BUTTON
|
||||
const BIT_SELECT
|
||||
const BIT_START
|
||||
const BIT_D_RIGHT
|
||||
const BIT_D_LEFT
|
||||
const BIT_D_UP
|
||||
const BIT_D_DOWN
|
||||
Loading…
Add table
Add a link
Reference in a new issue