;
; Atari Lynx 65C02 hardware base definitions
;

.DEFINE LYNX_SUZY_BASE              $FC00
.DEFINE LYNX_MIKEY_BASE             $FD00

.DEFINE LYNX_SPRSYS                 $FC92
.DEFINE LYNX_RCART0                 $FCB2

.DEFINE LYNX_TIM0BKUP               $FD00
.DEFINE LYNX_TIM0CTLA               $FD01
.DEFINE LYNX_TIM2BKUP               $FD08
.DEFINE LYNX_TIM2CTLA               $FD09
.DEFINE LYNX_TIM7BKUP               $FD1C
.DEFINE LYNX_TIM7CTLA               $FD1D

.DEFINE LYNX_AUD0VOL                $FD20
.DEFINE LYNX_AUD0FEED               $FD21
.DEFINE LYNX_AUD0OUT                $FD22
.DEFINE LYNX_AUD0SHIFT              $FD23
.DEFINE LYNX_AUD0BKUP               $FD24
.DEFINE LYNX_AUD0CTLA               $FD25
.DEFINE LYNX_AUD0CNT                $FD26
.DEFINE LYNX_AUD0CTLB               $FD27
.DEFINE LYNX_AUD1VOL                $FD28
.DEFINE LYNX_AUD1CTLA               $FD2D
.DEFINE LYNX_AUD2VOL                $FD30
.DEFINE LYNX_AUD2CTLA               $FD35
.DEFINE LYNX_AUD3VOL                $FD38
.DEFINE LYNX_AUD3CTLA               $FD3D
.DEFINE LYNX_MPAN                   $FD44
.DEFINE LYNX_MSTEREO                $FD50

.DEFINE LYNX_INTRST                 $FD80
.DEFINE LYNX_INTSET                 $FD81
.DEFINE LYNX_AUDIN                  $FD86
.DEFINE LYNX_SYSCTL1                $FD87
.DEFINE LYNX_IODIR                  $FD8A
.DEFINE LYNX_IODAT                  $FD8B
.DEFINE LYNX_SERCTL                 $FD8C
.DEFINE LYNX_DISPCTL                $FD92
.DEFINE LYNX_PBKUP                  $FD93
.DEFINE LYNX_DISPADRL               $FD94
.DEFINE LYNX_DISPADRH               $FD95
.DEFINE LYNX_GCOLMAP                $FDA0
.DEFINE LYNX_RBCOLMAP               $FDB0

.DEFINE LYNX_MAPCTL                 $FFF9

.DEFINE LYNX_VECTOR_NMI             $FFFA
.DEFINE LYNX_VECTOR_RESET           $FFFC
.DEFINE LYNX_VECTOR_IRQ             $FFFE

.DEFINE LYNX_TIM_ENABLE_INT         %10000000
.DEFINE LYNX_TIM_ENABLE_RELOAD      %00010000
.DEFINE LYNX_TIM_ENABLE_COUNT       %00001000
.DEFINE LYNX_TIM_CLOCK_64           %00000110
.DEFINE LYNX_AUD_FEED_TAP_0         %00000001
.DEFINE LYNX_AUD_CTLA_FEEDBACK_7    %10000000