mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-15 10:36:59 +00:00
jit: Add more foundational code
Strengthens the decoder's foundation but does not yet implement the core instruction lookup table logic or the public arm32_decode API. These will be addressed in future patches. Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
parent
09da076aaf
commit
7aac83b2f2
4 changed files with 138 additions and 17 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include "common/passert.h"
|
||||
#include "frontend/gui.h"
|
||||
#include "host/memory/arena.h"
|
||||
#include "jit/decoder/arm32.h"
|
||||
|
||||
#include <SDL3/SDL_opengl.h>
|
||||
#include "frontend/color.h"
|
||||
|
|
@ -18,6 +19,8 @@
|
|||
|
||||
int main()
|
||||
{
|
||||
pound::host::memory::arena_t arena = pound::host::memory::arena_init(256);
|
||||
pound::jit::decoder::arm32_init(arena, £::jit::decoder::g_arm32_decoder);
|
||||
#if 0
|
||||
gui::window_t window = {.data = nullptr, .gl_context = nullptr};
|
||||
(void)gui::window_init(&window, "Pound Emulator", 640, 480);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue