Fuckery delayed because microSD cards are, largely, awful
Hardware is good (red screen is because Pistorm doesn't handle bus arbitration properly so the CD drive can't be probed)
I have successfully turned the screen white. Having proven the overall concept, my next step is to port Doom.
("But Matthew", I hear you ask, "Isn't Doom, But On The Amiga already available?", to which I say "Yes, and that is not what I am doing, at least not in the way you think I am, and also what are you doing in my house")
This is not quite going to be
@foone levels of fuckery but it is going to be the closest I've done for a while
Ok the palette is fucked but otherwise this actually works holy fuck
Interestingly I do need to run Kickstart before this works, so there's some register state needed here that I'm not explicitly setting (I'm setting the palette registers, DMACON, BPL*PT, DIWSTRT/STOP, DDFSTRT/STOP, BPL*MOD, BPLCON*, COP1LC*, not touching anything else)
Symptoms seem to be that writing anything to chip RAM and then reading it back doesn't show the writes landing, do I need to do something to turn on decode there?
Ahhhhhh the ROM starts off overlayed over RAM ok
Hmm setting 0xbfe001 to 0x2 should disable overlay and turn on the power LED, but neither appears to be happening and reading it back gives 0xff so where are my CIAs
Solving this in the most stupid possible way (dumping every register access from the emulator code, including that in my setup code, bisecting until things work)
This is just full on bewildering now, executing exactly the same set of register writes just does… nothing to the CIAs? Even sticking an extra sleep in the way does nothing. Time to poke shit further.
Oh FFS apparently it's necessary to hit the reset pin for the hardware to work even if it's just come up from cold?
@mjg59 “hardware is the parts of the system we can kick, software is the parts we can only swear at”
@kevinriggle @mjg59 Misread as "Hardware is the parts of the system we can lick," made just as much sense anyway.