RESET is executed when the user presses the RESET button, and the 6502 RESET input is triggered.
RST LDX #$FF ; KIM ENTRY VIA RST at $1C22
TXS
STX SPUSER
JSR INITS
subroutine INITS and INIT1 at 1E88
INITS LDX #$01 ; SET KB MODE TO ADDR
STX MODE
;
; the Port A and B data direction registers are setup here
; Port a is all input
; Port B PB0-PB5 is output
; PB1 and PB2 are 1, other PBx 0
;
INIT1 LDX #$00
STX PADD ; FOR SIGMA USE SAD
LDX #$3F
STX PBDD ; FOR SIGMA USE SBDD
LDX #$07 ; ENABLE DATA IN
STX SBD ; OUTPUT
CLD
SEI
RTS
here code to determine baudrate, see the TTY section
START JSR INIT1
LDA #$01
BIT SAD
BNE TTYKB
Read here how the TTY/LED selection is made with an external switch
[/code]
fall into TTY interface
TTYKB do the LED display and keyboard scanning
[/code]
See also:
TERC KIM-1 Interface set
A recent acquisition, the TERC (Technical Education Research Centers) KIM-1 Interface set. An educational tool to work w...
6502 tester NMOS CMOS 1-8MHz
The 6502 W65C02 6502C CPU tester NMOS / CMOS 1-8MHz is a CPU tester for 40 pin 6502/65C02 and WD65C02 and Sally.
The...
680x/650x Test system
The 680x/650x Test system allows to test, with the CPU itself performing the test, the MC680X and MCS650X families.
T...
Backbit Chip Tester PRO V2
A simple tio use and effective component test and ROM dump can be done with the wonderful Backbit Chiptester Pro V2.
...