SGDK
A free and open development kit for the Sega Mega Drive
Loading...
Searching...
No Matches
memory_base.h File Reference

Memory base definition. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ROM   0x00000000
 Define start of ROM region.
 
#define RAM   0xE0FF0000
 Define start of RAM region.
 
#define STACK_SIZE   0x0A00
 Define memory allocated for stack (default = 0xA00)
 
#define MEMORY_HIGH   (0xE1000000 - STACK_SIZE)
 Define the memory high address limit for dynamic allocation.
 

Detailed Description

Memory base definition.

Author
Stephane Dallongeville
Date
06/2022

This unit provides basic memory address definitions.
We keep this H unit separated so it could eventually be included / used in assembly file if needed.