mirror of
https://github.com/cc65/cc65.git
synced 2025-03-20 14:29:57 +00:00
added _dos_type with defines and getdefdev()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2299 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
624b88e976
commit
0d0977ff69
@ -152,6 +152,10 @@ extern void save_vecs(void); /* save system vectors */
|
||||
extern void rest_vecs(void); /* restore system vectors */
|
||||
extern unsigned char get_ostype(void); /* get ROM version */
|
||||
extern unsigned char get_tv(void); /* get TV system */
|
||||
extern char *getdefdev(void); /* get default floppy device */
|
||||
|
||||
/* global variables */
|
||||
extern unsigned char _dos_type; /* the DOS flavour */
|
||||
|
||||
/* get_ostype return value defines (for explanation, see ostype.s) */
|
||||
/* masks */
|
||||
@ -180,6 +184,13 @@ extern unsigned char get_tv(void); /* get TV system */
|
||||
#define AT_NTSC 0
|
||||
#define AT_PAL 1
|
||||
|
||||
/* valid _dos_type values */
|
||||
#define ATARIDOS 0
|
||||
#define SPARTADOS 1
|
||||
#define OSADOS 2
|
||||
#define MYDOS 3 /* detection currently not implemented */
|
||||
#define NODOS 255 /* detection currently not implemented */
|
||||
|
||||
/* Define hardware */
|
||||
#include <_gtia.h>
|
||||
#define GTIA_READ (*(struct __gtia_read*)0xD000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user