diff --git a/src/addressing.h b/src/addressing.h index e69de29..f0f1fc5 100644 --- a/src/addressing.h +++ b/src/addressing.h @@ -0,0 +1,18 @@ +#ifndef ADDRESSING_H +#define ADDRESSING_H + +#include +#include + +typedef struct +{ + uint8_t (*read8)(uint16_t addr, void *userdata); + void (*read16)(uint16_t addr, void *userdata); + + void *userdata; + + // cpu registers + +} addr_ctx_t; + +#endif \ No newline at end of file