From dcdfc7460cba2548d2b038fdbb411b941b4ece61 Mon Sep 17 00:00:00 2001 From: cpg Date: Wed, 11 Oct 2000 14:30:09 +0000 Subject: [PATCH] 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 --- include/atari.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) -- 2.39.5