Re: ROMs replacement

From: Gerrit Heitsch <gerrit_at_laosinh.s.bawue.de>
Date: Mon, 08 Oct 2012 20:25:13 +0200
Message-ID: <50731A89.6050800@laosinh.s.bawue.de>
On 10/08/2012 07:31 PM, silverdr@wfmh.org.pl wrote:
>
> On 2012-10-08, at 17:11, Gerrit Heitsch wrote:
>>  From my checks with a scope, the _CS line for the Char-ROM is the slowest of them all, going LOW about 200ns after PHI0 goes LOW, so with a 150ns EPROM, you should still be OK
>
> I use 200 but tried with faster one too.

Still, 200ns should be OK, but getting close with respect to Char-ROM 
access. On the other hand, I currently use a 2532-30 as a Char-ROM 
replacement and that one works.


>> and from the picture you posted, you still get correct looking chars so the EPROM access in general works.
>
> "Jein".. The characters in the case when the striped IDE64 picture is displayed can look all good or can also jitter on the edges. Interestingly only/mostly on the left side of the screen. Especially when switched to the DIN charset. So it works also "sort of"

Yes, but they can be stable. Also, that striped screen is done by CPU, 
so that the system itself is running.


>> Also, you said that sometimes the system comes up OK and other times it doesn't.
>
> Yes, when I plug the adapter board in, it boots most of the times. But when I e.g. placed the LS11 on the breakout board it never booted OK. Only with DolphinDOS I got a BRK and mem-monitor at $44xx (sic!)

Could you try a different LS11? Just in case you got a bad one. Also, if 
you have any, try a 74HC00, 74HCT00 or 74F00 instead of the LS00, same 
for the '11.



> http://dl.dropbox.com/u/58002657/cbm/c64/rom_adapter_0.png

Looks OK to me... Please check in your circuit if the direct connection 
of pin 13 of the LS00 and pin 3 of the LS11 to +5V is there

Could you upload a picture of the circuit as used?


>> And if it works, how stable is the system?
>
> Looks stable. At least I can input few lines of BASIC and let it run. I didn't check anything with serial bus though.

Hm, that means the idea in general is OK, there is just some detail 
we're missing.

The idea for this circuit came from another idea to replace the 3 ROMs 
with a single one, but he used 3 diodes instead of logic gates and was 
only able to fit a single image of each of the 3 into the EPROM that 
way. That one worked. The few extra ns the LS gates give us shouldn't 
make that much of a difference.


>> How long are the lines between the board and your circuit?
>
> The final one is supposed to plug in directly to the sockets. For the proto I test now I ran two wires with _BASIC and _CHAROM directly off PLA to the adapter board. Wires are about five inches each.

So you have the PLA still in its socket, meaning the lines to the BASIC 
and CHAR-ROM sockets are still connected to it? A long trace with an 
open end can do bad things to the shape of the signal. Try to grab the 
signals from the sockets and use shorter cables. That way you have the 
PLA on one end and the TTLs on the other, no open ends dangling in the 
breeze...


>> You can run an EPROM with _CS and _OE tied LOW and change the address inputs. After tAcc, you will see the the expected output on the data lines. That's how the PLA-replacement using a 27C512 works.
>
> I shall try this too out of other ideas..

Uhm, that only works for the PLA replacement and even then using an 
EPROM as a PLA isn't 100% reliable. As for our ROM replacement, you 
cannot tie _OE and _CS to ground, the system has to be able to disable 
the ROM for access to RAM and I/O.

  Gerrit



       Message was sent through the cbm-hackers mailing list
Received on 2012-10-08 19:00:35

Archive generated by hypermail 2.2.0.