mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Update opengl.hpp, start with ELFs
This commit is contained in:
parent
1a8d563041
commit
51689af51f
8 changed files with 469 additions and 392 deletions
|
@ -9,7 +9,7 @@ CPU::CPU(Memory& mem) : mem(mem) {
|
|||
// Write some code to memory.
|
||||
env.MemoryWrite16(0, 0x0088); // lsls r0, r1, #2
|
||||
env.MemoryWrite16(2, 0x3045); // adds r0, #69
|
||||
env.MemoryWrite16(4, 0xdf45); // swi #69
|
||||
env.MemoryWrite16(4, 0x3845); // subs r0, #69
|
||||
env.MemoryWrite16(6, 0xE7FE); // b +#0 (infinite loop)
|
||||
|
||||
// Setup registers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue