Initial commit

This commit is contained in:
2026-04-10 22:56:16 +03:00
parent 65e7b45861
commit 787857b26f
19 changed files with 4375 additions and 62 deletions

View File

@@ -12,12 +12,22 @@
#define MEMDATA_PS MEMSEG_PS
#define MEMDATA_GP_REGS 1
#define MEMDATA_IO_REGS 2
#define MEMDATA_DS 3
#define MEMDATA_OPSIZE 5
#define MEMSEG_PC_SEG_NUM 1
#define MEMSEG_PC_ADDR 0
#define MEMSEG_DEFINES {\
{MEMSEG_PS, "PS", 2, 1024, 0, 1}, \
{MEMSEG_PC_SEG_NUM, "PC", 2, 1, 1024 + MEMSEG_PC_ADDR + 1, 0} \
{MEMSEG_PS, "PS", 2, 1024, 2, 1}, \
{MEMSEG_PC_SEG_NUM, "PC", 2, 1, 0, 0}, \
{MEMDATA_IO_REGS, "IO_REG", 1, 255, (1024 * 2) + 2, 0}, \
{MEMDATA_GP_REGS, "GP_REG", 1, 32, (1024 * 2) + 2 + 255, 0}, \
{MEMDATA_DS, "DS", 1, 65535, 2, 0} \
}
#endif //ifndef __MEM_SEG_H__