LisaList2

General Category => LisaList2 => Topic started by: stepleton on October 21, 2023, 07:49:11 am

Title: RGBTOHDMI understands the Lisa video signal
Post by: stepleton on October 21, 2023, 07:49:11 am
Yesterday I experimented with the Raspberry Pi-based RGBTOHDMI device (https://github.com/hoglet67/RGBtoHDMI), which plenty of folks out there are using to interface lots of older systems with modern displays. (You can buy complete or add-your-own-RPi kits from various online "retro" shops, or you can build your own if you like SMD soldering.) There are folks out there who've managed to get it working with their Lisas, and after a lot of fiddling, I was able to do it too; see attached image.

The device seems to produce a good result if you are patient and lucky. There seem to be one or two dozen parameters you can set which will directly affect the quality of the image you get. The project's own "Apple Lisa" profile produced a skewed, rolling image for me, and I had to spend a good hour poking around and trying different options until I got something to work. (One of the parameters had me tuning an hsync-detection threshold to somewhere inside a 20 millivolt sweet spot.) I'm not sure how reproduceable the result is across Lisas or across separate RGBTOHDMI devices.

But the settings I wound up with seem dependable for now, and it's the only tool I have for getting the Lisa to display on something from this century.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: RolandJuno on October 22, 2023, 10:09:19 pm
Terrific work on getting your display working with the Lisa! I had slightly different values than DosFox. Here's what I had using 8 bit analog YUV:

sampling=7,7,7,7,7,7,7,0,1,0,10,0,0,0,0,4,1,1,1,0,79,256,256,256,256,39,256,256
geometry=164,7,552,364,720,364,2,3,1,1,20374338,896,5000,379,4,0,0
palette=Mono_(2_level)
scanline_level=0

Curious if mine is different in any way because I'm using an EPROM for the VSROM perhaps?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: andrew on October 23, 2023, 04:50:27 pm
This looks like it would be a lifesaver in the event of a dead CRT.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: patrick on October 24, 2023, 02:50:36 am
In the event of a dead CRT, use some other 12" paperwhite tube as a replacement. E.g. from an Atari SM124 monitor. These have better brightness and focus than the original Clinton tube used by Apple.

In the event of some other hardware issue, just install LisaEm on your Raspberry  ;)
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: sigma7 on October 25, 2023, 04:44:49 pm
Terrific work on getting your display working with the Lisa! I had slightly different values than DosFox. Here's what I had using 8 bit analog YUV:

sampling=7,7,7,7,7,7,7,0,1,0,10,0,0,0,0,4,1,1,1,0,79,256,256,256,256,39,256,256
geometry=164,7,552,364,720,364,2,3,1,1,20374338,896,5000,379,4,0,0
palette=Mono_(2_level)
scanline_level=0

Per this old post (https://lisalist2.com/index.php/topic,341.msg2423.html#msg2423), I suspect the aspect ratio of a single pixel on real Lisa hardware is more accurately 3:4 (Horizontal:Vertical)... if one of you that has an RGB2HDMI connected to a Lisa could try that and report as to whether it looks closer to the real thing it may pacify my curiosity. (Various screen images posted in the AppleLisaClone threads look too tall, but there are numerous other explanations of course.)

eg. geometry=164,7,552,364,720,364,  34  ,1,1,20374338,896,5000,379,4,0,0

Quote
Curious if mine is different in any way because I'm using an EPROM for the VSROM perhaps?

What speed is your EPROM? I'm wondering if a slow video state machine works just as well as a stock one, perhaps only causing a delay in the retrace signals?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: ried on December 09, 2024, 12:15:08 pm
Tom, how are you physically connecting the Lisa's composite video out port to the RGBtoHDMI device? Are you using a composite to 9-pin adapter, or something different? Thanks in advance.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: stepleton on December 09, 2024, 04:03:59 pm
I basically bought a device that has a composite input, so I don't recall too much in the way of details. Let me go and have a look...

...and I'm still a bit in the dark. What I bought was this thing: https://www.sellmyretro.com/offer/details/63615 , which appears to have made use of this thing or an earlier variant of it: https://www.tindie.com/products/c0pperdragon/rgbtohdmi-mono-lumacode/ . The person who makes that thing says "Due to tax reasons, and to avoid exceeding certain yearly revenue limits, I have to stop all sales for the rest of 2024. Sorry." But 2025 is just around the corner...

The description for that project says: "This board combines a basic RGBtoHDMI board with the features of the analog add-on that are relevant for monochrome input. So it is substantially cheaper than the combination of the existing two. Also a detachable cable is already provided." So if you can't wait, it sounds like you can get a working setup by using the "main branch" RGBtoHDMI and plugging the "analog board" into it.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: iJol on January 01, 2025, 12:11:50 pm
In the event of a dead CRT, use some other 12" paperwhite tube as a replacement. E.g. from an Atari SM124 monitor. These have better brightness and focus than the original Clinton tube used by Apple.

In the event of some other hardware issue, just install LisaEm on your Raspberry  ;)

Sorry for off-topic, but should this work? My Lisa 2/10 CRT is pretty worn out and I want to replace it for a year now. The Atari monitors are quite cheap here so if this work I'll try it out. :D
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: patrick on January 01, 2025, 02:29:39 pm
Yes, the Atari CRT (Goldstar 310KAB4K) runs perfectly in the Lisa. One of my machines had heavy burn-in marks as a result of a defective vertical deflection. It now has just such a tube in it.

You have to keep the original deflection yoke from your Lisa. To rotate the picture, rotate the yoke assembly. To move the picture, use the two ring magnets at the CRT neck. Rotate them together or against each other until you have best geometry, then use the pots on the Video Board for fine tuning.

Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: ried on January 10, 2025, 01:32:45 pm
Thanks to the brilliant folks on this forum, even I was able to get the RGBtoHDMI up and running:

(https://i.imgur.com/KMdl8uJ.jpeg)
(https://i.imgur.com/nq3ySBa.jpeg)

I thought it would be fun to use an Apple Studio Display (DVI) to match the Lisa's translucent bezel, so went with a Lisa component video > RGBtoHDMI > HDMI to DVI converter to create the result seen here. 1024 x 768 isn't a perfect way to show off Lisa Office System's geometry, of course. But it's certainly usable and looks neat.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: ried on February 04, 2025, 02:38:09 am
Any educated guesses about the values needed to support a Mac XL with the screen modification? It's certainly different than the 2/10 LOS 3.1 configuration, and I'm having trouble dialing in the correct changes.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: AlexTheCat123 on February 04, 2025, 04:19:56 pm
I remember playing around with it a while back, and I think I eventually gave up and switched to H ROMs because I was never able to get it dialed in with the screen mod. But maybe someone else who's had better luck can help.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on March 06, 2025, 02:30:17 pm
Can you please post the pi zero disk files you used?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: AlexTheCat123 on March 06, 2025, 05:01:32 pm
I just used the stock files from the RGBtoHDMI GitHub, which you can find here (https://github.com/hoglet67/RGBtoHDMI/releases). It comes with a Lisa profile, so just select that and everything should work. I still haven't managed to get it dialed in with the 3A ROMs, but the included profile will work great for other ROM revisions.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on March 25, 2025, 08:02:46 pm
So far, no luck with the RGBTOHDMI.

Using the profile listed here as well as the default lisa profile I get about the same thing which is this:

https://youtu.be/2wp9vRLRlvY?si=N77olSSK0qKYGytE

I've tried changing and rotating through the Settings menu, geometry, and sampling menu. Nothing seems to improve the screen.

Any suggestions?

Are there any other products that might work?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: ried on March 25, 2025, 09:48:57 pm
Toggle the 75 ohm termination setting?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on March 25, 2025, 10:24:24 pm
Thank you I think we made some progress but still not quite there:

https://youtu.be/2wp9vRLRlvY?si=mHcU8lnSAgFyn2Sr
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: ried on March 25, 2025, 11:26:43 pm
I wonder if you're using the Lisa profile that came with your RGBTOHDMI? If so, it may be quite different than the one cited earlier this thread (thank you, stepleton and sigma7).

Pull the microSD card out of your RGBTOHDMI, look in its folder structure to find the Lisa profile's .txt file. Make a backup copy and save it to your computer, then edit the text file on the microSD card. Paste in the following:

sampling=7,7,7,7,7,7,7,0,1,0,10,0,0,0,0,4,1,1,1,0,79,256,256,256,256,39,256,256
geometry=164,7,552,364,720,364,3,4,1,1,20374338,896,5000,379,4,0,0
palette=Mono_(2_level)
scanline_level=0

Save and close it, then put the microSD card back into your RGBTOHDMI and try again. That modified Lisa profile may work better  8)

Edit: I see you've already tried using the forum profile. Shoot.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: stepleton on March 26, 2025, 04:56:49 am
The only way I got a working RGBtoHDMI profile was through a couple hours of trial and error, and even then, it only works with my Lisa 1 and not my 2/10. More hours necessary for me to find a solution that works with both, I think, and then who knows whether it would work with a third Lisa?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on March 26, 2025, 06:27:55 am
My LISA is a 2/10.

Are there any other products that might work?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: ried on March 26, 2025, 10:53:41 am
stepleton's Lisa profile works on all of my Lisas, including a 2/10 (without the screen mod). This is the RGBTOHDMI that I use: https://www.ebay.com/itm/186793326425
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: AlexTheCat123 on March 26, 2025, 11:53:50 am
If you're not already doing it this way, maybe try connecting straight to your Lisa's VSYNC, HSYNC, and VID signals instead of hooking the RGBtoHDMI to the Lisa's composite output. That's how I do it and it's incredibly reliable, not to mention sharp.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on April 02, 2025, 08:17:58 pm
If you're not already doing it this way, maybe try connecting straight to your Lisa's VSYNC, HSYNC, and VID signals instead of hooking the RGBtoHDMI to the Lisa's composite output. That's how I do it and it's incredibly reliable, not to mention sharp.

I need to be able to use this for public presentations where the Lisa demonstrated.

Connecting to the signals requires running cables to the video card yes?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on April 02, 2025, 08:24:23 pm
I’ve made it to her. I have a stable screen, but there are two copies of it!

Don’t know much about video signals so I’m a bit lost. I’ve played with the Settings, but so far no luck.

Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: sigma7 on April 02, 2025, 11:56:35 pm
If you're not already doing it this way, maybe try connecting straight to your Lisa's VSYNC, HSYNC, and VID signals instead of hooking the RGBtoHDMI to the Lisa's composite output. That's how I do it and it's incredibly reliable, not to mention sharp.
Connecting to the signals requires running cables to the video card yes?

No, these signals are also available via connections to the motherboard or CPU board (which is safer than digging around in the CRT area).
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on April 20, 2025, 12:44:15 pm
Alex, could you post pictures of your set up?

Sigma7, do you have some drawings, photos or schematic to point out where I would get the signal from?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: sigma7 on April 20, 2025, 04:23:03 pm
Sigma7, do you have some drawings, photos or schematic to point out where I would get the signal from?

The Motherboard schematic shows the signals at the card edge connectors for the CPU board and the chassis.

Between those is a buffer chip (the only 74 part on the motherboard), which buffers the video dotstream, hsync and vsync.

I haven't connected to the signals myself, so I can't say if it makes a difference to get them from before or after the buffer... hopefully Alex knows.
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: AlexTheCat123 on April 20, 2025, 09:38:53 pm
I can provide some pictures if you want me to, but I don't think they're going to be very useful to you. I'm not connecting directly to the motherboard; I'm instead hooking to a header on my Lisa breakout board that lets me run the card cage outside the Lisa. So looking at my ribbon cable between the breakout and RGBtoHDMI probably isn't super helpful since you won't be doing it the same way.


I'm connected after the buffer, so that's probably what I would do to if I were you, just to be safe. You just need to pull VID, HSYNC, and VSYNC off that chip, and run them to the RGBtoHDMI. HSYNC and VSYNC connect to HS and VS on the RGBtoHDMI as you would expect, and I believe VID connects to grn2, although I can't validate this last one right now because my RGBtoHDMI is hooked to a Lisa that's in the middle of compiling some LOS code right now! I know it hooks to one of the grn pins though.


And oh yeah, don't forget ground as well!
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: Lisa2 on April 20, 2025, 11:36:13 pm
...do you have some drawings, photos or schematic to point out where I would get the signal from?

For the digital RBGtoHDMI interface cable, I brought out the TTL signals from the Lisa MB.  U1 ( LS123)  pin 6   (VID) to IBM CGA pin 4 ( Green ), U1 pin 3   (Vsync) to IBM CGA pin 9 ( Vsync ), U1 pin 8   (Hsync) to IBM CGA pin 8 ( Hsync) and ground.  Works perfect!

Rick
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on April 21, 2025, 10:28:08 pm


Fantastic thank you!

Looks like I have a digikey order in my future,


...do you have some drawings, photos or schematic to point out where I would get the signal from?

For the digital RBGtoHDMI interface cable, I brought out the TTL signals from the Lisa MB.  U1 ( LS123)  pin 6   (VID) to IBM CGA pin 4 ( Green ), U1 pin 3   (Vsync) to IBM CGA pin 9 ( Vsync ), U1 pin 8   (Hsync) to IBM CGA pin 8 ( Hsync) and ground.  Works perfect!

Rick
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: ried on April 21, 2025, 11:20:28 pm
+1, Rick that is awesome. Any possibility this might help to get it working with 3A ROMs and the screen mod?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: bmwcyclist on April 22, 2025, 11:15:33 pm


For the digital RBGtoHDMI interface cable, I brought out the TTL signals from the Lisa MB.

What rgb2hdmi profile do you use?
Title: Re: RGBTOHDMI understands the Lisa video signal
Post by: Lisa2 on April 23, 2025, 12:08:20 pm
What rgb2hdmi profile do you use?

This is the one that I used:

https://texelec.com/product/rgbtohdmi-ttl/ (https://texelec.com/product/rgbtohdmi-ttl/)

Rick