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

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
1.1.1.9 ! root       13:  * height (16 in 1-plane mode, 8 otherwise).   Use WUXGA resolution
        !            14:  * as max (higher than Full HD and considerably larger than TT high).
1.1.1.6   root       15:  */
1.1.1.9 ! root       16: #define MAX_VDI_WIDTH  1920
        !            17: #define MAX_VDI_HEIGHT 1200
1.1.1.6   root       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.7   root       31: extern bool bUseVDIRes, bVdiAesIntercept;
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.7   root       37: extern void AES_Info(Uint32 bShowOpcodes);
                     38: extern void VDI_Info(Uint32 bShowOpcodes);
                     39: extern bool VDI_AES_Entry(void);
1.1.1.4   root       40: extern void VDI_LineA(Uint32 LineABase, Uint32 FontBase);
1.1.1.2   root       41: extern void VDI_Complete(void);
1.1.1.8   root       42: extern void VDI_Reset(void);
1.1.1.2   root       43: 
1.1.1.3   root       44: #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.