Skip to content

Commit

Permalink
+ WIN_EXT_RAM definistion
Browse files Browse the repository at this point in the history
  • Loading branch information
DnCraptor committed Nov 27, 2023
1 parent bd27f62 commit 404d6e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/emulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ static FATFS fs;

#define BEEPER_PIN 28
#define VRAM_SIZE 64

#ifdef WIN_EXT_RAM
#define EXT_RAM_SIZE 32 << 10 // 32Mb
extern uint8_t EXTRAM[EXT_RAM_SIZE << 10];
#endif

// TODO: no direct access support (for PC mode)
extern uint8_t RAM[RAM_SIZE << 10];
extern uint8_t EXTRAM[EXT_RAM_SIZE << 10];
extern uint8_t VRAM[VRAM_SIZE << 10];
extern bool PSRAM_AVAILABLE;

Expand Down

0 comments on commit 404d6e5

Please sign in to comment.