EugeneNine wrote:
As far as a standalone 6502 you could buy WDC's eval board which boots into an ML monitor and start programming from there.
To be clear, as an extreme example, but in theory possible.
The W65C265SXB board has 32K of RAM, and a socket for a 128K Flash chip, mapped to the upper 32K.
The 128K flash chip has 17 address lines (as it should for 128K). A0-A14 are mapped straight to the address bus, but lines A15 and A16 are wired to pins 3 and 4 of Port 4 off the MCU (labels P43_F15 and P44_AMS).
Now, how this is mapped to the "upper 32k", I'm not sure -- it could be via the chip select logic. Seems to me that P43_F15 needs to be set high "all the time" for this to be mapped to the upper 32K.
Since there are 2 pins on A15 and A16, in theory, there's "4 banks" of Flash available. Since I can't describe how the mapping is done, it seems to be that there is at least 2 banks, with P44_AMS/A16 high or low.
Now, not only are there at least 2 banks, but the chip is wired up properly to where it should be possible to WRITE to the Flash from the board itself.
So what does that mean?
That means that with little more than a terminal of some kind, and leveraging the built in monitor, you could not just start building up some hand assembled code on this thing, but you can actually PERSIST the changes to survive restarts and power.
So, simply, you could run this as a machine with 32K of RAM and, at least, 64K of persistent storage.
Back in the day, my Atari's disk drive was only 88k. 64K is not a lot, but it's not nothing either.
Obviously, day one would be to write the Flash writing software and, well, write it to Flash
.
And this brings up the second point.
Story has it, I don't know where I read it, that Chuck Moore bootstrapped one of his Forth implementations on a PC starting with nothing but DEBUG. He hand assembled his kernel, typed in the hex codes, and just kept overwriting the COM file on a floppy until he was able to uplift in to Forth. Eventually I guess he overwrote the boot sector and did away with DEBUG and DOS completely. Eventually this turned in to one of his chip design programs.
It's only believable because Chuck Moore is, well, Chuck Moore. This seems right up his alley.
Anyway, so motivated, one could do that with this board. It's not keying in code via bit switches, but by todays standards, it's pretty darn close.