- [FIX] Les interrupcions comencen mirant IE & IF, i després IME. Estava al reves.
- [FIX] En cada interrupció se marcava el exit_from_halt, i sino estaves en halt, el pròxim halt no tenía efecte. - [FIX] Implementat el halt bug quan va despres de EI - [FIX] una demanda de interrupció ha de quedar marcada en IF, encara que en IE no estiga habilitada. - [FIX] durant el pintat se marquen les interrupcions que toque, i al final es quan s'envia tot junt. - [FIX] estava enviant una interrupcio VBLANK al acabar el pintat total, com en spectrum, adicional a la que toca, i tot anava loco. - [FIX] Llevats tots els fullrefresh, no funciona be en GameBoy
This commit is contained in:
@@ -360,7 +360,8 @@ namespace debug
|
||||
pause();
|
||||
is_debugging = true;
|
||||
show();
|
||||
if ( gbscreen::getFullRefresh()) gbscreen::fullrefresh();
|
||||
gbscreen::redraw(true);
|
||||
//if ( gbscreen::getFullRefresh()) gbscreen::fullrefresh();
|
||||
}
|
||||
|
||||
void cont() {
|
||||
@@ -777,7 +778,8 @@ namespace debug
|
||||
uint8_t dt = sm83::step();
|
||||
//zx_tape::update(dt);
|
||||
//zx_ula::sound_update(dt);
|
||||
gbscreen::fullrefresh();
|
||||
gbscreen::refresh(dt);
|
||||
gbscreen::redraw();
|
||||
//z80analyze::refresh();
|
||||
} else if (strcmp(cmd, "c")==0 || strcmp(cmd, "cont")==0) {
|
||||
sm83::step();
|
||||
|
||||
Reference in New Issue
Block a user