- [FIX] Corregit el acces als port amb OUT

- [NEW] Nou model de gestió de memòria
This commit is contained in:
2025-07-23 13:51:51 +02:00
parent 3fd28136f6
commit 6e3e8e9b69
16 changed files with 315 additions and 94 deletions

View File

@@ -1,6 +1,6 @@
#include "zx_128pageviewer.h"
#include "z80.h"
#include "z80mem.h"
#include "zx_mem.h"
void zx_128pageviewer::show()
{
@@ -22,7 +22,7 @@ void zx_128pageviewer::refresh()
Uint32 *pixels;
int pitch;
const uint8_t *tags = z80mem::get()->rawTagPtr(0);
const uint8_t *tags = mem::rawTagPtr(0);
SDL_LockTexture(tex, NULL, (void**)&pixels, &pitch);
for (int i=0; i<131072; ++i)
{