Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ Virtual Device Interface ] The VDI provides device independent graphics functions: VDI Workstation - graphics device drivers VDI Mouse - mouse cursor VDI Output - draw graphics primitives VDI Attributes - set line style, fill pattern, etc. VDI Inquire - attribute information VDI Raster - bit plane operations VDI Input - mouse and keyboard VDI Escapes - device specific operations GDOS - Graphics Device Operating System The only device drivers in ROM are for the screen. All other devices require GDOS device drivers be loaded from disk. The mouse cursor must NOT be active while performing VDI screen operations (see v_hide_c and v_show_c). VDI functions are implemented using TRAP #2 instructions. Register D0 must contain $73 and D1 must contain a pointer to the VDIPB structure which is used to pass the parameters. Function vdi() can be used to implement new bindings. See also VDI Handle, VDI Coordinates, VDI Description and VDI Extended.