]> git.sur5r.net Git - cc65/blob - include/atari2600.h
Merge pull request #625 from ops/VIAFIX
[cc65] / include / atari2600.h
1 /*****************************************************************************/
2 /*                                                                           */
3 /* Atari VCS 2600 TIA & RIOT registers addresses                             */
4 /*                                                                           */
5 /* Source: DASM Version 1.05 - vcs.h                                         */
6 /*                                                                           */
7 /* Florent Flament (contact@florentflament.com), 2017                        */
8 /*                                                                           */
9 /*****************************************************************************/
10
11
12
13 #ifndef _ATARI2600_H
14 #define _ATARI2600_H
15
16
17
18 /* Check for errors */
19 #if !defined(__ATARI2600__)
20 #  error This module may only be used when compiling for the Atari 2600!
21 #endif
22
23 #include <_tia.h>
24 #define TIA (*(struct __tia*)0x0000)
25
26 #include <_riot.h>
27 #define RIOT (*(struct __riot*)0x0280)
28
29
30
31 /* End of atari2600.h */
32 #endif