The entire point of this was that I eventually wanted to add a GDB stub
in the emulator so I can debug the VIA, and I didn't want to waste that
effort w/ a CPU core I wasn't planning on using. So, now, it's changed.
The system right now gets up to drawing the checkerboard background and,
supposedly, attempting to draw the blinking disk icon. Interrupts are
probably broken. Hard to tell.
Also, the new CPU core gives us the M68030 and M68040 and the FPU all
for *free*. So yeah, expect some SE/30 action coming soon. Ish.
So, turns out, there's state contained on the literal wire attached to
the CB2 input on the 6522. Possibly the others. That would explain the
whole "wires" concept in the old code, wouldn't it? I would restore more
of that, but it doesn't really matter I don't think.
The emulator is completely broken, but *at least* it compiles.
I should probably add the ICT task management back in. I forget why I
removed that. Maybe it was too tied to the old VIA implementation.
I still need to re-do most of the rendering system to throw out all the
jank, but this feels like a half-decent start imo.
Yes, every page is just a separate .png file. I'm lazy. That works.
Beyond the over-reliance on #ifdefs for servicing interrupts (which
breaks pretty much everything), my gut's telling me that it's just not
the best implementation. IDK. Let's see where this goes.
CONTROLM.h was the biggest one. Eventual goal is to have each section
of OSGLUWIN.c a seperate file, and then see if I can't make them
platform-independent with only a few tweaks.
Non-windows systems are probably broken right now. Color display in
general is probably broken. But, soon, you will be able to change the
screen size and color depth without recompiling. That would be nice.