Tin (Input With Timeout) - Pioneer LD-V8000 User Manual

Level ii
Hide thumbs Also See for LD-V8000:
Table of Contents

Advertisement

Example: The player waits for digit or function key input. Processing continues when
Function Key 15 (SLOW FWD) is pressed. Ignore all other inputs
Address
Argument
0000
0002
0003
0004
0006
0009
0010
0013
0014

60) TIN (Input with Timeout)

Function: TIN waits for a digit code or a timeout, and then modifies the program
execution sequence.
Argument
[Integer]
Explanation: TIN behaves like a FIN command where the only "function key" allowed is
the timeout - "function key" 20. The least significant digit of the argument ("N") is still
used as in the INPUT command, but the whole argument is used to specify a timeout
period, expressed in tenths of a second. Thus, an argument of 278 specifies a 27.8
second timeout and sets "N" = 8. The maximum timeout period is 10,000 tenth-seconds.
If a response is not received before the timeout period expires, a pseudo-function key
response is generated internally and the player process it just like any other function key
response. Thus, TIN will only wait the specified amount of time for an input, then
processing will continue (skipping (N+1) blocks of code).
Thus, there should be one BRANCH instruction following TIN for each of the N "allowed"
viewer inputs, and one additional BRANCH for the "Other" inputs. Then, as with the FIN
command, the following code is for the timeout condition.
Pioneer LD-V8000 Level II User's Manual
Command
1
FIN
BRANCH
BRANCH
DIN
GET
15
COMPARE
BRANCH
14
BRANCH
BRANCH
...
Hex Code
0E
LD-V8000 Level II • Chapter Four
Hex Code
Comment
18
Wait for digit or function key
CF
digit-0: ignore
CF
digits 1-9: ignore
08
Function Key: R0 <-- function #
04
Was it Function Key #15?
CF
Key over 15, ignore
CF
Key 15: Go on to address 14
CF
Key less than 15, ignore
Processing continues
Mnemonic
TIN
TP 114 v. 1.1
FIN
RCU Buttons
Play, 0, E
8/92
TIN
(cont);
4-51

Advertisement

Table of Contents
loading

Table of Contents