Chip gráfico VIC-II y sonda lógica.

Moderador: Fundadores

Responder
Avatar de Usuario
Hodor
Aspirante a demonio
Aspirante a demonio
Mensajes: 434
Registrado: 20 Feb 2016, 16:41
Ubicación: A 900km de Oviedo
Been thanked: 2 times

Chip gráfico VIC-II y sonda lógica.

Mensaje por Hodor »

Buenas.

Tengo un Commodore 64 con fallos gráficos al arranque que tras varias pruebas me llevan a sospechar del VIC-II. Asimismo no dispongo de osciloscopio pero sí de sonda lógica. Mi pregunta es: ¿sería posible utilizar esta última para efectuar alguna comprobación que me proporcionara pistas sobre la salud del VIC?

Si alguien me pudiera aclarar esta duda le estaría muy agradecido.

Un saludo.
Avatar de Usuario
jjsaenz1969
Demonio segundo orden
Demonio segundo orden
Mensajes: 1202
Registrado: 22 Mar 2015, 00:41
Ubicación: Vitoria
Has thanked: 105 times
Been thanked: 100 times
Contactar:

Re: Chip gráfico VIC-II y sonda lógica.

Mensaje por jjsaenz1969 »

¿Puedes poner alguna foto con el fallo?
Avatar de Usuario
Hodor
Aspirante a demonio
Aspirante a demonio
Mensajes: 434
Registrado: 20 Feb 2016, 16:41
Ubicación: A 900km de Oviedo
Been thanked: 2 times

Re: Chip gráfico VIC-II y sonda lógica.

Mensaje por Hodor »

jjsaenz1969 escribió: 22 Ene 2018, 17:06 ¿Puedes poner alguna foto con el fallo?
Sí, por supuesto.

- Al arrancar aparece esta pantalla con fondo amarillo y las letras de colorines:

Imagen

Tras un rato con el cursor parpadeando, éste desaparece y aparentemente el ordenador se cuelga.

- Al arrancarlo por segunda vez, entonces muestra el siguiente fondo blanco con las letras apenas visibles:

Imagen

Aparte del VIC-II, sospecho de la Color RAM y PLA. Tengo un nuevo chip de Color RAM en camino pero todavía no me ha llegado.

Un saludo.
Avatar de Usuario
jjsaenz1969
Demonio segundo orden
Demonio segundo orden
Mensajes: 1202
Registrado: 22 Mar 2015, 00:41
Ubicación: Vitoria
Has thanked: 105 times
Been thanked: 100 times
Contactar:

Re: Chip gráfico VIC-II y sonda lógica.

Mensaje por jjsaenz1969 »

En este sitio tienes unos pantallazos con averías comunes del C64, también te dicen que chip puede ser el culpable.
Avatar de Usuario
Hodor
Aspirante a demonio
Aspirante a demonio
Mensajes: 434
Registrado: 20 Feb 2016, 16:41
Ubicación: A 900km de Oviedo
Been thanked: 2 times

Re: Chip gráfico VIC-II y sonda lógica.

Mensaje por Hodor »

jjsaenz1969 escribió: 22 Ene 2018, 17:18 En este sitio tienes unos pantallazos con averías comunes del C64, también te dicen que chip puede ser el culpable.
Gracias, lo conozco, pero hasta el momento lo único que he visto que se asemeje algo a mi problema es la PLA o el VIC. Y, desgraciadamente, los ejemplos concretos de esas dos partes tampoco se parecen demasiado ::?
Avatar de Usuario
Quickie
Aspirante a demonio
Aspirante a demonio
Mensajes: 388
Registrado: 21 Sep 2017, 19:58
Has thanked: 25 times
Been thanked: 21 times

Re: Chip gráfico VIC-II y sonda lógica.

Mensaje por Quickie »

Hola,

Por si te sirve de ayuda este párrafo que se refiere al VIC-II extraído de aquí:
http://www.zimmers.net/cbmpics/cbm/c64/vic-ii.txt

"Important signals:

A0-A13 The 14 bit video address bus used by the VIC to address 16KB of
memory. The address bits A0-A5 and A8-A13 are multiplexed in pairs
(i.e. A0/A8, A1/A9 etc.) on one pin each. The bits A6-A11 are
(additionally) available on separate lines.

D0-D11 A 12 bit wide data bus over which the VIC accesses the memory. The
lower 8 bits are connected to the main memory and the processor
data bus, the upper 4 bits are connected to a special 4 bit wide
static memory (1024 addresses, A0-A9) used for storing color
information, the Color RAM.

IRQ This output is wired to the IRQ input on the processor and makes it
possible for the VIC to trigger interrupts. The VIC has four
interrupt sources: On reaching a certain raster line (raster
interrupt), on the collision of two or more sprites, on the
collision of sprites with graphics data and on a negative edge on
the light pen input.

BA With this signal, the VIC indicated that the bus is available to
the processor during the second clock phase (�2 high). BA is
normally high as the VIC accesses the bus mostly during the first
phase. But for the character pointer and sprite data accesses, the
VIC also needs the bus sometimes during the second phase. In this
case, BA goes low three cycles before the VIC access. After that,
AEC remains low during the second phase and the VIC performs the
accesses. Why three cycles? BA is connected to the RDY line of the
processor as mentioned, but this line is ignored on write accesses
(the CPU can only be interrupted on reads), and the 6510 never does
more than three writes in sequence (see [5]).

AEC This pin is wired to the processor signal with the same name (see
there). It reflects the state of the data and address line drivers
of the VIC. If AEC is high, they are in tri-state. AEC is normally
low during the first clock phase (�2 low) and high during the
second phase so that the VIC can access the bus during the first
phase and the 6510 during the second phase. If the VIC also needs
the bus in the second phase, AEC remains low.

LP This input is intended for connecting a light pen. On a negative
edge, the current position of the raster beam is latched to the
registers LPX and LPY. As this pin shares a line with the keyboard
matrix, it can also be accessed by software.

�IN This is the feed for the pixel clock of 8.18 MHz (NTSC) or 7.88 MHz
(PAL) that is generated from the crystal frequency. Eight pixels
are displayed per bus clock cycle (�2).

�0 From the pixel clock on �IN, the VIC generates the system clock of
1.023 MHz (NTSC) or 0.985 MHz (PAL) by dividing �IN by eight. It is
available on this pin and fed into the processor which in turn
generated the signal �2 from it."

No tengo experiencia analizando el VIC-II pero me gustaría aprender y echar un cable.
Se me ocurre comparar las líneas del video bus de un VIC-II operativo y compararlo con éste. Al menos podrías tener una referencia...
Imagen
Avatar de Usuario
Hodor
Aspirante a demonio
Aspirante a demonio
Mensajes: 434
Registrado: 20 Feb 2016, 16:41
Ubicación: A 900km de Oviedo
Been thanked: 2 times

Re: Chip gráfico VIC-II y sonda lógica.

Mensaje por Hodor »

Quickie escribió: 22 Ene 2018, 22:37 Hola,

Por si te sirve de ayuda este párrafo que se refiere al VIC-II extraído de aquí:
http://www.zimmers.net/cbmpics/cbm/c64/vic-ii.txt

"Important signals:

[...]

No tengo experiencia analizando el VIC-II pero me gustaría aprender y echar un cable.
Se me ocurre comparar las líneas del video bus de un VIC-II operativo y compararlo con éste. Al menos podrías tener una referencia...
Gracias, te agradezco la molestia que te has tomado. Por desgracia esa información técnica me supera y, al menos por lo que he leído, tiene pinta de ir dirigida a quien utilice osciloscopio. Por desgracia tampoco dispongo de un VIC-II funcional para realizar cualquier comparación. Por el momento voy tocando allí y aquí a ver si suena la flauta :)) . Espero que me llegue pronto un chip de Color RAM que he pedido y pueda sustituirla.

De otra manera he probado varios POKES para cambiar de color tanto el fondo como el cursor. Primeramente no daban señales de funcionar:

Imagen

Pero tras un apagado/encendido comenzaron a dar algún resultado correcto comparándolo con el emulador. Al cabo de un rato se colgó y no pude seguir.

Imagen

Un saludo.
Avatar de Usuario
Quickie
Aspirante a demonio
Aspirante a demonio
Mensajes: 388
Registrado: 21 Sep 2017, 19:58
Has thanked: 25 times
Been thanked: 21 times

Re: Chip gráfico VIC-II y sonda lógica.

Mensaje por Quickie »

Vaya,

Bueno, try/catch y buena suerte :D
Aun así, yo casi que apostaría al VIC...
Imagen
Responder

Volver a “Commodore”