Previous 15994 Revisions Next

r15661 Tuesday 24th July, 2012 at 09:04:28 UTC by Jonathan Gevaryahu
vk100: extremely minor comment updates. (n/w)
[src/mess/drivers]vk100.c

src/mess/drivers/vk100.c
r15660r15661
467467   machine().scheduler().timer_set(attotime::zero, FUNC(execute_vg));
468468}
469469
470/* port 0x67: "EX ER" execute an arbitrary bresenham vector (start the state machine) */
470/* port 0x67: "EX ER" execute an "erase"? */
471471WRITE8_MEMBER(vk100_state::vgEX_ER)
472472{
473473#ifdef VG60_VERBOSE
r15660r15661
514514 * this appears to be the only way the vram can be READ by the cpu
515515 
516516 31D reads and checks d7 in a loop
517 205 reads, xors with 0x55 (from reg D), ANDS result with 0x78 and branches if it is not zero (checking for bit pattern 0101?)
517 205 reads, xors with 0x55 (from reg D), ANDS result with 0x78 and branches if it is not zero (checking for bit pattern 1010?)
518518 299 reads, rotates result right 3 times and ANDs the result with 0x0F
519519 2A4 reads, rotates result left 1 time and ANDS the result with 0xF0
520520*/
r15660r15661
531531 * d7     d6     d5     d4     d3     d2     d1     d0
532532 * according to the code at 606, the systat b register has something
533533 * to do with the uart 8251, though what exactly is unclear.
534 * the ACTS (inverse of DCTS) signal lives in one of these bits (see 5-62)
534535 * it XORs the read of systat_b with the E register (which holds 0x6)
535536 * and checks the result
536537 */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team