Thanks for your reply and the link for the RoboMind.
My 68k projects are not so much a consideration to learn assembler (I used assembler in the 1990s).
The biggest mental wall seems to be the design choices. What really is the best way to build an interface (not having EPROMs), keeping it as simple as possible (not too many chips or complicated firmware).
The prototype RAM loader I built isn't the best, it's a 44pin microcontroller, so latches are used.
However the PCB for the 68sec000 I already designed is more advanced than the RoboMind.
It has a PIC micro capable of upto 48MHz clock, and these larger PICs have powerful pheripherals as well,
even USB.
I was just thinking this morning, maybe I should change it to use the PIC32.
And the bill of materials is about $15.
It's not really easy to design a complete computer, including maybe a small color LCD.
What is the right RAM size, what is the right display size?
How to integrate the CLPD without tying it up too much, so the system could become extended later?
(I haven't got much CPLD experience yet).
Older GAL technology isn't so much favoured now, some manufacturer's discontinued them.
I had to buy two programmers, took me years to get it working.
On the other hand it seems to be, leaving the interrupts alone (all I/O done by the PIC),
and only using fast SRAM, the complicate acknowledge isn't much required.
And the SEC000 can work in 8bit mode (at some speed penalty), resulting in less PCB tracks.
It's easy of course just to go brute force, proceed with the PCB and simply order a small batch,
and see how it goes (maybe 150 dollars cost).
However, currently, I want to build it on a large proto PCB, abandoning the 4 or 5 existing prototypes (which suffer from lack of space and they don't have any schematics so it's time consuming to do further work on them).
I want to finish one CPU module, build a simple backplane (bus), and connect it to the RAM bootloader.
My goal is just to run a super simple small program on the 68k. These are 68000FN8 (PLCC), I use plugable CPU module for the reason so I could change the CPU if I wanted to.
I have some 68901 around but they aren't going to be used, sold some of them a few days ago! They are really consuming to much power (about 200mA). The SEC000 only needs 15mA.
To get to a point why I want to build this PCB and what will it be good for:
-It could become used for various applications, where it is considered more comfortable to have more than one CPU/MCU. RISC MCUs are good for some purposes however if you look at the disassembly (from C), you'll see for each line of C, you get 10 to 20 RISC instructions. Overall speed isn't so fast, after all.
I know the 68K isn't fast either (by nowadays standards), but I am also considering to have more than one 68K working at the same time.
The weak point is that no good software exists that works on current Windows, and has good documentation. The Easy68k can produce binary, sometimes it simply will freeze so that isn't really workable.
-The price tag could be somewhere around $20 to $30, including PCB.
Actually, I plan to create benchmarks, to compare for instance the 68K with a PIC32. I guess the PIC32 is far more powerful already.
If you remove the CPLD, and maybe only use a 18F PIC, and just a little RAM, and a smaller color LCD, the cost of components will go down, and so the PCB area!
Maybe there is some really optimal design, which still makes sense these days, based on the 68SEC000. For 15mA/3.3volts, it still seems to be a good CPU. Remind there are for instance 8051 compatible chips built into many commercially sold SD card readers.
It is true there are not many new 68K designs. The only 68SEC000 design I saw on the net has something to do with emulation of a 1980s game console, which back then was much favoured by assembler enthusiasts (if we don't use the word hackers here).
Most people these days use CPU32. The only difficulty for me is that there are so many different architectures for them, and many different CPU models. I spent considerable time on the 68K already. It would take me 6 months to a year to become familiar with the CPU32.
Yes I could buy a evealution board. But it would be difficult to derive a design that I could replicate 10 or 20 times at relatively low cost.
After all I think in the near future I will also buy one of these evealution kits to keep up with "evolution".
I put so much effort into the 68K it's difficult for me just to abandon it, without having some real working prototypes, and without data for their performance, or just experience how they "behave" in real world.
Color LCDs using PICs are possible however there is only little RAM on most PICs! For instance I have some 1.8" TFTs, and some 320x200 color LCDs. I saw some digital camera PCBs, and they always have CPU/RAM/Flash ROM. However these CPUs are exotic, no datasheets can be found for these.
What I really developed to a working point are very small serial LED 7seg displays, originating from the RAM bootloader. One day I was just thinking, all these wires for the debug displays are way too much effort to cut and to solder, and relatively quickly I devleoped serial displays. They only use one PIC16f54 (50 cents), and no other components. The PCB actually fits underneath the display (0.36"). A very effective and useful developement.
So this is one of the results of working at 68K prototypes.
My difficulties are not so much to learn or to understand digital principles, or assembly programming, it seems to be most likely it's very hard to make design choices. There is no data which helps to make a descision! The only way to go seems to be to choose some design that makes sense, somehow, and see how it works, then improve it for cost and speed, and build more prototypes.
I have also searched the internet over a time of some years to encounter various "homemade" CPUs, single board computers, even small gaming consoles. It's interesting and gives some impressions but for most cases it is the opposite and totally different from how I build things. For instance having EPROMs seems to be almost unthinkable.
The 68K is special yes there seems to be numerous mental barriers. I wonder sometimes what stops me just to add 1Megabyte SRAM, and simply proceed with the PCB design? Right now I only have 2x32K chips however these days the price tag isn't much relevant anymore.
The first application for my 68K prototype (wire based) most likely will be connecting it to my new 32x24 LED matrix.
I have attached one screenshot from the PCB design, each square is 1cmx1cm. The CPLD is connected to all memory control signals however the PIC isn't yet connected to the outside world most likely this will be done using flat cable connectors. It's just an idea how it will look like (and about the size).