added visible memory
This commit is contained in:
parent
c918993060
commit
280a3b62fc
4 changed files with 265 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue