Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implemented vdp and mos-switch #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

S0urceror
Copy link

Hi,

I added a couple of functions to be able to switch ESP32 firmwares and EZ80 kernels.

The ESP32 part relies on something that is already existing in VDP1.04 and I added in ElectronHAL. If you flash an image you can go back to the previous one and vice-versa. The ESP32 has memory enough for two firmwares.

The EZ80 part relies on the fact that you have one kernel sitting in ROM at 0x000000 - 0x00ffff and another one in 0x010000 - 0x01ffff. I created a combined MOS-ElectronOS image and flashed it with your existing code without problems. Then the mos-switch function takes care of the rest. As long as the 2nd kernel is compiled with a specific memory layout in mind. You'll find some details in the switch-memory-design.txt.

Maybe we can work together to have this officially supported in your tool. Let me know what you think.

@envenomator
Copy link
Owner

Sorry it took me a while to respond. I think it's an interesting option to switch, but I'd rather see a separate switch command instead of providing this as an option.

@S0urceror
Copy link
Author

You mean a separate switching application in stead of integrating it in your tool? That makes sense. In my daily use I switch a lot but I don't often reflash. I'll whip up something separate soon. Let's call it agon-switch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants