Sunday, 20 March 2022

The Mini PET 40/80D

 Introducing the Mini PET 40/80D.

This is a drop in replacement motherboard for any Commodore PET or CBM*. It comes with the full 32K of RAM, a selection of BASIC versions, including Mini PET BASIC 4.1. It also has a built in SD2PET SD card disk drive.


The board come preassembled, using all surface mount parts (other than the ROMs). It is based on the design of the Mini PET 40/80, and uses real WDC W65 series chips. There is a microcontroller based CRT controller using the same dual port video RAM, and as before video is generated from video RAM, indexing a character ROM and output via a shift register.


It comes all programmed and tested and ready to run.


12" PET 4032 / CBM 8032

As you can see, the Mini PET 40/80D board is quite a lot shorter than the 8032 board, but it is the same width, and has the same rear mounting holes and edge connectors for IEEE-488, Userport and Datasette port 1. All three are gold plated (unlike the PET boards, most of which only had gold on the IEEE-488 port)

It is powered by from the PET's internal power supply, and can drive the internal monitor and use the built in keyboard. A complete drop in replacement.


It also has a built in SD2PET SD card disk drive that can be used alongside the external IEEE-488 port.

This has the same built in file browser as the Mini PET 40/80, activated by the menu button on the side. The SD card slots and menu and reset buttons are on there side where the expansion connector was on the 2001, or the second datasette port on the 8032.


The SD2PET can be set as ID 8,9,10 or 11, or disabled all together.


I recently repaired an 8250LP (blog post on that to follow), so I have been using the 40/80D to do a lot of testing on that (shown with an earlier prototype version with ZIF socket during ROM developemnt)


The 8250LP may be low profile, but it's still a massive dual disk drive which also makes a nice stand for a Mini PET 40/80.


I have been doing a lot of file transfers and drive tests to give the IEEE-488 bus a good workout.


Text adventures are a good test to create lots of disk activity, but also to show off the 80 column text mode. Even if it doesn't like my suggestions.


The Min PET 40/80D comes with a cheat sheet showing all the DIP switch options. You should set this up according to the type of monitor and keyboard you have.

The chiclet, normal and graphics keyboard are supported, for simplicity, the guide is split based on the number of keys in the numeric keypad. You select the version of BASIC and 40 or 80 colums and set the DIP switches as shown.


The missing switches are set based on the type of monitor. PET 9" and 12" monitors are support, as well as composite video output at 50Hz or 60Hz for PAL or NTSC regions.

You would normally set these to match the board you were replacing, but you can run 80 column on a 4032 or a 2001 or 40 column text on an 8032 if you like, 

9" PET 2001N / 30xx / 40xx


The 9" PET machines usually had this version of the board, again the Mini PET is a drop in replacement. 

Original PET 2001


The Mini PET 40/80D can be used to replace the board in a PET 2001. (Mine here has already had the IO chips replaced, video RAM replaced, and the character ROM replaced. All the main ROM and RAM has been removed, as 6540 and 6550 chips just seem to sit there getting hotter and slowly wiping each other out until they all fail, so my remaining working chips are safely in a box somewhere and the board is running on a PET ROM/RAM board. )


All of those can now take a rest as the Mini PET 40/80D has been fitted.

The connections on the 2001 are slightly different as the power connector is 5 pin and there is an internal datasette, but both are supported on the Mini PET 40/80D.

The internal datasette is wired as port #2 leaving port #1 on the rear


I doubt there are many PET 2001's that can run in 80 columns (here running the built in self test).

Standalone / Testing


As well as being fitted into a PET case, the Mini PET 40/80D can be used for bench testing, here powered by my PET test power supply, or it can be powered from an external 9V DC power supply.


What else can I say? What more do you want?

OK, how about a built in version of Cheese and Chive?



* What can't it do?

Well, I may as well get this one in here, there is no support for a Commodore 64 or VIC 20 keyboard. AZERTY, QWERTZ and other international keyboards will need a custom ROM (or just rearrange the keycaps to QWERTY).

The board will fit in the case for an 8032-SK and 8096-SK (here shown an earlier through hole version of the Min PET), but the keyboard cable may be a bit too short to reach, there appears to have been some variation of the course of their production.

It might be possible to fit the Mini PET 40/80 D into the 8296 or 8296D, but it would require quite a lot of changes, so best not.

There is no support for anything that plugs into the 6502 socket, ROM sockets or expansion connectors on a normal PET. No ROM boards, 64K RAM boards or Super PET 9000 boards etc.

Where can I get one?

The Mini PET 40/80D preassembled board and the Mini PET 40/80 self assembly kit are available from the Future Was 8 bit, shipping now.


https://www.thefuturewas8bit.com/shop/tynemouth-products/minipet4080d.html

https://www.thefuturewas8bit.com/shop/tynemouth-products/minipet4080.html

Read more about the Mini PET 40/80 self assembly kit with built in keyboard here

http://blog.tynemouthsoftware.co.uk/2022/02/the-mini-pet-4080.html

Update:

The Mini PET40/80 kits are now sold out, but you can still buy the the original Mini PET from my SellMyRetro store in A (stand alone) and B (PET replacement) versions,

These are also available as kits or fully built versions:


http://blog.tynemouthsoftware.co.uk/2023/09/minstrel-and-mini-pet-kit-updates.html

Also a choice of keyboard PCBS (original flavour and deluxe)


Sunday, 13 March 2022

(Not a) Jupiter Ace 4000 Prototype

This one is quite a rarity. It appears* to be a prototype of the less common variant of the Jupiter Ace.

The Jupiter Ace 4000 was the second version of the Jupiter Ace.

4000 makes it sound a lot more impressive than the plan Jupiter Ace. But 4000 of what? was it from two thousand and seventeen years in the future of 1983? did it have 4000 bytes of RAM? 4000 transistors? 4000 1K resistors, 4000 magic beans? Who knows, but it was still essentially the same machine with 8192 bytes of ROM and 1024 bytes of main RAM, 1024 bytes of video RAM and 1024 bytes of font RAM. That is a total of 3072 bytes of RAM, but that it would be really stretching things to round that up to 4000. So none of those give us 4000, not even in hexadecimal, not even in Welsh.

The main changes it seems were the addition of a composite video output jack labelled "Monitor", a transistor amplifier driving the speaker, and I think a stronger case (but I don't have an original Ace here to compare it to). Other than that, it was the same 3K machine as it's predecessor and the main benefit was I believe it was normally bundled with a 16K RAM pack.

The board inside this unit is not however the normal Jupiter Ace 4000 board. It came from some who used to work for Cantab, the company which produced the Jupiter Ace and Jupiter Ace 4000.

It looks like a more colourful version of one of my prototypes with various bodge wires and chips stacked up on other bits.

The board is labelled issue 1. Also included was an unpopulated issue 3 PCB - I believe issue 3 was the production board. There are a few oddities here, included a track that is broken, it could be that was intentional - the same track break has been scratched into the issue 1 board.

Looking at the modifications, it would appear they were trying to replace the two lots of 8x 1K resistors which usually separate the data bus from the video RAM and font RAM with 74LS245 bus transceivers. I can see that would be a neater solution than resistors, but the timing would be difficult to get right, and it certainly looks like they were having to make quite a few changes to the design to enable that.

Rather oddly, there is a 40 pin socket on the bottom of the board, soldered to the pins of the Z80 socket on the other side.

There are a few bit missing, including the speaker (which may have fallen off in the last 40 years), and the 7805 regulator (which was probably removed deliberately). There are the remains of two wires soldered to pins on the edge connector, 0V and 5V, so presumably the board was being powered from a bench power supply rather than a 9V DC supply.

Looking around the modifications, everything appears to be intact, including the two custom Ace branded EPROMs (not bad for something with a relatively small production run).

However, there are two things wrong about the ROM chips.

  1. they are the wrong way around, ACE-B on the left, ACE-A on the right. - I pity the fool that arranges the chips in the order BA.
  2. the left hand ROM chip has two pins not in the socket. One is an address line (A11), and the other a data line (D3), so I can't think of any reason that would be done deliberately. Maybe someone removed these at some point and didn't notice when they put them back?

The IC socket is also installed with the notch at the bottom, pretty sure that is an assembly error, not a deliberate intention to reverse the chip.

Like the original Commodore PET, the video circuits on the Ace run independently of the Z80. Even with no Z80, no ROM and no RAM, they will still generate a picture, so I thought I would just try it as is first to see if there was any reason for the ROMs to be that way.

I did get a picture on the screen, but it was rolling. It looks like the vertical sync is missing - nothing to do with the ROMs, that's just another fault to fix. The screen contents were random pixels, indicating that the font RAM had not been written to. They were also different, indicating the video RAM had not been cleared.

I carefully removed the ROMs and read in their contents in the Stag P301, the only thing I had that supports 2532s (here shown with one of two 2532 replacements I burned to test later). They both read correctly as 2532 EPROMs (even though they have custom markings), and match archive ROM images of the two halves of the standard Jupiter ACE 8K ROM.

There is a mysterious green wire going under the ROM socket, but that appears to be repairing a broken trace. I double checked the enable pins, and they are still wired as the original Ace, where ACE-A goes in the left hand socket, mapped to 0000-0FFF, and ACE-B in the right hand socket is mapped 1000-1FFF. The red wire on the 138 from pin 16 to pin 6, puts VCC on one of the enable puts. This is the same as the original schematic, so it may have been modified and then reverted.

With the ROMs now in the correct sockets and with all the pins in place, I tried again.

No change.

I also tried the two replacement EPROMs, also no change.

I tried a new Z80, that also made no difference.

I tried various things at this point, but the Z80 did not seem to be running.

I then remembered the 40 pin socket below, and had an idea.

I made this rather odd contraption from an old RC2014 module PCB which has a socket for a Z80 wired directly to the bus. I fitted a pin header in that socket, and could then plug that into the 40 pin socket on the bottom of the Ace board.

All I needed was a suitable host, and for that I employed the services of a Minstrel 4th.

That allowed me to test two theories:

  1. The Z80 is running, but unable to write to the video RAM (or the video RAM is not working).
  2. The Z80 is not running, but the video circuitry is running correctly.

So, for the first test, I plugged the RC2014 card into a Minstrel 4th, and then the Ace 4000 board. The Z80, ROM, RAM and the 367 chip which reads the keyboard were removed from the Minstrel 4th, leaving just the video circuitry in place.

This should mean that if the Ace is running and it is a display problem, then the display on the 4th should work and would display the blank screen with a cursor on the bottom row.

It didn't.

All I got was random pixels again, different random pixels though, since it is just showing the uninitialised video RAM. There was no rolling this time as the output was from the Minstrel 4th.

So theory 1 is ruled out. Let's try theory 2. (Just a reminder of how much smaller the Minstrel 4th is.)

The idea was the Minstrel 4th had the Z80 and it's ROM and RAM, and the Ace board was just being used for the video RAM and video output. I tried various combinations here, Z80 in the 4th, ROM in the Ace, Z80 in the Ace, ROM in the 4th, Z80 and ROM in the 4th, and Z80, ROM and RAM in the 4th. The best I got appeared to show the video RAM had been cleared (or at least mostly set the the same value), but the character RAM remained unprogrammed. Something was stopping things working correctly.

I did have some success with a test ROM I found on a German Jupiter Ace forum. This wrote a font to the font ROM, then a test pattern to the video RAM, then beeped, cleared the screen and looped back to the start. On the 4th by itself, it worked correctly, but not when the Ace 4000 board was involved.

With the Ace also connected, the display was sort of there, but it was not correct, and it did not beep (the beeper was present on the 4th board, so was active on the Z80 bus).

I couldn't get anything running with the Z80 in the socket on the Ace, only the 4th. Those sockets should be wired in parallel at this point. It was clear some of the socket pins where dodgy. The original Z80 was also apparently desoldered so the pins were already a bit ropey.

This all took place over quite a while (my apologies to the owner who has been very patient and understanding). I have gone back to it a few times between other projects.

One of those projects was where I rather optimistically designed a 48K RAM module for the Ace, but was never able to get the board running to be able to test it (and I would have had to clean the edge connector and removed the solder blobs where the power wires were, so I would rather not).

It was designed to fit into the shell of the divMMC future / SD2PET, and has a power LED and reset switch. Just imagine the luxury

If there is any interest in a 48K RAM module, let me know. I don't currently have any way to test it, so it will probably just go into the "maybe one day" box.

(this is an artists impression, with an empty case as I didn't want to disturb the edge connector).

At this point, the following would need to be done to get further with the Jupiter Ace 4000 board

  1. Reinstate 7805 regulator and speaker
  2. Replace 40 pin Z80 socket, and remove lower socket
  3. Fix vertical sync circuitry
  4. Fix whatever is stopping it running if not resolved by the above

The the challenge would be finding what is blocking IO reads or writes and stopping both the Forth and the diagnostic ROMs running correctly.

And even then, there is the possibility that this was an abortive attempt to add the 245 buffers, since the issue 3 board went into production with the original resistor multiplexing. I can think of two reasons why they reverted to the resistors.

  1. it may have been cheaper to fit 16 resistors than two 74LS245s. In modern day pricing, that would be 16p versus £1.79, so it is quite possible
  2. it may be that it never worked correctly, and they didn't get the timing to work so went back to the old design.

So really, a lot of those mods may need to be undone to get back to the original board. But did it ever work? there is also much damage to pads and tracks, so that does not seem a viable option.

After much thought and going back to this a few times, I have to concluded these repairs should not be carried out. Speaking to the owner, they agreed and arranged a long term loan to the Computer Museum, which will probably be the best option for this board.

Coda

The case doesn't fit this board due to the rear mount 40 pin socket. I have looked at building a replica board to sit in the case, so the owner would end up with a usable Jupiter Ace.

I looked at various PCB designs on the internet, from Grant Searle's millimetre accurate replica of a standard Jupiter Ace PCB, to various modern versions that swap out some of the less available parts.

There was also the spare real Jupiter ACE 4000 PCB supplied with the other board, this time an issue 3. That has a bit of damage, and again it would seem wrong to try to populate it. Not at least as there is no silkscreen or any good photos of a populated board. The vias are the same size as the pads, so it is really difficult to see what it going on, and part placement and values with involve a degree of guesswork.

I am not convinced that any of the schematics on the net are correct. I know at least four people that have tried to build something according to those schematics, and only Grant's apparently resulted in a working machine. See my original post on the development of the Minstrel 4th to read about my attempts:

The more I thought about it, I didn't like the idea of going back to the original schematic anyway, due to it needing 2114 SRAM chips and 2532 EPROMs. The original design also lacks a back porch on the video signal. It's not as bad as the ZX80 and early ZX81s which also lack the back porth, as the Ace has a black video border rather than going straight to the white level as in the Sinclair machines.

I did have a mad idea of designing a Minstrel 4th to fit into the Ace case. I even did a board design for it, but I don't think I will get any of them made as the parts are too difficult to get hold of these days, and there aren't likely to be any spare Jupiter Ace cases kicking around the place. Has anyone done a 3D printed case? (edit - Yes they have. Thanks to David Boocock for the link)

*Footnote

Whilst preparing the photos for the original post I noticed something odd with the 74LS245 chips (other than they were hovering above where the resistors should be). Their date code is 8506.

8506 is the sixth week of 1985. That is two years after the Jupiter Ace 4000 was released, and a year after Cantab went out of business. The rest of the chips on the board are from early 1983 (or earlier), matching the date code of 8318 on the PCB.

So I don't think this is actually a prototype after all, but something someone did sometime after 1985? (well, it started as an early 1983 prototype, but the colourful 245 mods seem to be at least two years later).

That sort of makes sense of the fact the 7805 was cut off rather than never being fitted, and the Z80 being one desoldered from a board, maybe it was desoldered from this board, and then the two sockets were fitted and the rest of the mods made a few years after the company when down the pan?

Possibly an attempt to refine the design for a new release after Blodfield bought out Cantab? Or maybe someone tinkering in a shed using an old Jupiter Ace board as a Z80 SBC for something else, and later on it was reunited with the original ROMs (albeit with two bent pins and the wrong way around).

I am not sure we will ever find out.

Footnote #2

We found out.

After I posted this on Patreon, the current owner got in touch with the person they got the board from:

"Short form - mea culpa, the bent pins, extra chips and colourful re-wiring were all me. The board wasn't preserved as a museum piece, it was used it as a platform for experiments to learn about the Z80, Transputers and other interesting things. The bent pins and mis-aligned chips were a result of packing and unpacking things over several home moves from 1980's to 2010 and at one stage the chips were store separately from the boards."

So that confirms this Ace 4000 was repurposed as something else when it ceased to have any value as an Ace 4000.

That doesn't change things though, this is still probably going to be preserved in it's current state as a piece of modern art.

Footnote #3

This is possibly the only piece ever written about the Jupiter Ace or the Minstrel 4th that does not show the output of a vlist command.

Footnote #4

Despite the resounding clarity of decision from twitter, the board will be remaining as it. A prototype Jupiter Ace 4000 board with some later modifications. Preserved as is to confuse future generations.

Advert

This is an expanded and updated version of an earlier post on my Patreon, if you would like advance previews or insights into what goes on behind the scenes, you can follow along on there.

Advert #2

If you want to build you own Ace compatible computer, the Minstrel 4D is available in kit and built form from The Future was 8 bit.

Advert #3

If you would prefer to program in BASIC rather than Forth, there are full kits available from my Tindie store for the Minstrel 2 (ZX80 compatible) and the Minstrel 3 (ZX81 compatible).

Sunday, 6 March 2022

Items for Sale at Sell My Retro (UK Only)

I have reactivated my SellMyRetro store and added a whole load of new listings.

https://www.sellmyretro.com/store/tynemouth-software


This is a small UK based listing site, specifically designed for retro computers, and run by the guy behind RWAP, who does the best ZX81 and ZX Spectrum membranes.


I am having a clear out and listing everything I can find. I will be adding more things including maybe one or two built up Minstrels or Mini PETs once I have had a sort out. There are quite a few of some of the items, but only one or two in some cases.


I have also listed most of the remaining stock of USB keyboard controllers. I don't plan to make any more of those, but I still have quite a few built up of various models, so just want to clear those out. When I brought the blog back, I removed all the posts about USB keyboards etc., I think there time is over.


A lot of the listings are PCB only, I have passed on the fun of trying to source all the necessary parts to you, the buyer. Good luck. Please check the parts lists before ordering to ensure you can get all the parts you will need. Everything is through hole soldering, and all parts are still in production, although some are long term out of stock at major suppliers. The exception being the dual port RAM used in the Minstrel 4th and Mini PETs which has recently been discontinued. No, sorry, I don't have any of those, if I did, there would have been more kits (remaining full kit versions still available at https://www.thefuturewas8bit.com/shop/tynemouth-products.html ).


The way it works on there, if you want to order multiple items, you click buy on each of them, but don't pay, then click to request an invoice, where I will give you a total with combined postage.


I am afraid I have had to list everything as UK only. International shipping is still not practical. Sorry to my international friends, as soon as I can sort out some mechanism that can deal properly with the requisite export systems I will let you know. I can't justify the fees that would be required to get appropriate accountants and tax agents to be able to export with the current system. Please address all complains to the UK Government.


Some of the listing might be a little short, or contain the odd typo or photo of a different version of the board. I'll improve them over time if this works out to be viable. Ideally I would be selling kits, and selling them worldwide. The best I can do at the moment is sell PCBs within the UK. Not ideal, but the alternative is "do you want fries with that?".

Again, just to be clear, these are shipping to the UK only.

I can't ship anywhere else, please do not ask.

Sunday, 27 February 2022

Minstrel Final Edition Kits

At the end of last year, I put together as many Minstrel 2, 3 and 4th kits as I could. The limiting factor was availability of parts. An increasing number of parts are out of stock everywhere, and the stock situation does not seem to be improving. Microchip appear to have a rolling 12 months estimate for most of their microcontrollers and EPROMs. RAM, voltage regulators, and logic chips then started to go out of stock and it became difficult to complete any of the kits.


These kits are sold via The Future Was 8 bit, I am very grateful to them for doing that, as it has been able to keep me going through these difficult times. 


We have branded them Final Editions, as these are the last of this sort of kit we are likely to be able to make for the foreseeable future.


To celebrate that, I wrote a nice new manual. Each of the kits feature a newly written 100 page spiral bound manual covering building and testing of all the kits.


I understand TFW8b may be offering remaining stocks of these manuals for sale separately for existing Minstrel owners. 

When I used to sell these myself, I had all sorts of options, but I have no practical way of shipping or dealing with all the import / export duties etc. as the UK is a bit broken at the moment. To keep things simple, there is a set menu with a few options.

Kit A) Minstrel 2 with Keyboard


This is a ZX80 compatible computer kit. 3.25MHz Z80, 16K of RAM and an integrated 40 key keyboard. This has the option of running the original ZX80 4K integer BASIC, as well as the later ZX81 style 8K floating point BASIC. It comes with keyboard overlays for both versions of BASIC.


This follows the ZX80 design, using TTL chip, with a few updates. The ROM and RAM are more modern single chips, and the voltage regulator is a switch mode 7805 replacement. There is also one additional TTL chip and some extra circuitry to generate a more compliant monochrome composite video that the ZX80 originally did.


The minimalistic design meant that the Z80 spent most of it's time drawing the screen, and when it had to run any code, it would stop drawing the screen. It does not support the ZX81 mode where some code is run during the blank portions of the screen, but many games use similar code to achieve 'flicker free' graphics. Read more about How the ZX80 Works.

Kit B) Minstrel 3 with Keyboard


The second option is the Minstrel 3, this is a ZX81 compatible computer kit. 3.25MHz Z80, 32K of RAM and an integrated 40 key keyboard. This runs 8K floating point BASIC and supports the NMI controlled fast and slow modes, to allow code to run whilst the blank bits of the screen are being drawn, to avoid the flickering when keys are pressed that the ZX80 suffered from.


This is a new design with improved video output and support for various high resolution graphics modes so you can try out new games pushing the limits of the ZX81.


As well as old favourites.


HC logic chips are used throughout, so the current consumption is about half of the ZX80 and the 7805 regulator can be used without a heatsink. Read more about the design of the Minstrel 3.

Note this version does not include the Minstrel ZXpand, and those are not available separately. 

Kits C and D

These kits were released when this blog was offline, so unfortunately the other two kits have now sold out. I do not expect to be able to make those again, so I am afraid that is the end for the Minstrel 3 + ZXpand and the Minstrel 4th.

At the time of writing, there are still some Minstrel 2 and a few Minstrel 3 kits left, so if you want one of those, I would get over to The Future Was 8 bit now and order one.

https://www.thefuturewas8bit.com/shop/tynemouth-products.html

There are new kits in development, I hope that by the time they are ready to go, parts availability will have returned to a better state and I will be able to start making kits again.