Page 1 of 1

Keyboard testing.

Posted: 09 Apr 2021 13:46
by Steven.G
Hi,
Thinking of selling my MTX512 but would like to know if there's a simple routine I can run to test all the keys are working correctly.
I know the QWERTY and numeric keys are all OK but would like to test the function keys too.

Steve..

Re: Keyboard testing.

Posted: 09 Apr 2021 14:29
by Martin A
Something like

Code: Select all

10 POKE 64862,13
20 PRINT ASC(INKEY$)
30 GOTO 20
That would test everything, the function keys return codes 128 to 143 depending on shift.

The first line turns off the break key so you can "test" that, but it means reset is the only way out.

Re: Keyboard testing.

Posted: 09 Apr 2021 21:22
by Steven.G
Brilliant, thanks Martin..

Steve..