Previous 15994 Revisions Next

r15702 Sunday 29th July, 2012 at 20:36:05 UTC by Jonathan Gevaryahu
VK100: more comment updates based on shared info from VT125 tech manual [Lord Nightmare]
[src/mess/drivers]vk100.c

src/mess/drivers/vk100.c
r15701r15702
966966   ROM_LOAD( "wb---0_060b1.6309.pr2.ic77", 0x0000, 0x0100, CRC(198317fc) SHA1(00e97104952b3fbe03a4f18d800d608b837d10ae)) // label verified from nigwil's board
967967
968968   ROM_REGION( 0x400, "proms", ROMREGION_ERASEFF )
969   // not sure what this prom is, it may relate somehow to addressing or modifying vram, or the systat b register. (256*4, 82s129)
969   /* some sort of synchronizer or counter rom (256*4, 82s129)
970    * control bits:
971    *            /CE1 ----- ?
972    *            /CE2 ----- ?
973    * addr bits: 76543210
974    *            |||||||\-- ?
975    *            ||||||\--- ?
976    *            |||||\---- ?
977    *            ||||\----- ?
978    *            |||\------ ?
979    *            ||\------- ?
980    *            |\-------- ?
981    *            \--------- Connects to the SYNC ROM A4 (what drives this?)
982    * data bits: 3210
983    *            |||\-- ?
984    *            ||\--- ?
985    *            |\---- ?
986    *            \----- ?
987    */
970988   ROM_LOAD( "wb8151_573a2.6301.pr3.ic44", 0x0000, 0x0100, CRC(75885a9f) SHA1(c721dad6a69c291dd86dad102ed3a8ddd620ecc4)) // label verified from nigwil's and andy's board
971989   /* this is the "DIRECTION ROM"  == mb6309 (256x8, 82s135)
972990    * see figure 5-24 on page 5-39
973991    * It tells the direction and enable for counting on the X and Y counters
974992    * and also handles the non-math related parts of the bresenham line algorithm
993    * control bits:
994    *            /CE1 ----- ?
995    *            /CE2 ----- ?
975996    * addr bits: 76543210
976997    *            ||||\\\\-- DIR (vgDIR register low 4 bits)
977998    *            |||\------ ERROR CARRY (strobed in by STROBE L from the error counter's adder)
r15701r15702
9921013   /* this is the "VECTOR ROM" (256*8, 82s135) which runs the vector generator state machine
9931014    * the vector rom bits are complex and are unfortunately poorly documented
9941015    * in the tech manual. see figure 5-23.
1016    * control bits:
1017    *            /CE1 ----- ?
1018    *            /CE2 ----- ?
9951019    * addr bits: 76543210
9961020    *            ||||\\\\-- To sync counter, which counts 0xC 0x3 0x2 0x1 0x0 0x5 0x4 0xB 0xA 0x9 0x8 0xD in that order
997    *            ||\\------ VG_MODE
1021    *            |||\------ A0\__Address lsb bits of the execute write, i.e. VG_MODE
1022    *            ||\------- A1/
9981023    *            |\-------- CARRY_IN (when set, only one /LD ERROR pulse occurs instead of two)
9991024    *            \--------- ? possibly tied or somehow pulsed by sync rom d7? /LD ERROR only goes active (low) when this is unset
10001025    *
10011026    * data bits: 76543210
1002    *            |||||||\-- WRITE (fig 5-20, page 5-32)
1003    *            ||||||\--- ? MAYBE related to the dir rom PIXEL WRT or an active low /CLR on the WRT L line [active low, sync addr 011]
1004    *            |||||\---- ? MAYBE related to the dir rom PIXEL WRT or an active low /CLR on the WRT L line [active low, sync addr 011]
1005    *            ||||\----- /LD ERROR (strobes a value into the vgERR register)
1006    *            |||\------ likely CLK ERROR, also strobes a value into the vgERR register but from the adder and not the bus
1007    *            ||\------- ? possibly drives a4 on the sync rom, only low for VG_MOVE?
1008    *            |\-------- C0 (high during DVM read, low otherwise)
1009    *            \--------- ? (active low at same cycle as bit 4)
1027    *            |||||||\-- /WRITE aka WRITE L (fig 5-20, page 5-32, writes the post-pattern-converted value back to vram at X,Y)
1028    *            ||||||\--- ? vector clk
1029    *            |||||\---- ? vector clk
1030    *            ||||\----- /LD ERROR aka STROBE ERROR L (strobes the adder result value into the vgERR register)
1031    *            |||\------ ? d-load?
1032    *            ||\------- ERASE L (forces a4 on the sync rom low and maybe drives /WE low to make the crtc refresh blank all of ram)
1033    *            |\-------- 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)
1034    *            \--------- ? done l?
1035    *
1036    * According to the vt125 tech manual (vt100 tech manual rev 3, page 6-85) the 8 signals here are:
1037    * ERASE L - d5
1038    * SHIFT ENA
1039    * C IN - d6
1040    * D LOAD
1041    * WRITE L - d0
1042    * DONE L
1043    * VECTOR CLK
1044    * STROBE ERROR L - d3
10101045    */
10111046   ROM_LOAD( "wb8146_058b1.6309.pr1.ic99", 0x0200, 0x0100, CRC(71b01864) SHA1(e552f5b0bc3f443299282b1da7e9dbfec60e12bf))  // label verified from nigwil's and andy's board
10121047   /* this is the "SYNC ROM" == mb6331 (32x8, 82s123)
10131048    * It generates the ram RAS/CAS and a few other signals, see figure 5-20 on page 5-32
10141049    * The exact pins for each signal are not documented.
1050    * control bits:
1051    *            /CE1 -- GND(Unused)
10151052    * addr bits: 43210
10161053    *            |\\\\-- To sync counter, which counts 0xC 0x3 0x2 0x1 0x0 0x5 0x4 0xB 0xA 0x9 0x8 0xD in that order
1017    *            \------ likely tied to /RESET, /GO, vblank, or possibly a read of SYSTAT A or writes to the vector regs
1054    *            \------ from vector rom d5, only low during VG_MODE == ER (ERase Screen)
10181055    *                      when high: the sync rom matches figure 5-20 (page 5-32) and 5-23 (page 5-38)
10191056    *                      when low: RA/RB is fixed on WOPS in the register file
1020    *                                LD SHFR does NOT output pulses
1021    *                                WRT/RD is held at /RD so writes to vram do nothing
1022    *                    it is also possible this is tied to vector rom d5
1057    *                                LD SHFR does NOT output pulses (effectively blanking the screen)
1058    *                                WRT/RD is held at /RD so vg to vram do nothing,
1059    *                                however while the crtc is refreshing the screen it instead is writing zeroes to every location
10231060    * data bits: 76543210
10241061    *            |||||||\-- WRT/RD (write high when x,y (vg) drives vram, read low when ma (crtc) drives vram)
1025    *            ||||||\--- /RAS
1026    *            |||||\---- STROBE aka STROBE L
1027    *            ||||\----- LD SHFR
1028    *            |||\------ /CAS
1062    *            ||||||\--- /RAS (for vram)
1063    *            |||||\---- STROBE aka STROBE L aka VG STROBE(latches the carry bit from the adder to the direction rom AND causes the data at the X,Y address of vram to be read into the holding register before pattern is applied)
1064    *            ||||\----- LD SHFR (loads the 12-bit shift register of data to be shifted to screen)
1065    *            |||\------ /CAS (for vram)
10291066    *            ||\------- RA\__selects which slot of the 8x4 register file (du, dvm, dir, or wops) is selected
10301067    *            |\-------- RB/
1031    *            \--------- vector rom "write signal"? (mentioned on page 5-35 last paragraph?) (this is off by one cycle though...) [active low, sync addr 011]
1068    *            \--------- VG vector rom "enable"? (mentioned on page 5-31 last paragraph?) (this is off by one cycle though...) [active low, sync addr 011]
1069    *                       This may actually have to do with gating the DCNT DONE L signal to make the FINISH signal which unsets the /GO register
1070    * The VT125 proms E64/E66 and their respective latches E65 and E83 are roughly
1071    * but not completely equivalent to the sync rom
10321072    */
10331073   ROM_LOAD( "wb8-14_297a1.74s288.pr6.ic89", 0x0300, 0x0020, CRC(e2f7c566) SHA1(a4c3dc5d07667141ad799168a862cb3c489b4934)) // label verified from nigwil's and andy's board
10341074ROM_END

Previous 15994 Revisions Next


© 1998-2018 The MESS Team