Examples - Pioneer LD-V8000 User Manual

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

Advertisement

4.1.5 Examples

A program example is often shown as an aid in understanding the use of the command in
a programming sequence. The example usually includes a short statement of the
program's intended function and a chart containing program address, argument,
command, Hex code for the command, and a comment for each command used.
Depending upon the compiler used, the source language format and the command
mnemonics used in the source code may differ greatly from the code shown. These
examples are intended to be instructional in nature, not examples of source code format.
Example: Play from frame 1000 to frame 1500, displaying frame numbers.
Address
100
101
103
108
This sample program segment just happens to start at address 100. Notice that each
digit of the argument uses one byte of memory and that the command also uses one byte.
The second instruction begins at program address is at 101, the next at 103, and the last
at 108. If you enter this code from the RCU, you will see command mnemonics on the
monitor instead of these command names.
To enter the example above using the RCU, press the following buttons: 100 PROGRAM
(This puts the player into Programming Mode and code will be entered beginning at address
100); PLAY, 8, E (This is the three button press: PLAY prepares the player to receive Hex
code, and 8E is the Hex code to SET FRAME MODE); 1 DISPLAY (1 enables DISPLAY, the
DISPLAY button is a single button press sending Hex code directly to the player); 1000
SEARCH button; 1500 AUTO STOP button.
To enter this sample code from a computer, the following commands must be sent 100 *S
(indicating the program address) and 64 *W (allowing up to 64 bytes of information to be
written into the player's memory). Then the following Hex code may be sent: 8E (SET
FRAME MODE), 0FF1 (1 DISPLAY= DISPLAY ON), 0F3F3F3FF7 (1000 SEARCH), and
0FAF3F3FF3 (1500 AUTO STOP).
Note: When sending sample code from the computer to the player's memory, refer to Hex
code for commands included in the sample charts, and refer to Appendix E, Numbers and
Their Hex Code Equivalents. All arguments and commands must be in Hex code when
sent from the computer via the RS-232C.
Review Chapter 3 for details on entering Level II Code into RAM via RCU, RS-232C or
from a Level II videodisc.
Pioneer LD-V8000 Level II User's Manual
Argument
Command
SFM
1
DISPLAY
1000
SEARCH
1500
AUTOSTOP
LD-V8000 Level II • Chapter Four
Hex Code
Comment
8E
;
Set Frame Mode
F1
;
Turn Display ON
F7
;
Search to frame 1000
F3
;
Play to frame 1500
TP 114 v. 1.1
8/92
4-3

Advertisement

Table of Contents
loading

Table of Contents