mist-devel / mist-binaries

Firmware and core binaries for the MIST board
203 stars 48 forks source link

plus_too core ver 151119 fails correctly write cfg file #15

Closed EricGus closed 3 years ago

EricGus commented 8 years ago

The plus_too core has a bug where it fails to save a proper cfg file.. you end up with a cfg file that is 1 byte in size. (see attached zip file) {this is with MiST firmware_160324} PLUS_TOO.CFG.zip

harbaum commented 8 years ago

How many bytes do you expect to be written?

EricGus commented 8 years ago

I would suspect more than one. The settings are not retained so I am guessing there is a bug of some kind. If you can try it yourself with a new plus-too Setup.

Other cores have CFG files that are bigger. Also if you examine the attached CFG file you will see it pretty much void of any info. I.e. No dsk or img file names etc.

harbaum commented 8 years ago

All the simple cores only write a 1 byte config which simply represents the a bit per OSD line.

The cores with bigger cfg are atari st and amiga. I byte is good.

EricGus commented 8 years ago

So the cfg file for Plus_too doesn’t retain the disk1 / IMG setting? .. so you have to specify those every time you start the core?

What is happening is if you set those .. and save the config, when you restart MiST/plus_too (say power on/off the mist box) the disk and img settings you selected are not retained.

harbaum commented 8 years ago

Yes, the disk settings are not saved. If it would be easy I'd just add it. But it needs more work as the mist isn't a full blown pc and the firmware curently lacks some of the file handling capabilities required for this.