mirror of
https://github.com/ksherlock/mpw.git
synced 2024-06-07 11:29:29 +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 memorySetMemory(uint8_t *memory, uint32_t size);
|
||||||
extern void memorySetGlobalLog(uint32_t globalLog);
|
extern void memorySetGlobalLog(uint32_t globalLog);
|
||||||
|
extern uint8_t *memoryPointer(uint32_t address);
|
||||||
|
|
||||||
/* Memory access functions */
|
/* Memory access functions */
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,13 @@ void memorySetGlobalLog(uint32_t globalLog)
|
||||||
MemoryGlobalLog = globalLog;
|
MemoryGlobalLog = globalLog;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
uint8_t *memoryPointer(uint32_t address)
|
||||||
|
{
|
||||||
|
return Memory + address;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
UBY memoryReadByte(ULO address)
|
UBY memoryReadByte(ULO address)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user