Add C support for Atari 2600 (VCS)

This commit is contained in:
Florent Flament
2017-01-08 19:12:55 +01:00
parent 1fc2dfb64f
commit c1aac0de0e
13 changed files with 456 additions and 0 deletions

26
include/_riot.h Normal file
View File

@@ -0,0 +1,26 @@
/*****************************************************************************/
/* */
/* Atari VCS 2600 RIOT registers addresses */
/* */
/* Source: DASM - vcs.h */
/* */
/* Florent Flament (contact@florentflament.com), 2017 */
/* */
/*****************************************************************************/
/* RIOT registers */
struct __riot {
unsigned char swcha;
unsigned char swacnt;
unsigned char swchb;
unsigned char swbcnt;
unsigned char intim;
unsigned char timint;
unsigned char unused[14];
unsigned char tim1t;
unsigned char tim8t;
unsigned char tim64t;
unsigned char t1024t;
};