Quite by chance, I went into one of the last electronics stores I knew to buy lead solder.
samedi 4 mai 2024
Retro computing : SGS Z80B & CDP1802D
jeudi 2 mai 2024
Free advertising for FLIR
As you know, FLIR is a recognized manufacturer of thermal cameras.
Since I do electronic development, as well as electronic troubleshooting, this kind of camera is a very useful tool, sometimes allowing disaster to be avoided.
So, a few years ago, I bought a FLIR ONE:
Exactly this model and at this price, i.e. around €300 as of 02/05/2024.
This model, which connects to your phone, is much cheaper than a standalone camera, but still, it's not cheap.
I must have owned this device for 5 years now. All in all, I think it must have been used between 3 and 4 hours, about ten times 5 minutes per year. Because we must add that this camera, which has an on-board battery, has a ridiculously low autonomy. Less than 10 minutes when the battery is new.
And the surprise of the day: the camera no longer charges. suddenly, it is in error and no longer work, even powered by their micro-USB port and connected to the phone: nothing!
This light remains desperately yellow, and the LED which normally lights green, on the other side of the camera, remains off, even after being 'charging' for 24 hours.
The verdict is clear: the battery is dead!
But the camera must be functional. So the annoying question: can we change the battery of this camera?
Well obviously not! No screws, everything is glued and cannot be dismantled without destroying the case.
The observation is also clear: Thermal camera very expensive in terms of usage time, little capacity in terms of operating time, and self-destructive.
However, I need this type of device. So yes, the camera is designed in America. But where is it made? In China, of course. Which allows FLIR to make a more than adequate margin, on the backs of the Chinese, and on that of my wallet.
$300??? The Chinese are now able to manufacture powerful phones, with crazy battery life, directly including infrared sensors for less than $500.
FLIR 'thought' of forcing me to return to them to 'renew' my infrared camera... Bad calculation. FLIR has definitely lost me!
vendredi 26 avril 2024
Ultimate MSX cartridge modification
I made two final changes to the design of this cartridge.
First modification.
The first concerns the interfacing circuits with the MSX bus : Aoineko, the developer of the MSXgl graphics library who also tests the cartridge, reported to me problems with random startup of his computer. After studying his problem and especially after looking at the datasheet of his Panasonic FS-A computer, I realized that the power supply of this machine was 'unconventional' to say the least. This results in potential ground problems :
I guess you 'see' what I mean. The wire that serves as a ground reference is one of the two wires of an AC power supply! Hmm, I don't like that at all.
With this type of design, the ground is always noisy for anyone who wants to connect to this type of device by taking the electrical reference of this ground.
Very good, but then I just postponed the problem elsewhere? It's true. But the interface circuits used, even if they can be powered by 5V, still accept signals coming from circuits powered by 3.3V. The minimum voltage for a high signal is 1.7V on these circuits. I therefore gain 300mV of noise margin. I hope this will be enough.
I still purchased a USB bus isolator in case my modification does not work on the Panasonic FS-A1. This will at least validate my 'theory'.
Second modification.
Warning :
samedi 20 avril 2024
A new era...
Zilog, after having been bought several times, and now owned by Little Fuse, has just announced the end of production of Z80 microprocessors.
The Z80 was introduced in 1976. I remember that year well. I was 10 and it was the summer of the great drought in France. I discovered this processor a few years later, in 1982, when the ZX81 was available in classrooms. It was, and I only realized this a few decades later, too late for me, but this is another story
The Z80 is the circuit that shaped my entire way of thinking about computing. Even today, and even if I work with much more modern and faster circuits, it is my reference circuit. The very example of a computer resource accessible to all, democratic, lending itself to all eccentricities. Unlike the so-called IT of the following decades, which standardized the way of thinking, killed a certain vision of society, destroyed lives by its contribution to the creation of mass unemployment, and finally today, destroyer of human thought.
Reason for which I returned a little over two years ago to machines from the 80s, in this case the MSX standard.
The first MSX computer, th ML-8000 from Mitsubishi |
Question: does this announcement of the end of availability of the Z80 signal the end of this craze for the MSX system?
No, obviously. And why? Well quite simply because there are implementations that are either more modern, like the eZ80, still at Zilog, or different, notably within FPGA. I myself had the opportunity to experiment with the implementation of Z80 within FPGA GoWin, during the recreation of the Micro Professor 1 computer. And it works very well.
SO? Well what I 'reproach' to the world of retro-computing is that it is too attached to the 'purism' of retro-computing. Obviously, this attitude can be greatly understood and justified. But, in my eyes, this 'prevents' any attempt to modernize the concept. It is also partly thanks to this that contemporary IT was able to be built, by the obsoletion of the existing, justifying this only by the financial aspect, and not by the real needs on the one hand, and on the other hand, the collaborative aspect of IT rather than the 'large replacement' aspect of a large part of the workers, thereby breaking the Fordian 'tacit contract'.
Today, there are many possibilities to improve the MSX concept, because it is an open system. So, the announced end of an era can, and will I am sure, allow the arrival of a new approach to retro-computing, which will certainly be 'neo-computing'.
In any case, like the unexpected loss of the feeding bottle to the new born, thus forcing him to move on to childhood, the 'loss' of the Z80, will, I hope, encourage 'retro-computing' to move, therefore, to 'neo computing'.
lundi 15 avril 2024
8 Ports USB Midi interface.
This topic is a very long-standing one for me. I must have started thinking about it in the early 90s. At the time, the power of microcontrollers did not allow the development of complex systems. I then remember having developed a 68000 system to manage the 8 MIDI ports. I never created this system because I realized that it was far too complex to create and therefore necessarily too expensive.
10 years later, at the beginning of the 2000s, things improved in terms of the possibilities of embedded systems. So I tried to create this multi MIDI port using a micro-controller. I almost got there, but ran into a small problem, it was still difficult to find a circuit offering 8 serial ports and fast enough to manage them.
Everything changed in the early 2010s. At that time, it became possible to find a micro-controller circuit with 8 serial ports and enough power to manage everything. It was then that I looked into ARM type circuits from STmicro. From that point on, the problem shifted from the hardware to myself. In fact, in view of the possibilities of the new circuits, I wanted to add a whole bunch of functionalities, including USB bus management. Then, I entered into a spiral of redefining the functions of the object which, constantly, made me experiment with various solutions, all nevertheless unsatisfactory in my eyes. Unsatisfactory, because of the poorly defined hardware, and/or the software functionalities, which are also poorly chosen.
But, this series of failures allowed me to test a lot of solutions. And, a few days ago, as I was rearranging my stack of synths and rewiring everything, the obvious solution dawned on me. Now, right away, I saw very clearly what system I needed to have on hand to allow me to easily and flexibly wire all of my machines. I also realized that I wasn't far from the real subject, in fact. And that I just had to use all my previous developments and my previous ideas to achieve what I needed.
First, create not a hub or a switch, but simply an 8-port MIDI interface. I already have the prototype almost available. I just need to make some minor modifications to allow my 8 ports prototype to be connected to the USB port. So I have just made the necessary modifications to the circuit.
The general idea is that it should remain simple to achieve. Thanks to the experience acquired with RISC-V processors during my previous work, I left with this type of processor :
vendredi 12 avril 2024
A MSX flash cartridge downloadable from USB : the last iteration.
What is it about this time?
- I did some redrawing work on certain tracks to make them more 'homogeneous'.
- I powered certain interface circuits directly via the +5V power supply from the MSX connector and no longer with the 3.3V coming from the 5V USB to 3.3V régulator. the goal being to avoid electrical level problems with the test machine, a Panasonic FS-A1. In theory, 3.3V interfacing should not pose any problems, but in reality, it does.
- And, I also added a small HF remote control module. This involves controlling remotely and without a physical link, an electrical outlet to automatically restart the MSX computer without having to manipulate the main switch, nor having to 'fiddle' with a RESET connection inside the computer. MSX.
The final circuit should look like this :
Apart from the location of the HF module, the circuit looks almost the same as the previous version. Having written this, I also adjusted the external dimensions of the card so that insertion into the MSX connector no longer presents any potential gaps.
The final appearance should look very similar to this:
As for the code, the two programs concerning the processor which takes care of the USB communication and the one which manages the MSX bus, should not be modified. From the tests done, loading and making the loaded ROM available for the MSX computer works fine now.
mardi 26 mars 2024
A MSX flash cartridge downloadable from USB.
We have to be honest, developing quality equipment is not easy. Downloading a cartridge directly via the USB port from your PC to the MSX computer without any manipulation to do is a good idea.
But we must recognize that it is not done like that! I had to overcome hardware problems, software problems, implementation and component supply problems, etc. etc.
Fortunately, most difficulties come from not having in-depth knowledge of the issues encountered. This is the study side of 'study and development'. We're getting there but it takes time.
So, after a certain number of prototypes, more and more functional, I am now arriving at the 'final touches'.
What is it about? In fact, with the idea of making the loading and restarting process of the MSX computer automatic, just after copying/pasting a ROM file, you have to... restart the computer.
In 'real' life, a computer requires a power off/on sequence to restart on a new cartridge. This is not very practical. So I had the idea of equipping my cartridge with a RESET signal output for the MSX computer.
Subsequently, it did not pose a problem for me to locate the right place on the OMEGA board to force the reset of the MSX computer.
But... that's not the case for everyone. And truth be told, I don't know many people who want to open up their MSX computer to solder somewhere a 'wire' from the outside.
In fact, you have to 'simulate' the action of the ON/OFF button on the computer. Again, there is no question of 'fiddling' with the computer switch. A relatively simple solution therefore consists of making a remote controllable electrical outlet. Obviously, there can be no question of connecting the MSX cartridge to an electrical outlet in any way.
A possible and elegant solution to this problem is to use an HF link. There is no question here of using a complicated or expensive module but rather a basic 'thing' capable of just remote control something.
After some research, I came across these modules:
I ran some link tests. It works really well. So, and as the emission module is very small, I decided to integrate it into my cartridge. In the end it gives this: