Topic : TOS - The Operating System
Author :
Version : tos.hyp (December 19, 2008)
Subject : Programmieren/Atari
Nodes : 3010
Index Size : 93790
HCP-Version : 5
Compiled on : Atari
@charset : atarist
@lang :
@default : Title
@help :
@options : +g -i -s +x +zz -t4
@width : 70
View Ref-File7.8.2.2 Bindings for vq_tdimensions TOS
C: void vq_tdimensions ( int16_t handle, int16_t
*xdimension, int16_t *ydimension );
Binding:
void vq_tdimensions (int16_t handle, int16_t *xdimension,
int16_t *ydimension)
{
contrl[0] = 5;
contrl[1] = 0;
contrl[3] = 0;
contrl[5] = 84;
contrl[6] = handle;
vdi ();
*xdimension = intout[0];
*ydimension = intout[1];
}
GEM-Arrays:
Address Element Contents
contrl contrl[0] 5 # Function opcode
contrl+2 contrl[1] 0 # Entry in ptsin
contrl+4 contrl[2] 0 # Entry in ptsout
contrl+6 contrl[3] 0 # Entry in intin
contrl+8 contrl[4] 2 # Entry in intout
contrl+10 contrl[5] 84 # Escape/Sub-opcode
contrl+12 contrl[6] handle
intout intout[0] xdimension
intout+2 intout[1] ydimension