|
|
1.1.1.3 root 1: #ifdef RAZE
2: # include "raze.h"
3: #else
1.1.1.4 ! root 4: # include "cmz80.h"
1.1.1.3 root 5: CONTEXTMZ80 cpuz80_z80; /* extern'd for save state code */
6: #endif
1.1.1.2 root 7:
1.1 root 8: #define LEN_SRAM 0x2000
9:
10: extern uint8 *cpuz80_ram;
11: extern uint32 cpuz80_bank;
1.1.1.4 ! root 12: extern uint8 cpuz80_active;
! 13: extern uint8 cpuz80_resetting;
! 14: extern unsigned int cpuz80_on;
1.1 root 15:
16: void cpuz80_reset(void);
17: void cpuz80_resetcpu(void);
18: void cpuz80_unresetcpu(void);
19: void cpuz80_bankwrite(uint8 data);
20: void cpuz80_stop(void);
21: void cpuz80_start(void);
22: void cpuz80_endfield(void);
23: void cpuz80_sync(void);
24: void cpuz80_interrupt(void);
1.1.1.3 root 25: void cpuz80_uninterrupt(void); /* debug */
1.1 root 26: uint8 cpuz80_portread(uint8 port);
27: void cpuz80_portwrite(uint8 port, uint8 value);
28: int cpuz80_init(void);
1.1.1.2 root 29: void cpuz80_updatecontext(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.