ma -> memaddr
ma_latch -> memaddr_latch maback -> memaddr_backup ca -> cursoraddr sc -> scanline oldsc -> scanline_old
This commit is contained in:
@@ -124,7 +124,7 @@ oti_out(uint16_t addr, uint8_t val, void *priv)
|
||||
if ((idx < 0x0e) || (idx > 0x10)) {
|
||||
if (idx == 0x0c || idx == 0x0d) {
|
||||
svga->fullchange = 3;
|
||||
svga->ma_latch = ((svga->crtc[0xc] << 8) | svga->crtc[0xd]) + ((svga->crtc[8] & 0x60) >> 5);
|
||||
svga->memaddr_latch = ((svga->crtc[0xc] << 8) | svga->crtc[0xd]) + ((svga->crtc[8] & 0x60) >> 5);
|
||||
} else {
|
||||
svga->fullchange = changeframecount;
|
||||
svga_recalctimings(svga);
|
||||
@@ -393,9 +393,9 @@ oti_recalctimings(svga_t *svga)
|
||||
|
||||
if (oti->chip_id > 0) {
|
||||
if (oti->regs[0x14] & 0x08)
|
||||
svga->ma_latch |= 0x10000;
|
||||
svga->memaddr_latch |= 0x10000;
|
||||
if (oti->regs[0x16] & 0x08)
|
||||
svga->ma_latch |= 0x20000;
|
||||
svga->memaddr_latch |= 0x20000;
|
||||
|
||||
if (oti->regs[0x14] & 0x01)
|
||||
svga->vtotal += 0x400;
|
||||
|
||||
Reference in New Issue
Block a user