Closed deftmega closed 4 years ago
The Bug is still in. If you set, in MEGA65 configure (Bios) video mode to PAL and save it, MEGA65 will boot anyway, always to NTSC.
The video mode change in the freeze-menu works.
The problem is that mega65 configure is modifying sector 1 of the SD card, while the hypervisor reads from sector 1 of the system partition. Both use the hypervisor routine to do the reading and writing, so something funny is going on with that, I presume.
ok. Found problem: Util menu check happens before SYSPART can be opened. Thus syspart offset is sector $0, and the config data thus ends up in sector 0+1 of the SD card. This is actually not a bad place for it, and the easier fix is probably to just make it officially live there.
Confirmed fixed by the above commit.
It's on the 138-hdmi-audio-27mhz branch, and will get merged in when that branch gets merged in.
Tested Bitstream: mega65r2-20200523.13-HEAD_n-0476b74+DIRTY.bit
changing in configure menu from PAL to NTSC or vice versa and saving it works now. i don't knoiw how to test issue #220
Combined with #220, successfully tested and merged into stable_base branch: https://github.com/MEGA65/mega65-core/commit/0476b7475b6ddc84380ca12ec10a8fb7fea04174
In latest unstable bitstreams (sorry for no further info at this point) I have no functionality by the PAL/NTSC toggle for default video mode in config menu. However, switching via "V" key in freeze menu has been tested working.