Annotation of hatari/src/includes/vdi.h, revision 1.1.1.6

1.1       root        1: /*
1.1.1.4   root        2:   Hatari - vdi.h
                      3: 
                      4:   This file is distributed under the GNU Public License, version 2. or at
                      5:   your option any later version. Read the file gpl.txt for details.
1.1       root        6: */
                      7: 
1.1.1.3   root        8: #ifndef HATARI_VDI_H
                      9: #define HATARI_VDI_H
1.1.1.2   root       10: 
1.1       root       11: #define MAX_VDI_PLANES  4
1.1.1.6 ! root       12: /* TOS needs width to be aligned to 128/planes and height to VDI text
        !            13:  * height (16 in 1-plane mode, 8 otherwise).   Use TT hi-res as max
        !            14:  * (max size affects memory usage).
        !            15:  */
        !            16: #define MAX_VDI_WIDTH  1280
        !            17: #define MAX_VDI_HEIGHT  960
        !            18: /* next in-all-bitdepths aligned size up from smallest ST res. */
        !            19: #define MIN_VDI_WIDTH   384
        !            20: #define MIN_VDI_HEIGHT  208
1.1       root       21: 
1.1.1.2   root       22: 
                     23: enum
                     24: {
1.1.1.4   root       25:   GEMCOLOR_2,
                     26:   GEMCOLOR_4,
                     27:   GEMCOLOR_16
1.1.1.2   root       28: };
                     29: 
1.1.1.3   root       30: extern Uint32 VDI_OldPC;
1.1.1.5   root       31: extern bool bUseVDIRes;
1.1.1.4   root       32: extern int VDIWidth,VDIHeight;
                     33: extern int VDIRes,VDIPlanes;
1.1       root       34: 
1.1.1.4   root       35: extern int VDI_Limit(int value, int align, int min, int max);
                     36: extern void VDI_SetResolution(int GEMColor, int WidthRequest, int HeightRequest);
1.1.1.5   root       37: extern bool VDI(void);
1.1       root       38: extern void VDI_FixDesktopInf(void);
1.1.1.4   root       39: extern void VDI_LineA(Uint32 LineABase, Uint32 FontBase);
1.1.1.2   root       40: extern void VDI_Complete(void);
                     41: 
1.1.1.3   root       42: #endif  /* HATARI_VDI_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.