VOGONS


Reply 20 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t

Ah ok 🤣

So I programmed the EPROM chip, but I hadn't the time to take out my only MDA/CGA/EGA monitor to test if the card actually works ... Maybe I'll have the time thursday or the next week-end.

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 21 of 52, by Benedikt

User metadata
Rank Oldbie
Rank
Oldbie
Scali wrote:
Deksor wrote:

https://m.youtube.com/watch?v=-eRvF0aSYlc someone managed to get composite colors with this chip

Yes, that's me, with my Commodore PC20-III.
I also did one with an ATi Small Wonder, but its colours are all wrong in the 16-colour mode: https://youtu.be/eRVwYCq8X5w

The colors in that video look suspiciously like the effects of a phase offset of n×90° between assumed and real NTSC color sub-carrier, namely swapped and/or inverted redness and blueness components.
You are apparently not the first one to run into that problem: https://youtu.be/BdhvIfmRtvQ?t=393
But since that version of Commander Keen is a mod, anyway, there is still hope.

EDIT: In this particular case, both, the redness and the blueness component, are simply inverted.

Reply 22 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t

Bump.

Yeah a year has passed ... But anyways so after some tests, the card manages to display something, except it looks like this KfHRGVK.jpg

Now this doesn't look normal at all. However I can recognise the text that's supposed to be there in that gibberish (like, when the DOS prompt is displayed, there's some gibberish on the left that is the same length as the DOS' prompt) so it works but it doesn't show the right things.

I doubt my flash is bad or that the ROM has the characters put at the wrong places though. This is the plantronics graphic mode and the same kind of thing happen but differently : 8m42vYd.jpg.

This is supposed to be a black screen with a small green snake and randomly placed red dots. (This is my little asm project : [Game dev] Snake8088 (temporary name) and no it's not a programming error, this works well on my ati small wonder).

What's even weirder is that these green bars do not always show up and also that considering how my game works, that these bars are "physically" in the ram (my snake dies when it hits a green pixel, so when it hits a bar, it dies). At first I thought it was bad ram, but these photos have been taken after buying new ram and before that it was doing the exact same thing.

Now the card seems to react to the computer's activity to some degree (colors may change and some characters are changing in some spots when there's disk activity).

I don't have any other solutions now. What would you suggest to do next to save this card

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 23 of 52, by Benedikt

User metadata
Rank Oldbie
Rank
Oldbie

If you are sure about the data integrity and data layout, then maybe it is a pinout problem.
27C256 EPROMs and 28C256 EEPROMs, for instance, have a slightly different pinout. Not different enough to destroy the chips, but different enough to result in garbled output.
I made that mistake with a homebrew Gameboy cartridge a couple of years ago.

Reply 24 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t

Yeah but this is the eprom the card came with, and it shouldn't do anything in graphic mode.

Actually, it seems that the last bit is turned on constantly in RAM (looking at the ASCII table, "@"'s code is 1000 0000, and in plantronics mode that means that every 4th pixel will be a bright green colored pixel which corresponds to the pattern I can see).

Something must be off between the RAM's output and the PVC4 chip.

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 25 of 52, by root42

User metadata
Rank l33t
Rank
l33t

Did you test the RAM chips? And did you check the data lines, if you think that one bit is always 1....
I see two bodge resistors near the RAM chips. Where do they lead to?

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 26 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t

I believe the ram chips are good because I ordered two new chips and the problem is identical. As for the data lines, I haven't checked them yet.

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 27 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t
one_eternity_later.png
Filename
one_eternity_later.png
File size
1.65 MiB
Views
669 views
File license
Public domain

Today I made some progress !

I found that "@" pattern strange, and the pattern I saw in my own game also makes me thinkg there's a stuck bit in the RAM.
Since the RAM was fine, all there was left to check were the data lines just like @root42 told me.

So I took a schematic of the 4464 RAM chips, I fired up my meter in ohm meter position and started tracing.

This is what I came up with :

RAM_traces_1.jpg
Filename
RAM_traces_1.jpg
File size
1.73 MiB
Views
669 views
File license
Public domain

The red traces I draw are the one I checked with my meter. The blue one is one that *should* be there but isn't. It looks like I'm on the right path 😁

So I checked the unconnected pin on the chip and checked where it was going.
On the back of the card, I found this trace :

RAM_traces_2.jpg
Filename
RAM_traces_2.jpg
File size
1.15 MiB
Views
669 views
File license
Public domain

(Red is the visible part of the trace, blue is where the trace goes after the via). Bingo, that's exactly the data pin I was suspecting, it's D2 on the second chip.

And check this out !

RAM_traces_3.jpg
Filename
RAM_traces_3.jpg
File size
1.16 MiB
Views
669 views
File license
Public domain

Yeah that looks bad.
Now what's really strange is the break in the right circle I drew ... It looks like a misprint from the factory 😮. Was this card considered as defective since its creation ?

Time to bodge !

RAM_traces_4.jpg
Filename
RAM_traces_4.jpg
File size
1.73 MiB
Views
669 views
File license
Public domain

And ??
IMG_20220627_211603.jpg?width=936&height=468

Epic fail sound

Now that's weird, because that thing really looks like a memory error, how fixing a trace for a data line that was definitely broken wouldn't fix anything ?

Then after talking to other people, they suggested me to test the snake game again, because maybe the character ROM I burned wasn't the right one.

Could this be it ?

Let's try it out !

IMG_20220627_221420.jpg?width=936&height=468

Hey that looks correct now !!

So my fix actually fixed something, but it seems this card has other problems (now that I think about it, maybe the ROM I flashed is fine, but the data lines between the ROM and the paradise chip are also faulty ?? I'm gonna check that right now !!). I made some good progress today 😁

Edit : all traces between the ROM and the controller seem good, so I guess the flash is just wrong. Does anyone have a character ROM from a paradise PVC4 card ?

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 28 of 52, by Plasma

User metadata
Rank Member
Rank
Member

It was not uncommon to have boards with EPROM address and/or data lines "scrambled" with respect to the datasheet, for either data protection or routing convenience. If that's the case here, you will need to rearrange the data in the EPROM to match the card.

Reply 29 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t

Hmm, how could I fix that ?
Maybe a ROM with each character representing their respecting hex value and a DOS program that would display every characters from 0 to 255 ?

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 31 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t

Well I tried a different ROM and that's what I get now :
IMG_20220628_003319.jpg?width=936&height=468

Same pattern, but at least the characters are in the right font (I tried "CGA card for PC Spirit" on minuszerodegrees)

How could I make my own CGA rom to test my pattern ?

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 32 of 52, by Jo22

User metadata
Rank l33t++
Rank
l33t++
Plasma wrote on 2022-06-27, 21:03:

It was not uncommon to have boards with EPROM address and/or data lines "scrambled" with respect to the datasheet, for either data protection or routing convenience. If that's the case here, you will need to rearrange the data in the EPROM to match the card.

EPROMs were also used as address decoders.
That's because ouput state depends on the inputs.
So with the right ROM patterns, it's possible to form a simple decoder/encoder unit.
If done right, it can be crazy fast.

The C64 people used one at some point, to replace a proprietary Commodore part (the PLA) .
http://www.geocities.ws/sieg.peter/pla/pla.html

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 33 of 52, by Plasma

User metadata
Rank Member
Rank
Member
Deksor wrote on 2022-06-27, 22:39:
Well I tried a different ROM and that's what I get now : https://media.discordapp.net/attachments/784081115505229837/99110943945 […]
Show full quote

Well I tried a different ROM and that's what I get now :
IMG_20220628_003319.jpg?width=936&height=468

Same pattern, but at least the characters are in the right font (I tried "CGA card for PC Spirit" on minuszerodegrees)

How could I make my own CGA rom to test my pattern ?

You are getting close. Can you clear the screen and type A-Z uppercase and lowercase?

Reply 34 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t

I did better.

I ran this program:

int main(int argc, char** argv) {

for (char i=0; i<0xFF; i++) {
if (i%32 == 0 && i!=0) {
printf("\n");
}
else {
if (i!='\n' && i!= 0x0D) {
printf("%c",i);
}
else {
printf(" ");
}
}
}

return 0;

}

Now it doesn't seem perfect as I suspect some special characters are messing with the "cursor", but most of it is here. (The program starts after the second line, the mess on the second line is simply "A:\")
IMG_20220628_020009.jpg?width=936&height=468

I can see that the first line is messed up. The last character of that line is probably "@" but it blends in the rest of the "@"s.
Looking at the ASCII table, it seems "@" is the 64th character and " " is the 32nd. So I guess one thing I could try is to somehow shift every characters by one address bit. Not sure how to do that precisely though.
I wish there was a nice editor for CGA ROMs 🙁
Also every character seem to be only the "even" ones (B, D, F, H ...) and I see characters from the other font being shown here.

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative

Reply 39 of 52, by Deksor

User metadata
Rank l33t
Rank
l33t

So I flashed the ROM and ...

IMG_20220628_115719.jpg?width=936&height=468

HURRAY \o/

IMG_20220628_115751.jpg?width=936&height=468
Ok let's not celebrate too early, it's still wrong, but it's a great step in the right direction 😁

IMG_20220628_120351.jpg?width=936&height=468
Yeah the special characters are not good.

IMG_20220628_115852.jpg?width=936&height=468

I suspect half of the rom is swapped with the second font (the characters don't look exactly the same). At the very least now the card is usable to some extent 😁

Please fix the remaining error in the rom 🙏

Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative