Reorganized/sorted some of the known programs
[virtual-nascom.git] / nascom.h
blobad6e5bb6837d936cad365658ced0e310e1260163
1 #define VERSION "1.0"
2 #define YAZEVERSION "1.10"
5 /* Z80 registers */
7 WORD af[2]; /* accumulator and flags (2 banks) */
8 int af_sel; /* bank select for af */
10 struct ddregs regs[2]; /* bc,de,hl */
11 int regs_sel; /* bank select for ddregs */
13 WORD ir; /* other Z80 registers */
14 WORD ix;
15 WORD iy;
16 WORD sp;
17 WORD pc;
18 WORD IFF;
20 #define INSCREEN(x) (((x) >> 10) == 2)
22 BYTE ram[MEMSIZE*1024]; /* Z80 memory space */
23 #ifdef MMU
24 BYTE *pagetable[MEMSIZE/4]; /* MMU page table */
25 #endif
27 #ifndef LIBDIR
28 #define LIBDIR "/usr/local/lib/"
29 #endif
31 char *monitor;
32 char *progname;
33 int vflag;
34 unsigned char keym[9];
36 int setup(int, char **);