•  Back 
  •  XBIOS Structures 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
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-File4.21.15  PBDEF                                                     TOS

typedef struct
{
   void    *pb_scrptr;  /* Pointer to start of screen memory */
   int16_t  pb_offset;  /* Offset to be added to this        */
   int16_t  pb_width;   /* Screen width in dots              */
   int16_t  pb_height;  /* Screen height in dots             */
   int16_t  pb_left;    /* Left margin in dots               */
   int16_t  pb_right;   /* Right margin in dots              */
   int16_t  pb_screz;   /* Resolution                        */
   int16_t  pb_prrez;   /* Printer type (Atari/Epson)        */
   void    *pb_colptr;  /* Pointer to colour palette         */
   int16_t  pb_prtype;  /* 0: Atari matrix monochrome
                           1: Atari matrix colour
                           2: Atari daisywheel monochrome
                           3: Epson matrix monochrome        */
   int16_t  pb_prport;  /* Centronics/RS-232 port            */
   void    *pb_mask;    /* Pointer to halftone mask          */
} PBDEF;

Note: One has to ensure that the sum of the elements pb_width, pb_left 
and pb_right corresponds exactly to the actual screen width.

See Also: Prtblk   XBIOS