diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
commit | c9c59dc34323a5e0b1886db5f845c8d41620826e (patch) | |
tree | 0d07de202a4437e02cc8c66178b1dfec5c2a1673 /constants/input_constants.asm | |
parent | 91dc3c9f9c8fd529bb6e8307b58b96efa0bec67e (diff) |
Reorganize constants/
To do: add comments associating constants with data and code
Diffstat (limited to 'constants/input_constants.asm')
-rw-r--r-- | constants/input_constants.asm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/constants/input_constants.asm b/constants/input_constants.asm new file mode 100644 index 00000000..d7aae05b --- /dev/null +++ b/constants/input_constants.asm @@ -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 |