Well, maybe I should explain a little better. This idea came to my head after listening to an episode of the Retro Computing Roundtable podcast, If I recall correctly there was a discussion about powering an Apple ii (2) from lemon batteries.
A ridiculous crazy idea it would require thousands and thousands of lemons to run a power-hungry vintage computer.
Unfortunately, these kinds of thoughts seem to stay with me and have to ask myself what would be possible with 10-12 lemons. There are MCU's out there that can run on almost zero power operating at 1-2mA and 1.8-3.3v.
What if I could run an interpreter for a classic CPU something like a Z80, 8086 or 6502 inside a modern MCU that can execute machine code for a classic machine and then run that from lemons, that's doable, right?
No real reason for choosing the 6502, could be because I haven't got anything with that processor at the moment. So, as usual, googled 6502 emulators for MCU's and low and behold there was one for an STM32F103 by JEELABS ( unrelated to me :D ). He has squeezed a 6502 interrupter and a basic ROM into the MCU.
SO just a rough out line to this project is:
Pick an MCU almost any is possible.
Find and implement a 6502 interpreter for the MCU type.
Get some 6502 software up and running on it, this will probably be BASIC.
Optimise the power consumption as much as possible.
Test Lemon batteries.
Build it all together.
Make a cool case ( thinking along the lines of tubes of lemons to represent batteries.