aboutsummaryrefslogtreecommitdiff
path: root/nes/bus.go
diff options
context:
space:
mode:
authorcrecher <crecher@crecher.net>2026-10-15 07:39:25 +0200
committercrecher <crecher@crecher.net>2026-10-15 07:39:25 +0200
commitbc2861b7e04be5f407149bbca6ef070e2e3e9925 (patch)
tree163f44ae289ceffa946ffe1be0407727926c5919 /nes/bus.go
parentf357378fcb55e0c0d002a10bc1c19a1e89c53797 (diff)
downloadgones-bc2861b7e04be5f407149bbca6ef070e2e3e9925.tar.gz
gones-bc2861b7e04be5f407149bbca6ef070e2e3e9925.zip
fix table
Diffstat (limited to 'nes/bus.go')
-rw-r--r--nes/bus.go24
1 files changed, 12 insertions, 12 deletions
diff --git a/nes/bus.go b/nes/bus.go
index 4f6c720..bd72ac7 100644
--- a/nes/bus.go
+++ b/nes/bus.go
@@ -2,19 +2,19 @@ package nes
// CPU memory map is:
// +--------------------------------------------------------------------------------------------------+
-// | Address range | Size | Device |
+// | Address range | Size | Device |
// +--------------------------------------------------------------------------------------------------+
-// | $0000-$07FF | $0800 | 2 KB internal RAM |
-// | $0800-$0FFF | $0800 | Mirror of $0000-$07FF |
-// | $1000-$17FF | $0800 | Mirror of $0000-$07FF |
-// | $1800-1FFF | $0800 | Mirror of $0000-$07FF |
-// | $2000-2007 | $0008 | PPU registers |
-// | $2008-$3FFF | $1FF8 | Mirrors of $2000-$2007 (repeats every 8 bytes) |
-// | $4000-4017 | $0018 | APU and I/O registers |
-// | $4018-$401F | $0008 | APU and I/O functionality thats normally disabled (CPU test mode) |
-// | $4020-$FFFF | $BFE0 | Unmapped, available for cartridge |
-// | - $6000-$7FFF | $2000 | Usually cartridge RAM (if present) |
-// | - $8000-$FFFF | $8000 | Usually cartridge ROM (if present) |
+// | $0000-$07FF | $0800 | 2 KB internal RAM |
+// | $0800-$0FFF | $0800 | Mirror of $0000-$07FF |
+// | $1000-$17FF | $0800 | Mirror of $0000-$07FF |
+// | $1800-1FFF | $0800 | Mirror of $0000-$07FF |
+// | $2000-2007 | $0008 | PPU registers |
+// | $2008-$3FFF | $1FF8 | Mirrors of $2000-$2007 (repeats every 8 bytes) |
+// | $4000-4017 | $0018 | APU and I/O registers |
+// | $4018-$401F | $0008 | APU and I/O functionality thats normally disabled (CPU test mode) |
+// | $4020-$FFFF | $BFE0 | Unmapped, available for cartridge |
+// | - $6000-$7FFF | $2000 | Usually cartridge RAM (if present) |
+// | - $8000-$FFFF | $8000 | Usually cartridge ROM (if present) |
// +--------------------------------------------------------------------------------------------------+
// wow i put way too much effort into making that table