Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: nikitouzz on February 10, 2013, 11:59:51 am
-
I making one routine for the axe programmor wich simul the "input" in basic, i explain :
in your programme you make this :
sub(DEM,X,Y,lenght,number1-3) where X,Y is the coordinate of the input rectangle, lenght is the lenght of the input rectangle and the number is 1:for input numbers 2:for input letters 3:for liste input
i'll add news input after.
the routine (sub(DEM...) return the number or the letter after it ":return"
one screen :
(http://data.imagup.com/11/1175181403.gif)
whar do you think about it ?
-
I like how it looks. I wonder if it can be optimised more o.o
-
sharing this around could be very helpful to people. it'd be nice to have a decent, standard input routine out there (although it would also lead to people being lazy and not actually reading how it works --> not adding features or making changes that would be beneficial for the specific situation).
-
I have optimized the routine today (-200/300Byte) then i post the code when i optimized all.
-
Nice, that seems much better already!
-
Looking nice, maybe you can add a blinking cursor, del and clear keys?
-
del and clear keys is very very difficul to implant because i calcul the number ( for exemple ) directly when the touche are pressed....
-
What do you mean by "list input" ?
-
the gamers entrer the list 1,2,3,4 and the code return one list in hexa