diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-03-17 20:49:22 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-03-17 20:49:22 +1000 |
| commit | 18868128e18d38b706e7df14e8e683e1a9739c17 (patch) | |
| tree | 6f0e0e5eee646f10cbad9c0c89c24d330bc58cc6 /Emulator/Q1Layout.cs | |
| parent | d87ab8af4c86a3fc6ee237444e372d87e536e3ef (diff) | |
chore: Initial commit
Diffstat (limited to 'Emulator/Q1Layout.cs')
| -rw-r--r-- | Emulator/Q1Layout.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Emulator/Q1Layout.cs b/Emulator/Q1Layout.cs deleted file mode 100644 index 60a99c0..0000000 --- a/Emulator/Q1Layout.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Q1.Emulator; - -using Chip; - -public static class Q1Layout -{ - public static readonly u16 DisplayWidth = 128; - public static readonly u16 DisplayHeight = 64; - public static readonly u16 DisplayPaletteSize = 16; - - // Bus locations - public static readonly (u16 start, u16 size) Rom = (0x1FFF, 1024 * 8); - public static readonly (u16 start, u16 size) Hid = (0x602F, HIDDevice.CalculateSize()); - public static readonly (u16 start, u16 size) Memory = (0x6FFF, 1024 * 16); - public static readonly (u16 start, u16 size) Display = (0x3FFF, - DisplayDevice.DetermineSize(Q1Layout.DisplayPaletteSize, Q1Layout.DisplayWidth, Q1Layout.DisplayHeight)); - - - public static readonly u16 StackStart = Q1Layout.Memory.start; - public static readonly u16 StackLength = 256 * 2; // 256 16-bit values - public static readonly u16 FreeMemoryStart = (u16) (Q1Layout.StackStart + Q1Layout.StackLength); - public static readonly u16 ProgramStart = Q1Layout.Rom.start; -}
\ No newline at end of file |
