Previous 15994 Revisions Next

r15802 Wednesday 8th August, 2012 at 09:13:24 UTC by Jonathan Gevaryahu
VK100: Doing further vector rom tracing with a meter on the board using the vt125 schematics as a guide, figured out what all the vector rom pins do (except perhaps D LOAD). [Lord Nightmare]
[src/mess/drivers]vk100.c

src/mess/drivers/vk100.c
r15801r15802
158158   UINT16 m_vgERR; // error register can cause carries which need to be caught
159159   UINT8 m_vgSOPS;
160160   UINT8 m_vgPAT;
161   UINT16 m_vgPAT_Mask; // current mask for PAT but <<1
161   UINT16 m_vgPAT_Mask; // current mask for PAT
162162   UINT8 m_vgPMUL; // reload value for PMUL_Count
163163   UINT8 m_vgPMUL_Count;
164164   UINT8 m_vgDownCount; // down counter = number of pixels, loaded from vgDU on execute
r15801r15802
10721072     * the vector rom bits are complex and are unfortunately poorly documented
10731073     * in the tech manual. see figure 5-23.
10741074     * control bits:
1075     *            /CE1 ----- ?
1076     *            /CE2 ----- ?
1075     *            /CE1 ----- /GO aka GO L
1076     *            /CE2 ----- GND
10771077     * addr bits: 76543210
10781078     *            ||||\\\\-- To sync counter, which counts 0xC 0x3 0x2 0x1 0x0 0x5 0x4 0xB 0xA 0x9 0x8 0xD in that order
10791079     *            |||\------ A0\__Address lsb bits of the execute write, i.e. VG_MODE; these are INVERTED FIRST.
r15801r15802
10831083     *
10841084     * data bits: 76543210
10851085     *            |||||||\-- /WRITE aka WRITE L (fig 5-20, page 5-32, writes the post-pattern-converted value back to vram at X,Y)
1086     *            ||||||\--- ? vector clk
1087     *            |||||\---- ? vector clk
1086     *            ||||||\--- DONE L [verified via tracing]
1087     *            |||||\---- VECTOR CLK [verified via tracing]
10881088     *            ||||\----- /LD ERROR aka STROBE ERROR L (strobes the adder result value into the vgERR register)
1089     *            |||\------ ? done l?
1089     *            |||\------ D-LOAD [by process of elimination and limited tracing]
10901090     *            ||\------- ERASE L (latched, forces a4 on the sync rom low and also forces a7 on the ras/erase rom; the counter rom may be involved in blanking all of vram) [verified from tracing]
1091     *            |\-------- C0 aka C IN (high during DVM read, low otherwise, likely a carry in to the adder so DVM is converted from 1s to 2s complement)
1092     *            \--------- ?D LOAD? (goes to the clock of a d-latch near the register file)
1093     *
1091     *            |\-------- C0 aka C IN (high during DVM read, low otherwise, a carry in to the adder so DVM is converted from 1s to 2s complement)
1092     *            \--------- SHIFT ENA [verified via tracing]
1093     * The data bits all have pull-ups to +5v if the /CE1 pin is not low
10941094     * According to the VT125 tech manual (vt100 tech manual rev 3, page 6-85) the 8 signals here are:
10951095     * ERASE L - d5
1096     * SHIFT ENA
1096     * SHIFT ENA - d7
10971097     * C IN - d6
1098     * D LOAD - possibly d7?
1098     * D LOAD - d4
10991099     * WRITE L - d0
1100     * DONE L
1101     * VECTOR CLK - likely d2 or d1
1100     * DONE L - d1
1101     * VECTOR CLK - d2
11021102     * STROBE ERROR L - d3
11031103     *
11041104     * it is possible d2 or d1 is the SYNC bit instead of one of the above

Previous 15994 Revisions Next


© 1998-2018 The MESS Team