Working on my microcode code generator for 8088 & V20. Well, for 8088. The V20 w...

@gloriouscow@oldbytes.space

Working on my microcode code generator for 8088 & V20.

Well, for 8088. The V20 will probably be a copy & paste job because I couldn't think of a great way to make an architecture-independent microcode decoder.

microcode is kinda the very definition of architecture-dependent, ya?

The idea is that we emit one function per microcode word. That function should do everything the microcode does. To run the CPU we keep an index into a big table of function pointers to all these little functions. That index is essentially the microcode program counter.

#retrocomputing #emulation