Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Filevrq_valuator()vrq_string()vrq_choice()vrq_locator()vsin_mode() VDISyntaxWORD vsin_mode( handle, device, mode )
WORD handle, device, mode;
Function vsin_mode() chooses between request or sample mode for the
specified device.
Opcode 33
Availability Supported in ROM by all Atari computers.
Parameters handle specifies a valid workstation handle. A mode value of
REQUEST_MODE (1) sets the device to operate in request mode
whereas a value of SAMPLE_MODE (2) operates the device in
sample mode. Valid devices are:
Name devide Device
LOCATOR 1 Locator
VALUATOR 2 Valuator
CHOICE 3 Choice
STRING 4 String
Binding contrl[0] = 33;
contrl[1] = 0;
contrl[3] = 2;
contrl[6] = handle;
intin[0] = device;
intin[1] = mode;
vdi();
return intout[0];
Return Value vsin_mode() returns mode.
Comments Using this function will cause the AES to function
improperly.
See Also vrq_valuator(), vrq_string(), vrq_choice(), vrq_locator(),
Group VDI Input