b8

A x86 32bits native fantazy console.
git clone git://git.vgx.fr/b8
Log | Files | Refs

mem.h (290B)


      1 #ifndef MEM_H
      2 #define MEM_H
      3 
      4 #define MEM_SIZE  0x40000
      5 #define CART_SIZE 0x20000
      6 #define CART_HEADER_SIZE 0x20
      7 #define SCREEN_MEM_SIZE 0x10000
      8 
      9 #define SCREEN_MEM_OFFSET CART_SIZE
     10 #define INPUT_MEM_OFFSET (SCREEN_MEM_OFFSET+SCREEN_MEM_SIZE)
     11 
     12 extern unsigned char mem[];
     13 
     14 #endif /* MEM_H */