added visible memory

This commit is contained in:
zanostro 2025-11-15 13:17:43 +01:00
parent c918993060
commit 280a3b62fc
4 changed files with 265 additions and 2 deletions

View file

@ -6,7 +6,7 @@
// ==============================
// Memory and system constants
constexpr int MEMORY_SIZE = 65536;
constexpr int MEMORY_SIZE = 1 << 20; // 1 MB memory
constexpr int NUM_DEVICES = 256;
constexpr int WORD_SIZE = 24;
constexpr int WORD_MASK = 0xFFFFFF;