A86: menu style decimal input
[Prev][Next][Index][Thread]
A86: menu style decimal input
has anyone made a routine for the ti86 that will allow the user to input a
value using the number pad and will store the value into a register? i've
tried a bunch of different ways but i'm stuck.
even if i had to resort to checking for each key (k0 through k9)
individually, i don't know how to leave the routine with all the value
stored in hl.
the best try yet was when i tried to have the user input it as a string
(which i got working) and then the next routine reads the string and
subtracts 48 so it's not ascii anymore and then multplies that times 100,
the next times 10 and the last times 1 and then adds them all. but that
failed too.
jimi
Follow-Ups: