![]() |
![]() |
![]() |
|
Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment. |
![]() |
|
Thread Tools |
![]() |
#41 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]()
Colin, you can also try reading the ROMs in your STAG again as 68764 or 68766, but this time with the CE pin (20) isolated and connected to pin 24 via a resistor. Rather than bend the pin out sideways, you might prefer to put the ROM in a 24-pin socket with the pin 20 contact removed, and drop that into the programmer.
|
![]() |
![]() |
![]() |
#42 | ||
Octode
Join Date: May 2018
Location: Northampton, Northamptonshire, UK.
Posts: 1,196
|
![]() Quote:
But strangely, Commodore themselves seemed to say that the 2564 EPROM was an alternative to the 2364 ROM's: Quote:
|
||
![]() |
![]() |
![]() |
#43 | |||
Octode
Join Date: May 2018
Location: Northampton, Northamptonshire, UK.
Posts: 1,196
|
![]() Quote:
But I had also wondered if thee could have been active-high, being as they didn't have the usual 'over-score' bar on the names: Quote:
|
|||
![]() |
![]() |
![]() |
#44 | |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]() Quote:
Last edited by SiriusHardware; 24th Aug 2023 at 10:23 am. |
|
![]() |
![]() |
![]() |
#45 | ||
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]()
More data available I believe now with the suggestion below - here's the top of the listing attached.
There seems to be a known issue regarding cut and paste of the Serial Monitor in Arduino and the suggestion is to use something like Putty (which I do have installed for other reasons) to capture the full output. I'll try that later. Colin. Quote:
|
||
![]() |
![]() |
![]() |
#46 | |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]() Quote:
Anyway, since tying the CE pin high on the Arduino reader has provided proof of concept, now try the same thing on your STAG - read as a 68764 / 68766 but with the CE pin of the ROM isolated and tied via a resistor to +5V. If that works, you won't need to worry about any cut and paste issues you may be having with the Arduino IDE. |
|
![]() |
![]() |
![]() |
#47 | ||
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]()
OK - that didn't work with my STAG but attached is the output via PUTTY from the Arduino sketch.
Colin. Quote:
|
||
![]() |
![]() |
![]() |
#48 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]()
OK, was worth a try with the STAG. My 'Dumb' programmer probably would have allowed them to be read by that process, but luckily the Arduino method seems to be working.
I find that area full of AA a bit concerning, if there were any areas filled with large patches of the same value I would expect that they would probably contain 'FF', so - Find the equivalent file on zimmers and load it into your STAG programmer's editor and look at just the first 16 values in that version and in the code you read out using the Arduino. Are they the same, or different. Same for the other ROM, compare the first line of values read out from the ROM by the Arduino with the first line of values in the actual file from zimmers. I'll dig out the 'advanced' Arduino reader code and post it later. |
![]() |
![]() |
![]() |
#49 |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]()
Here's both UL1 and UJ1 for reference.
I have also replaced their sockets and the RRIOT white socket to no avail. Colin. |
![]() |
![]() |
![]() |
#50 |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]()
Again for reference, I can't find the files on zimmers but I have them downloaded from here:
https://www.commodore.ca/manuals/fun.../ALLFILES.html Colin. |
![]() |
![]() |
![]() |
#51 |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]()
Well they match (I loaded the .bin files into HxD and those caharacters at the end show up as A), but the wrong way round - either my ROMs are mislabelled or the web site has them mis-named.
Colin. |
![]() |
![]() |
![]() |
#52 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]()
Good job finding the files although I am a little bit disappointed at zimmers for not having them there.
Here (I hope) is the slightly more advanced version of the reader sketch you are currently using. The connections between the Arduino Mega and the ROM are exactly the same for this version. I acknowledge Oddbloke (details in the .ino file) as the original author, plus additions by OlivierM, their version was the starting point for this version. .ino is not an allowed file type for the forum so I have wrapped it up in a .zip, attached. I have left the serial speed at the original 9600 which is also the default speed of the serial monitor, but you can change the value in the serial.Begin statement to a much higher baud rate and change the baud rate setting in the serial monitor to the same rate if you want it to go a bit faster. I've also set the 'bytes to read' value to 8192, for 8K. The logic state of the Arduino 'A0' input sets the operating mode of the reader. If input A0 is left open / unconnected the reader outputs the contents of the ROM as human-readable 16-column ASCII Hex with an address column at the left hand side. At the right hand side, the values are shown as the equivalent ASCII characters if they are printable characters, otherwise they are represented by a '.' instead. As the hex values are read out from the ROM they are added together to produce a 16-bit (4 digit) hex checksum which is displayed at the end of the readout. This can be useful if you know what the ROM's checksum should be when it is healthy. If input A0 is connected (with a male-male jumper) to GND the reader outputs the contents of the ROM as Intel Hex which you can cut and paste into a plain text editor (like Notepad in Windows) and then save it as romfile.hex or whatever. It must be a 'simple' text editor, not a word processor which may add invisible formatting characters and other information to the file. When you go to load the code into your programmer's editor it may automatically recognise the file as an Intel Hex file or it may query the file type and you will have to tell it that it is an Intel File. There is a small chance that your programmer's editor may not actually load Intel Hex files, in which case the file will need to be converted to say raw binary (.bin) format. We will deal with that if we have to. |
![]() |
![]() |
![]() |
#53 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]()
Re: The swapover, I suppose there is an outside chance that some previous fixer has had them out at some point in the past and mixed them up. Try looking for some high-def images of that control PCB online and see if you can see which way around they should be fitted.
My feeling is that if they were the wrong way around it would probably work a lot less than it does now but it is worth ruling out. |
![]() |
![]() |
![]() |
#54 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]()
This page from the manual Tony linked to early on appears to show which numbered ROMs should fit in which sockets.
|
![]() |
![]() |
![]() |
#55 |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]() |
![]() |
![]() |
![]() |
#56 | |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]()
Arduino 2.1.1 here - it won't comiple:
"Compilation error: redefinition of 'const int kPin_A0'" Colin. Quote:
|
|
![]() |
![]() |
![]() |
#57 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]()
Amazing. I compiled that very .ino seconds before I made it into a .zip file. I'll have a quick look.
|
![]() |
![]() |
![]() |
#58 |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]()
See post 51 - I'm comfortable that they match the downloaded .bin files if I use HxD to load them.
Colin. |
![]() |
![]() |
![]() |
#59 |
Dekatron
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,089
|
![]()
They match byte for byte, exactly the same all the way through? All 8192 bytes in each ROM? Remember it was a three-flash warning (Faulty ROM) which set us off down this road.
|
![]() |
![]() |
![]() |
#60 |
Octode
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,604
|
![]()
I need to do this manually as the output from Putty is in a different format to the .bin file.
Colin. |
![]() |
![]() |