nealcrook / multicomp6809

Software and modifications for Grant Searle's multicomp FPGA design, mostly focussed towards the 6809 variant: Forth (CamelForth), FLEX, CUBIX, NITROS9, FUZIX and the exec09 emulator.
58 stars 17 forks source link

Fixed Bug Not Loading/Saving in adventure.dsk #12

Open prasys opened 3 years ago

prasys commented 3 years ago

Hi,

There is a bug in the original implementation of adventure whereby the original author made the assumption that all of the variables are stored consecutively but however this is not the case for FLEX. Therefore, in our implementation - we had to change the save and load functions so that it writes individual values into disk and then loads them back in.

Also Flex likes everything to be in Upper case. So I've fixed them as well

Two files were modified ADVENT.C and SAVEADV.C

The full source code can be seen here (with the modifications)

https://github.com/prasys/ADVENT-Flex

I am submitting this because I thought it would be helpful for people who want to play colossal cave adventure

Let me know should you require more details