Prev: D7FF Up: Map Next: D82D
D826: Read Kempston
Reads the Kempston port twice and returns with the Z flag set if the two reads match.
Output
A Kempston port value
F Z flag set if the two reads match
Read_Kempston D826 IN A,($1F) Read from the Kempston joystick port twice.
D828 LD E,A
D829 IN A,($1F)
D82B CP E Set the Z flag if the two reads match.
D82C RET Return.
Prev: D7FF Up: Map Next: D82D