Annotation of hatari/src/includes/stMemory.h, revision 1.1.1.13

1.1       root        1: /*
1.1.1.2   root        2:   Hatari - stMemory.h
                      3: 
1.1.1.12  root        4:   This file is distributed under the GNU General Public License, version 2
                      5:   or at 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_STMEMORY_H
                      9: #define HATARI_STMEMORY_H
                     10: 
1.1.1.9   root       11: #include "main.h"
1.1.1.3   root       12: #include "sysdeps.h"
                     13: #include "maccess.h"
1.1.1.13! root       14: #include "memory.h"
        !            15: 
1.1.1.3   root       16: 
1.1.1.7   root       17: #if ENABLE_SMALL_MEM
                     18: extern Uint8 *STRam;
                     19: extern uae_u8 *ROMmemory;
                     20: # define RomMem (ROMmemory-0xe00000)
                     21: #else
1.1.1.3   root       22: extern Uint8 STRam[16*1024*1024];
1.1.1.7   root       23: #define RomMem STRam
                     24: #endif  /* ENABLE_SMALL_MEM */
1.1.1.3   root       25: 
1.1.1.13! root       26: extern uae_u8 *TTmemory;
        !            27: extern uae_u32 TTmem_size;
1.1.1.10  root       28: 
1.1.1.13! root       29: extern Uint32 STRamEnd;
1.1.1.3   root       30: 
                     31: 
1.1.1.11  root       32: extern bool STMemory_SafeCopy(Uint32 addr, Uint8 *src, unsigned int len, const char *name);
1.1.1.10  root       33: extern void STMemory_MemorySnapShot_Capture(bool bSave);
1.1.1.6   root       34: extern void STMemory_SetDefaultConfig(void);
1.1.1.13! root       35: extern bool STMemory_CheckAreaType ( Uint32 addr , int size , int mem_type );
        !            36: extern bool STMemory_CheckRegionBusError ( Uint32 addr );
        !            37: extern void *STMemory_STAddrToPointer ( Uint32 addr );
        !            38: 
        !            39: extern void    STMemory_Write ( Uint32 addr , Uint32 val , int size );
        !            40: extern void    STMemory_WriteLong ( Uint32 addr , Uint32 val );
        !            41: extern void    STMemory_WriteWord ( Uint32 addr , Uint16 val );
        !            42: extern void    STMemory_WriteByte ( Uint32 addr , Uint8 val );
        !            43: extern Uint32  STMemory_Read ( Uint32 addr , int size );
        !            44: extern Uint32  STMemory_ReadLong ( Uint32 addr );
        !            45: extern Uint16  STMemory_ReadWord ( Uint32 addr );
        !            46: extern Uint8   STMemory_ReadByte ( Uint32 addr );
1.1.1.2   root       47: 
                     48: #endif

unix.superglobalmegacorp.com

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