mirror of
https://github.com/andwati/mos-6502.git
synced 2026-10-18 03:02:51 +00:00
18 lines
270 B
C
18 lines
270 B
C
#ifndef ADDRESSING_H
|
|
#define ADDRESSING_H
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
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 |