Topic : Dokumentation zu TOS2GEM Author : Thomas Binder Version : tos2gem.hyp (21/06/95) Subject : Dokumentation/Utilities Nodes : 62 Index Size : 1740 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : @default : @help : helpme @options : -i +zz -t4 @width : 75 View Ref-File Der Cookie, der von TOS2GEM angelegt wird, hat die Kennung 'T2GM' (0x5432474d) und enthält als Wert einen Zeiger auf eine Struktur folgenden Typs: typedef struct { WORD date; /* 0x00 */ WORD (*reserve)(void); /* 0x02 */ WORD (*init)(void); /* 0x06 */ WORD (*deinit)(void); /* 0x0a */ WORD (*switch_output)(void); /* 0x0e */ char *text_buffer; /* 0x12 */ WORD max_lines; /* 0x16 */ WORD x_size; /* 0x18 */ WORD y_size; /* 0x1a */ WORD x_vis; /* 0x1c */ WORD y_vis; /* 0x1e */ WORD x_off; /* 0x20 */ WORD y_off; /* 0x22 */ WORD char_w; /* 0x24 */ WORD char_h; /* 0x26 */ WORD vdi_handle; /* 0x28 */ WORD y_offset; /* 0x2a */ WORD text_offset; /* 0x2c */ WORD cursor_handle; /* 0x2e */ WORD buffer_output; /* 0x30 */ WORD color; /* 0x32 */ WORD stats[5]; /* 0x34 */ WORD reserved[RESERVED_SIZE];/* 0x3e */ } TOS2GEM_COOKIE;