Showing posts with label Retro computing. Show all posts
Showing posts with label Retro computing. Show all posts

Wednesday, May 12, 2021

µPF--2, a µPF--1 clone.

Since a few months, I have been in the process of recreating the well-known µPF--1 microprocessor kit :

Wilipedia.
In fact, this kit has already been recreated, by Wichit Sirichote with the addition of downloading binary files from a PC via a serial interface. 


This solution, more modern than the original kit seems perfect, except that it has some drawbacks and a small operating problem. First, the serial interface comes in the form of a Standard RS232C interface. It would have been really more interesting to offer a serial interface via a USB port. This would have greatly facilitated the use of this kit. On the other hand, the fact that it is the Z80 processor which fully manages the serial interface, the maximum throughput remains very low, at around 1200 Bauds and receives erroneous characters randomly. Downloading even small files takes too long and is unreliable.

Also, I decided to redevelop this kit by offering a much more efficient USB hardware serial interface. I added a serial interface for an external keyboard. The original Wichit Sirichote keyboard being totally unusable. The switches used are not intended for this type of use.

I also added some possibilities and modified the software system accordingly. This allowed me to recreate the kit on a standard FPGA board:

This new system works very well, but on the one hand the FPGA board used is generic and not really suitable for the intended use. This FPGA board also does not offer a USB serial port and the expansion port is not suitable for setting up Z80 type extensions.

So I decided to recreate a system based on an FPGA. After several attempts and configurations considered, I arrived at this system:


Implementing an FPGA is a bit tricky, so I went with a pre-made FPGA board. Going through this type of configuration removes some of the implementation difficulties, and as a bonus, allows me to offer a more 'powerful' FPGA than the circuit originally planned.

The result remains compact and suitable for intensive use. Note also that this system can be used for something completely different than the recreation of the µPF--1 kit since it has 5V compatible serial and parallel inputs / outputs, a 2x16 LCD display in addition to the eight 7-segment displays.

After shipping the design files, I received the printed circuit board. The first thing I did was to see if the FPGA module can be correctly inserted:


Once this check was done I was able to start mounting partially the system. I started by mounting the power parts and checked the absence of 'magic smoke':


Fine! And the USB / serial interface circuit is correctly detected by the system, Win10 in my case.

I was able to continue mounting the board by installing all the components necessary for a first start of the system, i.e. the eight 7-segment displays and the LCD display as well as the interface circuit which will be used to receive the information from the external keyboard:


The FPGA module starts up correctly, The small example which makes the D5 LED flash works. The LEDs and the 7-segment displays are slightly lit which is normal given that all the I / O not used of the FPGA are positioned as inputs with low PULL-UP when it starts up.

It now remains to adapt the code of the FPGA previously developed to this new board.



Wednesday, October 28, 2020

Retro Computing.

Is retro computing something you just do for fun? Certainly, but not only!

The microcomputers of the 80s were open and easy to program, often in Basic, but also in assembly language. It was quite easy to create cartridges or expansion boards for them. Everyone remembers the Commodores, Atari, Apple, Sinclair, BBC etc etc...


In short, a time of great creative freedom. All this gradually disappeared with the hegemonic position of the PC(IBM) / Microsoft 'association'.


Is it possible to regain some freedom again in this digital world? Yes of course. By resuming and 
continuing the great road of creation abandoned in the early 90s. How? by taking up some good ideas from the time and developing them :


There were a lot of good ideas in the 80s. But, if we take the case of 8-bit machines, the MSX standard was a very good initiative since it allowed a good stadardization of the computers, while preserving a good freedom of design. This standard was originally initiated, among others, by Microsoft : 


To enter the MSX scene, It is obviously possible to equip yourself with some new MSX machines based on an FPGA, but I think that in the introduction, a machine created such as at the time would be a good starting point.


All this written, it remains to find an effective solution to launch into the realization of an MSX machine. Fortunately, Sergey Kiselev has recreated a great MSX computer motherboard called Omega :

My own Omega main board issue.

The Omega computer is not based on any computer that has existed but only on the MSX 2 standard. Therefore, it is necessary to obtain a whole set of obsolete components but still available on the Net.

It may take a little time to build this board but the months ahead should leave time for this task. In the end, it should look like this :

https://www.retrobrewcomputers.org

I am thinking of using my own keyboard version with this Omega.

A good introduction to the MSX standard with the Yamaha CX5M computer, recently published :


Of course there were some great 16/32-bit machines as well, Amiga, 520ST, but that's another story...