|
|
1.1 root 1: int memz80_init(void);
2:
1.1.1.2 ! root 3: extern uint8 (*memz80_fetch_byte[0x100])(uint16 addr);
! 4: extern void (*memz80_store_byte[0x100])(uint16 addr, uint8 data);
1.1 root 5:
6: #define memz80_fetchbyte(addr) memz80_fetch_byte[(addr)>>8](addr)
7:
8: #define memz80_storebyte(addr,data) memz80_store_byte[(addr)>>8](addr,data)
9:
10: typedef struct {
11: uint16 start;
12: uint16 end;
1.1.1.2 ! root 13: uint8 (*fetch_byte)(uint16 addr);
! 14: void (*store_byte)(uint16 addr, uint8 data);
1.1 root 15: } t_memz80_def;
1.1.1.2 ! root 16:
! 17: extern t_memz80_def memz80_def[];
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.