Sequences of push button pushes to input information to Java Calculator Programs on the DVB-MHP platform using the minimum set of input events, part 2 of 3.
William Overington
Copyright 2002 William Overington
Saturday 2 February 2002
Here is a full list of the basic sequences thus far defined.
| Button push sequence | Meaning |
Notes
|
0
|
0
|
|
1
|
1
|
|
2
|
2
|
|
3
|
3
|
|
4
|
4
|
|
5
|
5
|
|
6
|
6
|
|
7
|
7
|
|
8
|
8
|
|
9
|
9
|
|
yellow
|
negative data
|
|
blue
|
decimal point
|
|
red 1
|
+
|
|
red 2
|
-
|
|
red 3
|
*
|
|
red 4
|
/
|
|
red 5
|
=
|
|
red 6
|
,
|
Please see note below
|
red 7
|
;
|
Please see note below
|
red 8
|
:
|
Please see note below
|
red 9
|
clear a,b,c,d
|
|
red 0 1
|
a=b
|
|
red 0 2
|
b=a
|
|
red 0 3
|
swap a and b
|
|
red 0 4
|
a=c
|
|
red 0 5
|
c=a
|
|
red 0 6
|
b=c
|
|
red 0 7
|
c=b
|
|
red 0 8
|
swap a and c
|
|
red 0 9
|
swap b and c
|
|
red up 0
|
in a macro, return from a call
|
|
red up 1
|
in a macro, jump to label 1
|
|
red up 2
|
in a macro, jump to label 2
|
|
red up 3
|
in a macro, jump to label 3
|
|
red up 4
|
in a macro, jump to label 4
|
|
red up 5
|
in a macro, jump to label 5
|
|
red up 6
|
in a macro, call to label 6
|
|
red up 7
|
in a macro, call to label 7
|
|
red up 8
|
in a macro, call to label 8
|
|
red up 9
|
in a macro, call to label 9
|
|
red down .... (next one not a digit)
|
General escape mechanism so as to allow longer sequences to be defined.
|
|
red down 0
|
in a macro, return from a call, if linkflag is true
|
|
red down 1
|
in a macro, jump to label 1, if linkflag is true
|
|
red down 2
|
in a macro, jump to label 2, if linkflag is true
|
|
red down 3
|
in a macro, jump to label 3, if linkflag is true
|
|
red down 4
|
in a macro, jump to label 4, if linkflag is true
|
|
red down 5
|
in a macro, jump to label 5, if linkflag is true
|
|
red down 6
|
in a macro, call to label 6, if linkflag is true
|
|
red down 7
|
in a macro, call to label 7, if linkflag is true
|
|
red down 8
|
in a macro, call to label 8, if linkflag is true
|
|
red down 9
|
in a macro, call to label 9, if linkflag is true
|
|
red left
|
get from memory
| As sequences are simply a method of inputting commands using the minimum set of input events, implementation is up to the Java programmer. However, for programmers who would prefer a specific recommendation, a=m[d] is suggested.
|
red right
|
store to memory
| As sequences are simply a method of inputting commands using the minimum set of input events, implementation is up to the Java programmer. However, for programmers who would prefer a specific recommendation, m[d]=a is suggested.
|
red teletext 0
|
|
|
red teletext 1
|
define label 1 within a macro
|
|
red teletext 2
|
define label 2 within a macro
|
|
red teletext 3
|
define label 3 within a macro
|
|
red teletext 4
|
define label 4 within a macro
|
|
red teletext 5
|
define label 5 within a macro
|
|
red teletext 6
|
define label 6 within a macro
|
|
red teletext 7
|
define label 7 within a macro
|
|
red teletext 8
|
define label 8 within a macro
|
|
red teletext 9
|
define label 9 within a macro
|
|
red green 0
|
clear a
|
|
red green 1
|
a=d
|
|
red green 2
|
d=a
|
|
red green 3
|
b=d
|
|
red green 4
|
d=b
|
|
red green 5
|
c=d
|
|
red green 6
|
d=c
|
|
red green 7
|
clear b
|
|
red green 8
|
clear c
|
|
red green 9
|
clear d
|
|
red yellow 0
|
|
|
red yellow 1
|
a register gets the focus
|
|
red yellow 2
|
b register gets the focus
|
|
red yellow 3
|
c register gets the focus
|
|
red yellow 4
|
d register gets the focus
|
|
red yellow 5
|
|
|
red yellow 6
|
|
|
red yellow 7
|
|
|
red yellow 8
|
Text box gets the focus
|
|
red yellow 9
|
Text area gets the focus
|
| |