So, all the talk on the new board, and it's in built limits, made my eye wander over to the W65C265SXB.
This is essentially the same thing, with a better header, 32K of RAM and a 128K Flash PLCC socket. It's also distinct in that I guess you can plug in a raw USB cable and talk to it serially, whereas with the smaller board, it just exposes the raw serial signals, and you'd need an FTDI empowered cable to talk to it.
Looking around a bit, and I found this family of flash chips:
http://ww1.microchip.com/downloads/en/D ... 05022C.pdfDo you think it would be possible to program that on the board? That is, plug in the chip, load some code from the monitor, and be able to program it in place?
I ask because I saw some other chips, and they seemed to require 12v to program, but it doesn't look like that's the case with this one. But I'm not sure if the CE, OE, and WE signals would be correct, as those are driven by the CPU. The same signals go to the RAM. Is that just a normal write operation, nothing special? To write a byte you write several bytes to the chip, to certain addresses in a certain order, and then the address and byte you want to store, and then wait for it to happen.
Is programming it in place a smart idea? I might be worried about "bricking" it by writing a bad program to the flash -- just enough to convince the CPU that there's something there (in the sense that it sees WDC at $00:8000 and jump to $00:8003), but buggy to the point where I never get control back (without yanking the Flash out). So, as long as it's in the socket, the board can't reprogram it. I don't think there's a away to make the board ignore the ROM if its in place.
In that case, it seems straightforward enough to be able to craft a simple programmer with little more than a socket and a bread board, map it in to another section of the memory space, and use that.
Any of this make sense?