- [NEW] Implementat el mòdul de memòria per al ZX Spectrum 128K

- Primera prova falla, mirar la conexió al port 0x7ffd, que pareix que no ana.
This commit is contained in:
2024-12-20 13:18:55 +01:00
parent 184389a89e
commit ab476a19b1
5 changed files with 211 additions and 12 deletions

View File

@@ -251,7 +251,7 @@ namespace zxscreen
pixels_draw+=2;
}
t_screen++;
if (t_screen>=69888) {
if (t_screen>=t_states_total) {
pixels_draw=0;
t_flash++;
if (t_flash==16) { t_flash=0; flash = !flash; }
@@ -269,7 +269,7 @@ namespace zxscreen
t_screen = 0;
uint8_t * tmp_ptr = ptr_pixel;
ptr_pixel = zx_pixels;
refresh(69888, true);
refresh(t_states_total, true);
ptr_pixel = tmp_ptr;
t_screen = tmp;
}