With regard to the up arrow key, if you're typing things in at the Applesoft command line it won't have any effect... type in the following program to see if the keys are functional:
That's from memory, so don't yell if it doesn't work... here's how it works (if it does):
Line 10 reads keyboard buffer
Line 20 checks for a keypress and prints the ASCII value to the screen and resets the keyboard buffer
Line 30 loops back to the start
Hit CTRL-C to halt execution.
Hope that helps.
Code:
NEW
10 X = PEEK (-16384)
20 IF X > 127 THEN PRINT X-128 : POKE -16368,0
30 GOTO 10
RUN
Line 10 reads keyboard buffer
Line 20 checks for a keypress and prints the ASCII value to the screen and resets the keyboard buffer
Line 30 loops back to the start
Hit CTRL-C to halt execution.
Hope that helps.