From: cpg Date: Wed, 11 Oct 2000 14:30:09 +0000 (+0000) Subject: fixed POKEY and GTIA defines: now there are different defines for read X-Git-Tag: V2.12.0~3168 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dcdfc7460cba2548d2b038fdbb411b941b4ece61;p=cc65 fixed POKEY and GTIA defines: now there are different defines for read and write access git-svn-id: svn://svn.cc65.org/cc65/trunk@358 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/atari.h b/include/atari.h index 8afa647a5..2238c8f84 100644 --- a/include/atari.h +++ b/include/atari.h @@ -156,14 +156,14 @@ extern unsigned int get_ostype(void); /* get ROM version */ /* Define hardware */ #include <_gtia.h> -#define GTIA (*(struct __gtia_write*)0xD000) -#define GTIA (*(struct __gtia_read*)0xD000) +#define GTIA_READ (*(struct __gtia_read*)0xD000) +#define GTIA_WRITE (*(struct __gtia_write*)0xD000) #include <_pbi.h> #include <_pokey.h> -#define POKEY (*(struct __pokey_write*)0xD200) -#define POKEY (*(struct __pokey_read*)0xD200) +#define POKEY_READ (*(struct __pokey_read*)0xD200) +#define POKEY_WRITE (*(struct __pokey_write*)0xD200) #include <_pia.h> #define PIA (*(struct __pia*)0xD300)