1
0
mirror of https://github.com/livingcomputermuseum/UniBone.git synced 2026-05-03 14:39:58 +00:00
Files
livingcomputermuseum.UniBone/10.02_devices/2_src/cpu20/ka11.h
Joerg Hoppe 2530d9cbb5 Initial
2019-04-05 11:30:26 +02:00

25 lines
334 B
C

// 11/20 cpu - TODO
typedef struct KA11 KA11;
struct KA11
{
word r[16];
word b; // B register before BUT JSRJMP
word ba;
word ir;
Bus *bus;
byte psw;
int traps;
int be;
int state;
struct {
int (*bg)(void *dev);
void *dev;
} br[4];
word sw;
};
//void run(KA11 *cpu);
void reset(KA11 *cpu);
void condstep(KA11 *cpu);