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-File8.12.3.1 Bindings for graf_handle TOS
C: int16_t graf_handle ( int16_t *gr_hwchar, int16_t
*gr_hhchar, int16_t *gr_hwbox, int16_t *gr_hhbox );
Binding:
int16_t graf_handle (int16_t *gr_hwchar, int16_t *gr_hhchar,
int16_t *gr_hwbox, int16_t *gr_hhbox)
{
crys_if (77);
*gr_hwchar = int_out[1];
*gr_hhchar = int_out[2];
*gr_hwbox = int_out[3];
*gr_hhbox = int_out[4];
return ( int_out[0] );
}
GEM-Arrays:
Address Element Contents
control control[0] 77 # Function opcode
control+2 control[1] 0 # Entry in int_in
control+4 control[2] 5 # Entry in int_out
control+6 control[3] 0 # Entry in addr_in
control+8 control[4] 0 # Entry in addr_out
int_out int_out[0] Return value
int_out+2 int_out[1] gr_hwchar
int_out+4 int_out[2] gr_hhchar
int_out+6 int_out[3] gr_hwbox
int_out+8 int_out[4] gr_hhbox