Classic Computer Magazine Archive COMPUTE! ISSUE 60 / MAY 1985 / PAGE 10

Numeric Keyboard For Atari MLX

If you've been having a problem entering numbers into MLX with one hand while marking your place in COMPUTE! with the other, try adding these lines to MLX to change the keys below the 7-8-9 keys to a numeric keyboard:

HA 110 POSITION 8, 0 : ? "MLX 2"
       : POSITION 23, 0 : ? "fai
       lsaf entry" : POSITION
        10, 1 : ? "with Numeric
        Keypad" : POKE 710, 0 : ?
        : REM - MLX2
PG 630 REM - Lines 630 thru
       638 added or changed
       to provide numeric ke
       ypad for MLX2
HF 631 IF A = 77 THEN A = 48 : REM
       - "M" = "0" IN MLX2
HC 632 IF A = 74 THEN A = 49 : REM
       - "J" = "1" IN MLX2
GO 633 IF A = 75 THEN A = 50 : REM
       - "K" = "2" IN MLX2
HD 634 IF A = 76 THEN A = 51 : REM
       - "L" = "3" IN MLX2
HP 635 IF A = 85 THEN A = 52 : REM
       - "U" = "4" IN MLX2
HD 636 IF A = 73 THEN A = 53 : REM
       - "I" = "5" IN MLX2
IC 637 IF A = 79 THEN A = 54 : REM
       - "O" = "6" IN MLX2
LP 638 A < 48 OR A > 57 THEN
       580 : REM - Renumbered
       in MLX2

MLX will now accept U-I-O for 4-5-6, J-K-L for 1-2-3, and M for zero. You can even attach stick-on numbers to the front of the redefined keys.

Larry N. Watkins

Thanks for the modification. It can make machine language programs much easier to enter for those who are accustomed to numeric keypads.