memoryPointer

This commit is contained in:
Kelvin Sherlock 2013-02-10 20:19:01 -05:00
parent 223500af63
commit ce832bca76
2 changed files with 8 additions and 1 deletions

View File

@ -9,7 +9,7 @@ extern "C" {
extern void memorySetMemory(uint8_t *memory, uint32_t size);
extern void memorySetGlobalLog(uint32_t globalLog);
extern uint8_t *memoryPointer(uint32_t address);
/* Memory access functions */

View File

@ -59,6 +59,13 @@ void memorySetGlobalLog(uint32_t globalLog)
MemoryGlobalLog = globalLog;
}
uint8_t *memoryPointer(uint32_t address)
{
return Memory + address;
}
UBY memoryReadByte(ULO address)
{