(BIG CHANGE) memory handling has changed, MMIO is now a 2 level page table, misaligned access supported, addresses not internally split to page and offset immediately, all load/store instructions implemented. Might still have bugs
This commit is contained in:
@@ -12,10 +12,10 @@ The emulator will load a raw binary image or static ELF executable from a file s
|
||||
which starts at 0x80000000 and is currently 16MiB,
|
||||
and start execution at the start of the image/ram or the ELF entry point.
|
||||
|
||||
There is also a debug out page starting at `0x00000000`-`0x00001000`.
|
||||
There is also a debug out section at `0x00000000`-`0x00010000`.
|
||||
Anything written to it will be logged out in hex.
|
||||
|
||||
There is also a UART at `0x00001000`-`0x00002000`, the interface is quite simple:
|
||||
There is also a UART at `0x00010000`-`0x00010002`, the interface is quite simple:
|
||||
- byte `0`: Data. When written, writes out the character
|
||||
When read, reads a character from the buffer, or 0 if empty.
|
||||
- byte `1`: Status. Read-only. Least significant bit is `TX_READY` and indicates whether
|
||||
|
||||
Reference in New Issue
Block a user