This is an old version from the tos.hyp. The new is on GitHub!

HomeXBIOSXBIOS-FunktionslisteGEMDOS

4.22 XBIOS Strukturen

4.22.1 BCONMAP

typedef struct
{
   MAPTAB  *maptab;     /* Liste der seriellen Schnittstellen              */
   int16_t  maptabsize; /* Anzahl der Schnittstellentreiber                */

   /* Undokumentiertes, bei TOS und MagiC so: */
   int16_t  auxnr;      /* aktuell auf AUX eingestellte Kanalnummer        */
   int32_t  rscon;      /* Zeiger auf aktuell eingestellte Rsconf-Funktion */
   int32_t  iorec;      /* Zeiger auf IOREC des aktuellen Kanals           */
} BCONMAP;

Querverweis: Bconmap

4.22.2 CD_DISC_INFO

Diese Struktur ist wie folgt definiert:

typedef struct
{
   uint8_t  disctype;         /* 0: audio, 1: data */
   uint8_t  firsttrack, lasttrack, curtrack;
   uint8_t  relposz, relposm, relposs, relposf;
   uint8_t  absposz, absposm, absposs, absposf;
   uint8_t  endposz, endposm, endposs, endposf;
   uint8_t  index, res[3];
   uint32_t reserved[123];
} CD_DISC_INFO;

Querverweis: Metadiscinfo

4.22.3 CD_TOC_ENTRY

Die Struktur CD_TOC_ENTRY ist wie folgt definiert:

typedef struct
{
   uint8_t trackno;
   uint8_t minute;
   uint8_t second;
   uint8_t frame;
} CD_TOC_ENTRY;

Querverweis: CD-ROM Opcodes für Fcntl

4.22.4 DSPBLOCK

Diese Struktur ist wie folgt definiert:

typedef struct
{
   int16_t  blocktype;  /* Typ der Daten im Puffer: */
                        /*   0 : LongInt            */
                        /*   1 : Integer            */
                        /*   2 : Byte               */
   int32_t  blocksize;  /* Puffergröße              */
   void    *blockaddr;  /* Zeiger auf den Puffer    */
} DSPBLOCK;

Querverweis: Dsp_MultBlocks   DSP-Programmierung

4.22.5 IOREC

Diese Struktur ist wie folgt definiert:

typedef struct
{
   void    *ibuf;        /* Zeiger auf den Buffer   */
   int16_t ibufsiz;      /* Größe des Buffers       */
   int16_t ibufhd;       /* nächste Schreibposition */
   int16_t ibuftl;       /* nächste Leseposition    */
   int16_t ibuflow;      /* Marke für Xon           */
   int16_t ibufhi;       /* Marke für Xoff          */
} IOREC;

Hinweis: Für die serielle Schnittstelle schließt sich direkt ein entsprechender Puffer für die Ausgabe an. Die beiden letzten Zeiger werden nur für die serielle Schnittstelle im XON/XOFF bzw. RTS/CTS-Betrieb genutzt.

Fällt nämlich der Pegel unter die untere 'Wassermarke', so wird der Sender aufgefordert weitere Zeichen zu senden; übersteigt er hingegen die obere 'Wassermarke' so wird ihm signalisiert, keine Zeichen mehr zu schicken.

Querverweis: Iorec

4.22.6 KBDVBASE

Diese Struktur ist wie folgt definiert:

typedef struct
{
   void   (*kb_midivec)();   /* MIDI Interrupt-Vektor    */
   void   (*kb_vkbderr)();   /* Tastatur Fehler-Vektor   */
   void   (*kb_vmiderr)();   /* MIDI Fehler-Vektor       */
   void   (*kb_statvec)();   /* Tastatur-Status          */
   void   (*kb_mousevec)();  /* Tastatur-Maus-Status     */
   void   (*kb_clockvec)();  /* Tastatur-Zeitgeber       */
   void   (*kb_joyvec)();    /* Tastatur-Joystick-Status */
   void   (*kb_midisys)();   /* System-Midi-Vektor       */
   void   (*kb_kbdsys)();    /* Tastatur-Vektor          */
   int8_t drvstat;           /* Tastatur-Treiberstatus   */
} KBDVBASE;

Hinweis: Bei den Komponenten kb_clockvec und kb_joyvec ist zu beachten, daß die Adresse des Paketes im Register A0 und auf dem Stack übergeben wird; die Routinen sollten außerdem mit einem RTS abgeschlossen sein, und nach Möglichkeit nicht länger als 1ms laufen.

Die Komponente drvstat enthält einen Wert ungleich Null, wenn der IKBD gerade eine Paket verschickt.

Querverweis: Kbdvbase

4.22.7 KEYTAB

typedef struct
{
   int8_t *unshift;       /* Tabelle 'normale' Tastendrücke */
   int8_t *shift;         /* Tabelle Shift-Tastendrücke     */
   int8_t *capslock;      /* Tabelle Capslock-Tastendrücke  */
   int8_t *altunshift;    /* ab TOS 4.00, undokumentiert!   */
   int8_t *altshift;      /* ab TOS 4.00, undokumentiert!   */
   int8_t *altcapslock;   /* ab TOS 4.00, undokumentiert!   */
   int8_t *altgr;         /* ab TOS 4.06, undokumentiert!   */
} KEYTAB;

Querverweis: Keytbl

4.22.8 MAPTAB

typedef struct
{
   int16_t  (*Bconstat)();
   int32_t  (*Bconin)();
   int32_t  (*Bcostat)();
   void     (*Bconout)();
   uint32_t (*Rsconf)();
   IOREC    *iorec;
} MAPTAB;

Querverweis: Bconmap   BCONMAP

4.22.9 META_DRVINFO

typedef struct
{
   int8_t  *mdr_name;
   int32_t  reserved[3];
} META_DRVINFO;

Querverweis: Laufwerksfunktionen   Metaopen

4.22.10 META_INFO_1

typedef struct
{
   uint32_t    drivemap;  /* Bits für MetaDOS Laufwerke.   */
                          /*   (Bit-0 = Laufwerk-A, usw.)  */
   int8_t      *version;  /* Name und Version von MetaDOS  */
   int32_t     reserved;  /* reserviert                    */
   META_INFO_2 *info;     /* Zeiger auf zweite Struktur    */
} META_INFO_1;

Hinweis: Die Komponente info ist erst ab MetaDOS V2.30 vorhanden!

Querverweis: Metainit

4.22.11 META_INFO_2

typedef struct
{
   uint16_t     mi_version;    /* Versionsnummer (0x230 = '02.30') */
   int32_t      mi_magic;      /* Magic Konstante '_MET'           */
   const int8_t *mi_log2phys;  /* Zuordnung GEMDOS->MetaDOS        */
} META_INFO_2;

Hinweis: Diese Struktur existiert erst ab MetaDOS Version 2.30. Der Parameter mi_log2phys ist ein Zeiger auf ein Feld, das zu jedem GEMDOS-Gerät den dazugehörigen MetaDOS Laufwerksbuchstaben oder Null enthält. Mit Hilfe dieser Information kann man also feststellen, welcher MetaDOS Laufwerksbuchstabe zu welchem GEMDOS-Laufwerk gehört.

Querverweis: Metainit   META_INFO_1

4.22.12 MOD_DESC

typedef struct
{
   int8_t  Name[34];   /* beschreibender Text     */
   int32_t colors;
   int16_t xres,yres;
   int32_t fileptr;    /* Zeiger in die Modedatei */
} MOD_DESC;

Querverweis: Crazy-Dots-XBIOS-Erweiterung

4.22.13 MOUSE

typedef struct
{
   int8_t  topmode;  /* 0: Y=0 am unteren Rand,    */
                     /* 1: Y=1 am oberen Rand      */
   int8_t  buttons;  /* analog IKBD                */
   int8_t  x_scale;  /* zusätzliche Parameter, vom */
   int8_t  y_scale;  /* gewählten Modus abhängig.  */
   int16_t x_max;    /* maximale X-Position        */
   int16_t y_max;    /* maximale Y-Position        */
   int16_t x_start;  /* Anfangsposition X          */
   int16_t y_start;  /* Anfangsposition Y          */
} MOUSE;

Hinweis: Die Komponenten x_max und folgende sind nur im absoluten Modus verfügbar.

Querverweis: GEM   Initmouse   VDI

4.22.14 OVERPATCH

typedef struct
{
   int16_t low_w  ,mid_w  ,high_w;   /* Breite in Pixeln                */
   int16_t low_h  ,mid_h  ,high_h;   /* Höhe   in Pixeln                */
   int32_t low_off,mid_off,high_off; /* Offset Bildspeicher<>Logbase    */
   int32_t mono_add,color_add;       /* Zusätzlicher Speicherbedarf     */
   int8_t  clear_scan;               /* Scancode  der Clear-Funktion    */
   int8_t  clear_shift;              /* Shiftcode der Clear-Funktion    */
   int8_t  setup_shift;              /* Shiftcode für Setup (Maske)     */
   int8_t  invert_shift;             /* Shiftcode zum Invert. des Modus */
   int8_t  abort_shift;              /* Shiftcode zum Abbrechen         */
} OVERPATCH;

Querverweis: Oscanpatch   OverScan-XBIOS-Erweiterungen

4.22.15 PBDEF

typedef struct
{
   void    *pb_scrptr;  /* Zeiger auf Bildschirmanfang     */
   int16_t  pb_offset;  /* dazu zu addierender Offset      */
   int16_t  pb_width;   /* Bildschirmbreite in Punkten     */
   int16_t  pb_height;  /* Bildschirmhöhe in Punkten       */
   int16_t  pb_left;    /* Linker Rand in Punkten          */
   int16_t  pb_right;   /* Rechter Rand in Punkten         */
   int16_t  pb_screz;   /* Auflösung                       */
   int16_t  pb_prrez;   /* Druckertyp (Atari/Epson)        */
   void    *pb_colptr;  /* Zeiger auf Farbpalette          */
   int16_t  pb_prtype;  /* 0: Atari Matrix monochrom
                           1: Atari Matrix farbig
                           2: Atari Typenrad monochrom
                           3: Epson Matrix monochrom       */
   int16_t  pb_prport;  /* Schnittstelle Centronics/RS-232 */
   void    *pb_mask;    /* Zeiger auf Halbtonmaske         */
} PBDEF;

Hinweis: Es muß darauf geachtet werden, daß die Summe der Komponenten pb_width, pb_left und pb_right genau die tatsächliche Bildschirmbreite ergibt.

Querverweis: Prtblk   XBIOS

4.22.16 PCI_RSC_DESC

typedef struct
{
  uint16_t next;      /* Länge dieser Struktur in Bytes, dient zur      */
                      /* Ermittlung des nächsten Deskiptors             */
  uint16_t flags;     /* Resourcen-Typ und verschiedene andere Flags    */
  uint32_t start;     /* Startadresse der Resource im PCI Adreßbereich, */
                      /* ist die Resource nicht direkt ansprechbar,     */
                      /* so ist die Adresse 0                           */
  uint32_t length;    /* Länge der Resource                             */
  uint32_t offset;    /* Offset von der physikalischen CPU-Adresse      */
                      /* zur PCI-Adresse                                */
  uint32_t dmaoffset; /* Offset für DMA-Transfers vom/zum Hauptspeicher */
} PCI_RSC_DESC;

Um den Deskriptor der nächsten Resource des PCI-Gerätes zu ermitteln, muß man zur Startadresse des aktuellen Deskriptors das Feld next addieren. Das Feld start gibt den Beginn der entsprechenden Resource im PCI-Adreßbereich an. Falls diese Resource nicht direkt ansprechbar sein sollte, so steht in diesem Feld die Adresse 0. Über length kann man schließlich die Länge dieser Resource bestimmen. Der PCI-Adreßbereich ist im allgemeinen nicht mit der von der CPU aus gesehenen Adresse gleichzusetzen. Der Adreß-Offset, der zur PCI-Adresse zu addieren ist, um die physikalische Adresse für die CPU zu ermitteln, ist im Feld offset abgelegt.Der Eintrag dmaoffset gibt schließlich den Offset an, der zur PCI-Adresse addiert werden muß, wenn es sich um DMA-Transfers handelt.

Die Flags im Resource-Deskriptor

RSC_ROM 0x2000 This is an expansion ROM (must be Memory, not IO)
RSC_IO 0x4000 kennzeichnet einen I/O-Bereich, bei
    gelöschten Bit handelt es sich um
    einen memory-Bereich
RSC_LAST 0x8000 letzte Resource für dieses PCI-Gerät
FLG_8BIT 0x0100 8 Bit Zugriffe werden unterstützt
FLG_16BIT 0x0200 16 Bit Zugriffe werden unterstützt
FLG_32BIT 0x0400 32 Bit Zugriffe werden unterstützt
FLG_ENDMASK 0x000F kennzeichnet das Byte Ordering:
    0: Motorola (big endian)
    1: Intel (little endian), address swapped
    2: Intel (little endian), lane swapped
    3..14: reserviert
    15: unbekannt, Zugriff nur über BIOS möglich

The start field contains the start address on the PCI bus of the resource. If the resource is not directly accessible, the start address is 0.

The length field contains its length.

The offset field contains the offset from physical CPU to PCI address for the resource - ie. the value that must be added to the PCI address to get the physical address in CPU address space.

The dmaoffset gives the offset that a PCI bus master must add to a CPU memory address to access that address in main memory over the PCI BUS.

What are all these byte orders?

The PCI-bus is defined as a little endian byte ordering bus. The most significant byte of a multi-byte number is located at the lowest address occupied by this number.

The 68xxx-series CPUs are big endian. PCI-bus and CPU are connected together by a host bridge which does some kind of format conversion. The PCI-BIOS knows about the format conversion performed by the host bridge. The PCI-BIOS does not know about any format conversion done (internally) by PCI devices. The driver has to know its device's properties and capabilities.

The table shows what 68xxx data byte (top row) is connected to what PCI-bus data byte (lower right) by what 68xxx-access and format conversion (left column):

                  68xxx-CPU data bus bits
                  D31..24  D23..16  D15..8   D7..0
----------------------------------------------------
big endian
32-bit-access +0  D31..24  D23..16  D15..8   D7..0
16-bit-access +0  D15..8   D7..0
16-bit-access +2                    D31..24  D23..16
 8-bit-access +0  D7..0
 8-bit-access +1           D15..8
 8-bit-access +2                    D23..16
 8-bit-access +3                             D31..24
----------------------------------------------------
little endian, lane swapped
32-bit-access +0  D0..7    D15..8   D23..16  D31..24
16-bit-access +0  D0..7    D15..8
16-bit-access +2                    D23..16  D31..24
 8-bit-access +0  D0..7
 8-bit-access +1           D15..8
 8-bit-access +2                    D23..16
 8-bit-access +3                             D31..24
----------------------------------------------------
little endian, address swapped
32-bit-access +0  D31..24  D23..16  D15..8   D7..0
16-bit-access +0  D31..24  D23..16
16-bit-access +2                    D15..8   D7..0
 8-bit-access +0  D31..24
 8-bit-access +1           D23..16
 8-bit-access +2                    D15..8
 8-bit-access +3                             D7..0

Querverweis: get_resource

4.22.17 PMODE

typedef struct  {
   int8_t  name[34];
   int16_t mode_id;       /* lfd. Nr.                             */
   int16_t xres,yres;     /* Breite/Höhe in Pixeln                */
   int16_t fx,fy;         /* Breite/Höhe gesamt                   */
   int32_t colors;        /* Anzahl gleichzeitiger Farben         */
   int16_t org;           /* Organisation des Speichers           */
   int16_t fh10,fv10;     /* Zeilenfreq.*10, Bildfreq*10          */
   int16_t aspect100;     /* 100*PixelBreite/PixelHöhe            */
   int16_t disp_scan100;
   int32_t clk;           /* Dotclock in Hz                       */
   /*
   * Register des Grafikcontrollers
   */
   int16_t Clock;         /* Frequenznummer, muß vorm Schreiben in */
                          /* das Clock-Register über die IcsLut
                             umgesetzt werden (s. u.)              */
   int8_t  misc_out;
   int8_t  ts[10];        /* Timing Sequencer Regs.                */
   int8_t  crtc[35];      /* CRT-Controller Regs.                  */
   int8_t  gdc[10];       /* Graphics Display Controller           */
   int8_t  atc[24];       /* Attribute Controller                  */
   int8_t  reserved[18];
} PMODE;

static int8_t IcsLut[32] = { 0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,
               30,1,17,9,25,5,21,13,29,3,19,11,27,7,23,15,31 };

Querverweis: Crazy-Dots-XBIOS-Erweiterung   ReadMode   GetActiveModeDesc

4.22.18 SCRCLIPMEMBLK

typedef struct _scrclipblk
{
  int32_t size;        /* size of structure            */
  int32_t blk_status;  /* status bits of blk           */
  int32_t blk_clip_on; /* clipping flag 1:on, 0:off    */
  int32_t blk_x;       /* x pos in total screen        */
  int32_t blk_y;       /* y pos in in total screen     */
  int32_t blk_w;       /* width                        */
  int32_t blk_h;       /* height                       */
} SCRCLIPMEMBLK;

Querverweise: Setscreen, ct60

4.22.19 SCRCOPYMEMBLK

typedef struct _scrcopyblk
{
  int32_t size;                 /* size of structure            */
  int32_t blk_status;           /* status bits of blk           */
  int32_t blk_src_x;            /* x pos source in total screen */
  int32_t blk_src_y;            /* y pos source in total screen */
  int32_t blk_dst_x;            /* x pos dest in total screen   */
  int32_t blk_dst_y;            /* y pos dest in total screen   */
  int32_t blk_w;                /* width                        */
  int32_t blk_h;                /* height                       */
  int32_t blk_op;               /* mode operation               */
} SCRCOPYMEMBLK;

Querverweise: Setscreen, ct60

4.22.20 SCREEN

typedef struct
{
   int8_t   xbra_id[4];       /* XBRA-Id: 'CDOT'                      */
   int8_t   version[4];       /* z.B.: '1.10'                         */
   int8_t  *sm194_addr;       /* Zeiger auf Großbildschirmspeicher    */
   int8_t  *sm124_addr;       /* Zeiger auf SM124 Bildspeicher.       */
   LINEA   *line_A;           /* Zeiger auf LINE_A Block.             */
   int16_t  scrn_width;       /* Bildschirmweite                      */
   int16_t  scrn_height;      /* Bildschirmhöhe                       */
   int16_t  scrn_byte_width;  /* Bildschirmweite in Bytes             */
   int16_t  scrn_planes;      /* Bildschirmfarbebenen                 */
   int16_t  PhysMode;         /* Modusmummer                          */
   int16_t  VirtMode;         /* x/16 u. y/16 in je einem Byte cod.   */
   PMODE   *ModStruct;        /* Zeiger auf akt. Grafikmodus (s.u.)   */
   int16_t  grau;/* Flag für den VDI-Treiber (Darstellung: Grau/Farbe)*/
   int16_t  BiosText;         /* Flag für den VDI-Treiber             */
   int16_t  CurText;          /* Flag für den VDI-Treiber             */
   int16_t  BlitMode;         /*           "                          */
} SCREEN;

Querverweis: Crazy-Dots-XBIOS-Erweiterung

4.22.21 SCREENINFO

/* scrFlags */
 #define SCRINFO_OK 1

/* scrClut */
 #define NO_CLUT    0
 #define HARD_CLUT  1
 #define SOFT_CLUT  2

/* scrFormat */
 #define INTERLEAVE_PLANES  0
 #define STANDARD_PLANES    1
 #define PACKEDPIX_PLANES   2

/* bitFlags */
 #define STANDARD_BITS  1
 #define FALCON_BITS    2
 #define INTEL_BITS     8

typedef struct screeninfo
{
  int32_t size;        /* Size of structur           */
  int32_t devID;       /* Device ID number           */
  int8_t  name[64];    /* Friendly name of Screen    */
  int32_t scrFlags;    /* Some flags                 */
  int32_t frameadr;    /* Adress of framebuffer      */
  int32_t scrHeight;   /* Visible X res              */
  int32_t scrWidth;    /* Visible Y res              */
  int32_t virtHeight;  /* Virtual X res              */
  int32_t virtWidth;   /* Virtual Y res              */
  int32_t scrPlanes;   /* color Planes               */
  int32_t scrColors;   /* # of colors                */
  int32_t lineWrap;    /* # of bytes to next line    */
  int32_t planeWarp;   /* # of bytes to next plane   */
  int32_t scrFormat;   /* Screen format              */
  int32_t scrClut;     /* Type of clut               */
  int32_t redBits;     /* Mask of Red Bits           */
  int32_t greenBits;   /* Mask of Green Bits         */
  int32_t blueBits;    /* Mask of Blue Bits          */
  int32_t alphaBits;   /* Mask of Alpha Bits         */
  int32_t genlockBits; /* Mask of Genlock Bits       */
  int32_t unusedBits;  /* Mask of unused Bits        */
  int32_t bitFlags;    /* Bits organisation flags    */
  int32_t maxmem;      /* Max. memory in this mode   */
  int32_t pagemem;     /* Needed memory for one page */
  int32_t max_x;       /* Max. possible width        */
  int32_t max_y;       /* Max. possible heigth       */
}SCREENINFO;

Querverweise: Setscreen, Milan   Setscreen, ct60

4.22.22 SCREEN, OverScan

typedef struct
{
   int16_t width;             /* Breite in Pixel                     */
   int16_t height;            /* Höhe   in Pixel                     */
   int16_t bytes_per_line;    /* Bytes pro Bildschirmzeile           */
   int32_t length_of_screen;  /* Länge des Bildspeichers in Bytes    */
   int32_t physbase_offset;   /* Offset Start-Bildspeicher<>Physbase */
   int32_t logbase_offset;    /* Offset Start-Bildspeicher<>Logbase  */
} SCREEN;

Querverweis: OverScan-XBIOS-Funktionen   Oscantab

4.22.23 SCRFILLMEMBLK

/* operations */
 #define BLK_CLEAR        0
 #define BLK_AND          1
 #define BLK_ANDREVERSE   2
 #define BLK_COPY         3
 #define BLK_ANDINVERTED  4
 #define BLK_NOOP         5
 #define BLK_XOR          6
 #define BLK_OR           7
 #define BLK_XNOR         8
 #define BLK_EQUIV        9
 #define BLK_INVERT       10
 #define BLK_ORREVERSE    11
 #define BLK_COPYINVERTED 12
 #define BLK_ORINVERTED   13
 #define BLK_NAND         14
 #define BLK_SET          15

typedef struct _scrsetblk
{
  int32_t size;                  /* size of structure           */
  int32_t blk_status;            /* status bits of blk          */
  int32_t blk_op;                /* mode operation              */
  int32_t blk_color;             /* background fill color       */
  int32_t blk_x;                 /* x pos in total screen       */
  int32_t blk_y;                 /* y pos in total screen       */
  int32_t blk_w;                 /* width                       */
  int32_t blk_h;                 /* height                      */
  int32_t blk_unused;
} SCRFILLMEMBLK;

Querverweise: Setscreen, ct60

4.22.24 SCRLINEMEMBLK

typedef struct _scrlineblk
{
  int32_t size;        /* size of structure            */
  int32_t blk_status;  /* status bits of blk           */
  int32_t blk_fgcolor; /* foreground fill color        */
  int32_t blk_bgcolor; /* background fill color        */
  int32_t blk_x1;      /* x1 pos dest in total screen  */
  int32_t blk_y1;      /* y1 pos dest in total screen  */
  int32_t blk_x2;      /* x2 pos dest in total screen  */
  int32_t blk_y2;      /* y2 pos dest in total screen  */
  int32_t blk_op;      /* mode operation               */
  int32_t blk_pattern; /* pattern (-1: solid line)     */
} SCRLINEMEMBLK;

Querverweise: Setscreen, ct60

4.22.25 SCRMEMBLK

 #define BLK_ERR      0
 #define BLK_OK       1
 #define BLK_CLEARED  2

typedef struct _scrblk
{
  int32_t size;              /* Size of strukture                  */
  int32_t blk_status;        /* Status bits of blk                 */
  int32_t blk_start;         /* Start adress                       */
  int32_t blk_len;           /* Length of memblk                   */
  int32_t blk_x;             /* X pos in total screen              */
  int32_t blk_y;             /* Y pos in total screen              */
  int32_t blk_w;             /* Width                              */
  int32_t blk_h;             /* Height                             */
  int32_t blk_wrap;          /* Width in bytes, from: 2000-01-13   */
} SCRMEMBLK;

Querverweise: Setscreen, Milan   Setscreen, ct60

4.22.26 SCRTEXTUREMEMBLK

typedef struct _scrtextureblk
{
  long size;                /* size of structure             */
  long blk_status;          /* status bits of blk            */
  long blk_src_x;           /* x pos source                  */
  long blk_src_y;           /* y pos source                  */
  long blk_dst_x;           /* x pos dest in total screen    */
  long blk_dst_y;           /* y pos dest in total screen    */
  long blk_w;               /* width                         */
  long blk_h;               /* height                        */
  long blk_op;              /* mode operation                */
  long blk_src_tex;         /* source texture address        */
  long blk_w_tex;           /* width texture                 */
  long blk_h_tex;           /* height texture                */
}SCRTEXTUREMEMBLK;

Querverweise: Setscreen, ct60

4.22.27 VDO_MODE

/* mode code xxxx xxxF SOPV 8NNN */
typedef struct
{
   uint16_t Plan:3;           /* Bit 0-2: NNN (Anzahl Planes)       */
   uint16_t _80Col:1;         /* Bit 3: Flag 80 Spalten (8)         */
   uint16_t VGA:1;            /* Bit 4: Flag VGA (V)                */
   uint16_t Pal:1;            /* Bit 5: Flag Pal (P)                */
   uint16_t Overscan:1;       /* Bit 6: Flag overscan (O)           */
   uint16_t STComp:1;         /* Bit 7: Flag ST compatible (S)      */
   uint16_t Vertical:1;       /* Bit 8: Flag Vertical (F)           */
   uint16_t NRJStart:1;       /* Bit 9: Energy Star                 */
   uint16_t Eco:1;            /* Bit 10: Eenrgiesparmodus           */
   uint16_t Virtual:1;        /* Bit 11: virtueller Bildschirm      */
   uint16_t ExtClock:1;       /* Bit 12: externe Uhr 32/36MHz (CT2) */
   uint16_t ExtClockEnable:1; /* Bit 13: externen Uhr testen        */
   uint16_t StandardResol:1;  /* Bit 14: Standardauflösung          */
   uint16_t DefaultMode:1;    /* Bit 15: default Videomode          */
} VDO_MODE;

Querverweise: VDO_PARAM

4.22.28 VDO_PARAM

typedef struct
{
   int16_t V_Hdl;        /* Handle                                  */
   VDO_MODE V_mode;      /* Videomodus wie beim Falcon              */
   int16_t  V_physw;     /* Breite des physikalischen Bildschirms   */
   int16_t  V_physh;     /* Höhe des physikalischen Bildschirms     */
   int16_t  V_plan;      /* Anzahl Planes                           */
   int16_t  V_logw;      /* Breite des virtuellen Bildschirms       */
   int16_t  V_logh;      /* Höhe des virtuellen Bildschirms         */
   int16_t  V_eco;       /* Delay in Sekunden vor Shutdown          */
   int16_t  V_eco2;      /* Delay in Sekunden zwischen Shutdown     */
                         /* und Energie Star Modus                  */
   int8_t   V_name[33];  /* Name des Videomodus (max. 32 Bytes)     */
                         /* mit 0 abgeschlossen.                    */
   int8_t   Reserved;    /* reserviert für zukünftige Erweiterungen */
   int32_t  V_length;    /* Puffergröße                             */
} VDO_PARAM;

Querverweise: Vread

4.22.29 VPOS

typedef struct
{
   int16_t x;
   int16_t y;
} VPOS;

Querverweise: Vseek


HomeXBIOSXBIOS-FunktionslisteGEMDOS