6.1 6.2 6.3 DESCRIPTION OF COMMANDS The VSP operates under the control of the CPU to a minimal degree. The CPU passes commands to the VSP which initiates an activity but the CPU is not involved in carrying out that activity. Commands available for use by the CPU and the formats of these commands are shown below: TABLE 2 — VSP COMMANDS AND COMMAND FORMAT DATA BUS COMMAND CODE (D0-D7)* OPERATION X000XXXX Nop X001XXXX Read Byte X010XXXX Nop X110XXXX Speak External X011XXXX Read and Branch X100AAAA* Load Address X101XXXX Speak X111XXXX Reset *A= Address x = Don't care When WS becomes active (low), assuming a Speak External command is not presently executing, the data on the memory data bus is latched into the command register. Once the transfer has been completed, the VSP activates (low level) the READY line to release the CPU and begins interpreting and executing the command. Command execution for each instruction is described below. If the user tries to pass a command to the VSP while another command is executing, the new command will not be accepted until the previous command is completed. The VSP keeps the CPU executing wait states until it is ready to accept a new command. Appendix C lists execution times for each command. The VSP uses the READY flag to tell the CPU to execute wait states until the present command has been fully executed. READ BYTE The Read Byte command allows the CPU to access data stored in the TMS 6100 VSM. Read Byte causes the next eight bits to be read from the VSM (ignoring byte boundaries). These bits are packed into the data register so that the tast bit read from VSM is in the least-significant-bit position (D7), When RS goes active (low), and before initiation of a new instruction, this data byte is placed on DO-D7. This eight-bit transfer from the VSM requires 80 microseconds. If RS should become active before the data register is completely loaded and ready to be transferred, the VSP keeps the CPU executing wait states (by not lowering the READY line) until the data transfer from VSM is complete and the Data Byte is stable on the Memory Data Bus. At this time the READY line is activated and the CPU may accept the Data Byte to complete the memory cycle. READ AND BRANCH The Read and Branch command causes the VSP to initiate a Read and Branch function on the VSM (see VSM descrip- tion). The VSP is not able to access the VSM for 240 microseconds after executing this command. LOAD ADDRESS The Load Address command allows the CPU to alter the Address Register of the TMS 6100 to point to new speech data. Load Address causes the VSP to load the four address bits from the VSP Address Register to one nibble of the VSM Address Register by initiating a VSM Load Address function (see VSM description). If the next command follow- ing is a Read Byte, Speak, or Reset command, a dummy Read function is passed to the VSM before that next command is executed. Bit D7 is loaded into ADD1 which is the LSB of the VSM address. Bit D4 is loaded into ADD8.