I have a UEF image (Juggle Puzzle) from John's educational archive . The first program on the tape is as follows:
Code: Select all
In b-em If I run it, it just sits there. If however I press break then CH."", it runs OK. Any ideas why? I can only assume it doesn't like the setting for PAGE.
Well, I was going to say that if PAGE was at something other than &E00 before you loaded the program, then the first line would change PAGE and immediately render the rest of the program "invisible" to BASIC, and that the only way the program could ever run successfully was if PAGE was already at &E00 before you loaded it. However, it seems that you can
get away with changing PAGE in the first line of a short(?) BASIC prog and have it run to completion! Weird.
pau1ie wrote:I am tempted to remove this program as I suspect it won't do much useful after a cold boot of jsbeeb. Does this seem reasonable?
First, check that there's no hidden data above TOP: do so with PRINT ~TOP-PAGE and compare the result with the file-length on tape. If equal, then just remove line 10. The rest of the prog just seems to be resetting the function keys, and you shouldn't need PAGE to be at &E00 to do that. However, the next
program might need to be downloaded to &E00.
pau1ie wrote:If so, how do I edit a UEF file? I have kind of been wanting an excuse to use davidb's UEFfile
I know naathing about UEFfile. But why not just transfer the files to .SSD and see if they can be run on DFS? Or is that not your goal?