]> git.sur5r.net Git - cc65/blob - include/atari2600.h
Added a missing -O configuration.
[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 #ifndef _ATARI2600_H
12 #define _ATARI2600_H
13
14 /* Check for errors */
15 #if !defined(__ATARI2600__)
16 #  error This module may only be used when compiling for the Atari 2600!
17 #endif
18
19 #include <_tia.h>
20 #define TIA (*(struct __tia*)0x0000)
21
22 #include <_riot.h>
23 #define RIOT (*(struct __riot*)0x0280)
24
25 /* End of atari2600.h */
26 #endif /* #ifndef _ATARI2600_H */