Repository navigation
SAMx64 Registers
The SAMx64 maintains most of the original mapped memory addresses for latching the register bits. The major change is that the "memory size" switch is deprecated, in its place is a compatibility switch that keeps the SAMx64 operating in the default compatibility mode. Outside of compatibility mode the "clear/set" pairs change slightly. Where a register is larger than a single bit in length, any write to the lowest address pair for that register will set the entire register from the data bus (something that is simply not possible with the original 6883 as it doesn't have any connection to the bus). Normally the lowest address of each pair clears the register bit, the upper address sets the register bit.
| Address (hex/decimal) | Action | Notes |
|---|---|---|
| FFC0 / 65482 | Clear / Set V0 | Compatibility mode - V is a 3 bit video mode register |
| FFC0 / 65482 | Set V0..3 | Expanded mode - V is a 4 bit video mode register |
| FFC2 / 65484 | Clear / Set V1 | |
| FFC4 / 65486 | Clear / Set V2 | |
| FFC6 / 65488 | Clear / Set F0 | Compatiblity mode - F is a 7 bit register for the video base address (*512) |
| FFC6 / 65488 | Set F0..7 | Expanded mode - F is an 8 bit register for video base address |
| FFC8 / 65490 | Clear / Set F1 | |
| FFCA / 65492 | Clear / Set F2 | |
| FFCC / 65494 | Clear / Set F3 | |
| FFCE / 65496 | Clear / Set F4 | |
| FFD0 / 65498 | Clear / Set F5 | |
| FFD2 / 65500 | Clear / Set F6 | |
| FFD4 / 65552 | Clear / Set P1 | P1 optionally maps the upper 32k ram to $0000 in RAM/ROM mode |
| FFD6 / 65494 | Clear / Set R0 | Compatibility mode - R is a 2 bit register controlling clock speed |
| FFD6 / 65494 | Set R0..1 | Expanded mode |
| FFD8 / 65496 | Clear / Set R1 | |
| FFDA / 65498 | Clear / Set M0 | No function |
| FFDC / 65500 | Clear / Set M1 | No function |
| FFDE / 65502 | Clear / Set TY | Toggles between memory map types - RAM/ROM or all RAM |
FFE0 - FFEF is unused, reserved for the Dragon Plus board
FFF0 - FFFF is the CPU vectors
| Register | Size | Usage |
|---|---|---|
| V | 3 bits | Video addressing mode - 4 bits in expanded mode. See Revised V Register |
| F | 7 bits | Video base addressing multiples of 512 bytes - 8 bits in expanded mode, after a vertical sync the VDG address counter bits 9 - 15 are loaded with the value held in F, the lower 8 bits are set to 0. In expanded mode bits 9-16 are loaded from F |
| P | 1 bit | RAM/ROM mode page register |
| R | 2 bits | CPU speed control |
| M | 2 bits | Used to define Memory size in original SAM, unused here |
| TY | 1 bit | Memory Map Type |
| Register | Size | Usage |
|---|---|---|
| C | 7 bits | DRAM refresh counter - unused here |
| B | 16 bits | VDG address counter - 17 bits in expanded mode |
Dragon Rev X4 and Rev X4 (ATX) Kitchen Sink Edition