Sunday, 30 March 2025

PET Composite Video Out - New Kit Version

I have a new kit listed on my Tindie store. PET Composite Video Out.

This replaces the previous version (left) which was only available pre-assembled.

With the new version, I wanted to simplify things a little. The old one had various jumper blocks to provide buffered or buffered and inverted versions of all the signals, to both the video output and a second output for a monitor. I don't think anyone ever used any of those.

It also had the "seemed like a good idea at the time" pre-made links on the jumper blocks, so it would work as is, or you could cut the track and fit the jumpers. When I used that on the jumpers on the Minstrel, lots of people skipped over that in the instructions, fitted the jumpers over the pre-made links, then wondered by the jumpers didn't work.

The new version bypasses all of that and contains only the bits that you need.

It is available in kit form if you want to built it yourself.

Its quite a simple through hole kit, so you should be OK if you know which end of the soldering iron to hold and have made sure you throw all of your lead-free solder in the bin before you start.

Or you can still order it assembled if you prefer.

It plugs into the monitor connector of a PET 2001 or 2001N.

Anything with the 9" monitor should work, 2001/2001N/3008/3016/3032/4016/4032.

It is not suitable for 40xx or 80xx PET/CBM models with 12" monitors and 6545/6845 CRTC chips. Those generate different frequencies and have different polarity signals. And no, it will not work with a SuperPET (since someone always asks with everything I do - maybe if someone could send me a SuperPET I could make things for it?)

These earlier PETs all used something very similar to NTSC (yes, even in the UK and other PAL territories).

16.625ms frames, give a 60.150Hz frame rate, close enough.

The vertical sync shown on the bottom trace, is the correct polarity, active low, and around the right pulse duration. That's a good start.

The video at the top is active low, so needs to be inverted so that the white pixels are high.

The horizontal sync in the middle is the wrong polarity, active high. This is easy enough to fix, but where things get tricky is the pulse starts too early, is way too long, and ends well into the visible video data.

Because of the timing of this horizontal sync pulse, the previous version had the video shifted slightly to the right on the screen. This was usually not a problem, and could usually be adjusted by the horizontal position control of your monitor if it bothered you.

It is only noticeable on my monitor if I turn the brightness right up on a screen full of text (which you can easily generate if you run the board without a CPU).

I have built various versions of PET Video Out over the years.

Most of which have been based on a vintage circuit from Commodore PET Users Club of England – Newsletter issues 1 and 2, page 9.

Note the version you normally see of this has this capacitor marked as 2200mf, this is incorrect, and should be 2200pf, or 2.2nf as we would normally write these days. I have corrected the version above.

That was my starting point, with only a minor change of adding the 100Ω resistor to drop the output level slightly.

To get around the issue with the horizontal sync pulse, an RC circuit (R1/C4) is used to generate a short pulse at the start of the PET's hsync pulse.

The bottom trace shows the rising edge at the start of the PET's horizontal sync pulse.

The middle trace shows the output of the RC circuit.

The top trace shows the horizontal sync pulse that is generated for the time the middle pulse is over the logic threshold. It this case, around 3µs.

This is then combined with the vertical sync by a NOR gate to generate an active low composite sync. This shows the start / end of the frame with the vertical sync pulse.

The capacitor / diode arrangement (C5/D1) turns this composite sync into negative pulses on the output. That is combined with the inverted video signal to give a composite video signal. It fits reasonably well to the expected -0.3V sync and +0.7V white level.

This new horizontal sync pulse is still too early, so it causes the video to be offset to the right slightly.

To fix that, I need to generate an initial delay pulse and use that to trigger the actual HSync pulse.

I wondered if I could do that without adding too many parts, but I only have a spare NOR gate?

I have used the spare NOR gate and a new RC circuit to create a the middle pulse in this capture, one that can be fed to the existing circuitry to generate a delayed horizontal sync pulse.

Well, that looks good to me, the HSync pulse is now delayed from the original and closer to the start of the video.

Ah no, that's too much. I need to change the resistor value.

Nope, still too much.

Ah, there we go. Perfect.

The delay pulse only turned out to be about 2µs, but it made an important difference to the signal. I also adjusted the other resistor in the second RC circuit, so the HSync pulse is now closer to the 4.7µs in the spec.

I have shown both versions of the circuit together so you can see the extra stage.

I have tried to get that all on one capture (cheating 5 channels out of a two channel scope).

This shows the signals progress from bottom to top.

  1. The PETs horizontal sync pulse too early and too long (17µs)
  2. The high-pass filtered version of A.
  3. The gated and inverted version of B (3µs delay).
  4. The high-pass filtered version of C.
  5. The gated and inverted version of D (4µs sync).

The horizontal sync that is actually used is the version marked E. This has been delayed and shortened with two RC filters and two inverters.

The final composite video output looks quite good. Since the border is black, there is no need for a separate back porch signal.

All sorted.

The board has it's own 5V regulator to reduce noise from the digital logic on the board. It runs from the unregulated 9V DC supply.

A good place to tap that is the polarity protection diode, a single large diode near the power connector. The end with the stripe is 9V DC.

You could also tap that elsewhere if it is more convenient. Anything from about 7V up to 25V should be fine.

The more I look at it, the more I can't help seeing the Servo Robot from Wheel in Space.....




Adverts

The PET Video out is available assembled or in kit form.

The price of the assembled version is the same as before, the kit version is cheaper.

There are a selection of other repair and upgrade parts for various machines listed on my Tindie store, many of which can be seen on this PET 2001 board.

Be the envy of all your friends with one of the limited edition run of blue PET Diagnostics modules.

Patreon

You can support me via Patreon, and get access to advance previews of development logs on new projects and behind the scenes updates. These are often in more detail than I can fit in here. This was actually three Patreon posts rolled into one, so a lot got cut out. This also includes access to my Patreon only Discord server for even more regular updates.

Sunday, 23 March 2025

48K RAM Pack for Jupiter Ace

Here it is, the thing everyone has been waiting for, a 48K RAM pack expansion for the Jupiter Ace.

OK, maybe not everyone. I accept in this case the target audience is almost, but not quite, entirely no one.

I designed this when I was looking at repairing George Beckett's Jupiter Ace 4000, although in the end, it was decided to leave the original owner's late 80s mods intact as a non-functional work of art.

Since then, I have made a few of the 48K RAM packs for various Ace owners, and all reports have been positive.

I was recently contacted again and asked if I could supply one, so I thought it was about time I got around to listing this on Tindie.

It is available in kit or assembled versions.

You can use it like that if you like, but the slightly oddly shape PCB is for a reason.

It is designed to fit into a case from Future Was 8 bit, as used on the divMMC and the SD2PET.

The two button holes have been assigned to be a power LED and a reset button (neither of which the Ace has).

The edge connector fits nicely in the space designed for the slightly longer Spectrum edge connector.

There are cutouts on the case for the SD card and joystick. Neither of those are provided. Maybe one day?

Until then, a second PCB acts as a blanking plate.

This slots into the cutout at the back of the PCB.

"This space has been left intentionally blank". Hmm, seemed like a good idea at the time. (it was actually there to make sure the PCB manufacturer added their serial number onto this side of the board so it wasn't visible from the back. These boards were ordered in 2020, before they added the option to have the number removed. yes it has been sitting around that long, sorry. Some things happened in 2020......)

This cased version kit includes the extra PCB and the case.

This version is supplied with a special LED, a 4mm flat top version which fits neatly in the hole.

When assembling, it need to be mounted proud of the board, you can stand it in the case lid so it sits level with the top surface.

Then place over the PCB and solder. It's not obvious, but the lump on the side is negative, as the shorter leg as normal.

There is also a top hat button for the reset button.

Looks quite neat in the end, and unexpectedly matches the step in the case.

Maybe if you were creative you could add some red stripes? If only I knew someone with a new vinyl cutting machine. Oh wait, I do..... (artists impression)

Thanks to Binary Dinosaurs and Mat Recardo for photos of their upgraded Jupiter Aces.

They have been confirmed the RAM is being detected by the Ace.

I suggested in the manual that version of the RAM size detection, I added the 1- so the value printed is the last byte, rather than the last byte + 1. 65535 is the top of RAM with 48K installed, $FFFF. Without the 1- that would return 0 which is not obvious.

Here are some useful links to get software to make use of all the newly available RAM.

Stop Press

Just as I was finishing writing the original version of this for Patreon, I got a message about an expected package that will be arriving here shortly......


Adverts

The 48K RAM pack for Jupiter Ace is available from my Tindie store. Don't all rush at once.

There are a selection of other repair and upgrade parts for various machines listed on my Tindie store, many of which can be seen on this PET 2001 board.

Be the envy of all your friends with one of the limited edition run of blue PET Diagnostics modules.

Patreon

You can support me via Patreon, and get access to advance previews of development logs on new projects and behind the scenes updates. These are often in more detail than I can fit in here. This also includes access to my Patreon only Discord server for even more regular updates.