From: Christian Groessler Date: Wed, 8 Mar 2017 12:16:40 +0000 (+0100) Subject: creativision.inc: add symbolic names for joystick direction values X-Git-Tag: V2.16~35^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97e3472c8701c2b7b89e8d4d98f693a25277c187;p=cc65 creativision.inc: add symbolic names for joystick direction values --- diff --git a/asminc/creativision.inc b/asminc/creativision.inc index 59b26101b..83a63ba07 100644 --- a/asminc/creativision.inc +++ b/asminc/creativision.inc @@ -36,6 +36,24 @@ ZP_JOY1_DIR = $13 ZP_JOY0_BUTTONS = $16 ZP_JOY1_BUTTONS = $17 +;** Joystick direction values (ZP_JOY0_DIR/ZP_JOY1_DIR) +JOY_N = $49 +JOY_NNE = $48 +JOY_NE = $47 +JOY_ENE = $46 +JOY_E = $45 +JOY_ESE = $44 +JOY_SE = $43 +JOY_SSE = $42 +JOY_S = $41 +JOY_SSW = $40 +JOY_SW = $4F +JOY_WSW = $4E +JOY_W = $4D +JOY_WNW = $4C +JOY_NW = $4B +JOY_NNW = $4A + ;** BIOS BIOS_IRQ1_ADDR = $FF3F BIOS_IRQ2_ADDR = $FF52