mirror of
https://github.com/ksherlock/mpw.git
synced 2025-02-13 09:31:25 +00:00
memoryPointer
This commit is contained in:
parent
223500af63
commit
ce832bca76
@ -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 */
|
||||
|
||||
|
@ -59,6 +59,13 @@ void memorySetGlobalLog(uint32_t globalLog)
|
||||
MemoryGlobalLog = globalLog;
|
||||
}
|
||||
|
||||
|
||||
uint8_t *memoryPointer(uint32_t address)
|
||||
{
|
||||
return Memory + address;
|
||||
}
|
||||
|
||||
|
||||
UBY memoryReadByte(ULO address)
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user