comparison genesis.c @ 1318:bfdd450e7dea

Initial work on handling the 128KB VRAM mode bit and some basic prep work for VDP test register support
author Michael Pavone <pavone@retrodev.com>
date Sun, 16 Apr 2017 16:40:04 -0700
parents 3185438e0134
children 071e761bcdcf
comparison
equal deleted inserted replaced
1317:32e95d6733a6 1318:bfdd450e7dea
338 gen->bus_busy = 0; 338 gen->bus_busy = 0;
339 } 339 }
340 } else if (vdp_port < 0x18) { 340 } else if (vdp_port < 0x18) {
341 psg_write(gen->psg, value); 341 psg_write(gen->psg, value);
342 } else { 342 } else {
343 //TODO: Implement undocumented test register(s) 343 vdp_test_port_write(gen->vdp, value);
344 } 344 }
345 return context; 345 return context;
346 } 346 }
347 347
348 static m68k_context * vdp_port_write_b(uint32_t vdp_port, m68k_context * context, uint8_t value) 348 static m68k_context * vdp_port_write_b(uint32_t vdp_port, m68k_context * context, uint8_t value)