Notes
From Spartan Blue CPU
The UART is hard coded to 57600/8/N/1
You can access it via memory or use it when in load mode to load words (high byte first, then low byte)
Memory map:
FF0 - Switch register (read/write) FF1 - Actual switches (low 8 bit) + enter key (top bit) (read only) FFE - UART Status (xmit buf empty, xmit shift empty, frame err, overflow, available, + 11 0 bits) FFF - Uart character (read/write) on receive, bit 15 is character available flag
Front panel Switches:
0 - Reset 1 - Select (cycles LEDs from 0 to 5) 2 - Action (see below) 3 - Enter (see below) [ closest to slide switches]
LEDs:
7 - Q output 6 - Running 5 - Run/Stop entry mode 4 - Step mode 3 - Deposit 2 - Examine 1 - Load PC 0 - Register Select
Meaning of the two rightmost buttons depends on state
State (from LED) Action Enter
5 Run/Stop Enter 4 Step Enter 3 Deposit Enter 2 Examine Enter 1 Load PC Enter 0 Select register Enter
When enter is held down, the switch register is shown in all modes
Decimal points on display (#4 is leftmost):
4 - IR 3 - SW (stored during deposit) 2 - AC (loaded during examine) 1 - PC
Flags
0=overflow 1=zero 2=carry (set on add and shift)
