add CPU and memory modules with associated header files; update README and .gitignore

This commit is contained in:
2025-12-21 18:45:56 +03:00
parent 7d607ec86d
commit 45b96c4390
7 changed files with 39 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
#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