summaryrefslogtreecommitdiff
path: root/Q1.core/Arch/ChipLayout.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-03-18 23:08:58 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-03-18 23:08:58 +1000
commit7d20ff2a8e89e646fa79be69c8d07a512081daba (patch)
tree67433c74d55f778065363010a593c44a0f65296b /Q1.core/Arch/ChipLayout.cs
parent0bb62fc65526a0981cd328dea1b09aba8ce0a576 (diff)
test: Add tests for all control instructions and base CPU implementation
Diffstat (limited to 'Q1.core/Arch/ChipLayout.cs')
-rw-r--r--Q1.core/Arch/ChipLayout.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/Q1.core/Arch/ChipLayout.cs b/Q1.core/Arch/ChipLayout.cs
deleted file mode 100644
index 6c7187b..0000000
--- a/Q1.core/Arch/ChipLayout.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-namespace Q1.core.Arch;
-
-public static class ChipLayout
-{
- public const u16 MEMORY_START = 0x0000;
- public const u16 MEMORY_SIZE = 0x4000; // 16KB of memory (0x0000 to 0x3FFF)
-
- public const u16 IVT_START = ChipLayout.MEMORY_START;
- public const u16 IVT_COUNT = 128; // 128 interrupt vectors
- public const u16 IVT_SIZE = ChipLayout.IVT_COUNT * 2; // Each vector is 2 bytes (u16)
-
- public const u16 STACK_START = ChipLayout.IVT_START + ChipLayout.IVT_SIZE;
- public const u16 STACK_COUNT = 256;
- public const u16 STACK_SIZE = ChipLayout.STACK_COUNT * 2; // Each stack entry is 2 bytes (u16)
-
- public const u16 PROGRAM_START = ChipLayout.STACK_START + ChipLayout.STACK_SIZE;
-} \ No newline at end of file