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:
Ronald Caesar 2025-10-12 20:01:48 -04:00
parent 09da076aaf
commit 7aac83b2f2
No known key found for this signature in database
GPG key ID: 04307C401999C596
4 changed files with 138 additions and 17 deletions

View file

@ -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, &pound::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);