Annotation of hatari/src/includes/tos.h, revision 1.1.1.3

1.1       root        1: /*
1.1.1.2   root        2:   Hatari - tos.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.2   root        8: #ifndef HATARI_TOS_H
                      9: #define HATARI_TOS_H
1.1       root       10: 
                     11: /* Standard available ST memory configurations */
1.1.1.2   root       12: enum
                     13: {
1.1       root       14:   MEMORYSIZE_512,
                     15:   MEMORYSIZE_1024,
                     16:   MEMORYSIZE_2MB,
                     17:   MEMORYSIZE_4MB
                     18: };
                     19: 
                     20: /* List of TOS settings for different memory size */
1.1.1.2   root       21: typedef struct
                     22: {
                     23:   unsigned long PhysTop;    /* phys top */
                     24:   int MemoryConfig;         /* %00=128k %01=512k %10=2Mb %11=reserved. eg %1010 = 4Mb */
                     25:   unsigned long MemoryEnd;  /* Above this address causes a BusError */
1.1       root       26: } MEMORY_INFO;
                     27: 
1.1.1.2   root       28: 
1.1.1.3 ! root       29: extern Uint16 TosVersion;
        !            30: extern Uint32 TosAddress, TosSize;
1.1.1.2   root       31: extern BOOL bTosImageLoaded;
1.1       root       32: extern unsigned int ConnectedDriveMask;
                     33: 
                     34: extern void TOS_MemorySnapShot_Capture(BOOL bSave);
1.1.1.2   root       35: extern int TOS_LoadImage(void);
                     36: 
                     37: #endif

unix.superglobalmegacorp.com

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