W1....5
:
Pause Time (sec. 1....5)
value range 0....255 (l/l00ths second)
S is mandatory, and completion of each individual section is also mandatory.
When an <envelope number> is defined, all previous settings are overruled. Specifying an envelope
of either type without any sections will reset the settings of that <envelope number> to zero.
6.13 Other associated functions and commands
SQ(X)
x
is the channel number
:
1,2 or 4
These values represent the channels A, B, and C respectively. As shown in the ‘bit significant’ table
of channel status, a parameter of the
SOUND
command. This is an inquiry into the state of the
SOUND
channel nominated.
It is a function returning an answer which is an integer in the range 0.....255. To extract the
information from this number the following bits are
significant
for the data:
Bit
0… 2 number of free spaces in the queue tested (value 0....4)
Bit
3
rendezvous with channel A showing at head
Bit
4
rendezvous with channel B showing at head
Bit
5
rendezvous with channel C showing at head
Bit
6
hold at head of queue
Bit
7
channel currently playing
Bits 3 to 6 (rendezvous and hold) were described in the channel status section. The only other facility
of this test is to disable the
ON SQ GOS UB
command described in the next paragraph.
ON SQ GOSUB
O N S Q ( y ) G O S U B
<line number>
y is the channel number
:
1,2 or 4
This is an interrupt command that is armed and detects when there is a gap in the
SOUND
queue
nominated, then fires into the
SOUND
subroutine. The
SQ
and
SOUND
keywords both disarm the
interrupt. The subroutine ends with a
RETURN
in the normal way. All channels have the same
priority and when there is a space in the nominated channel the command will ‘fire’, thus disarming
itself at the same time, Hence the subroutine will need to reset the interrupt, if it is required again.
Содержание CPC464
Страница 1: ......
Страница 32: ...or you can type 3e1 1e1 ENTER 300 2 3000x1000 Type 3e3 1e3 ENTER 3000000 3 3000x0 001 Type 3e3 1e 3 ENTER 3 ...
Страница 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Страница 118: ...TO DO DRAW THIS PAGE ...
Страница 219: ...actual value may be made to vary during the execution of a program ...
Страница 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Страница 241: ......
Страница 245: ...Sound envelope Music planner sheet ...