Am 29. Oktober 2021 21:03:31 schrieb ruud_at_Baltissen.org: > Hallo Dave, > > >> If you are writing your own BASIC you can do what you want of course. As >> long as your compatibility is at the text level and not at the tokenised >> BASIC level. > > But that is what I want to archieve: compatible to the tokenised > BASIC level. Doesn't BASIC recalculate the pointer when it loads the file? So it does not matter what the link address is on disk. Or for what these bytes were used when saved... André > > But now I know how I came to my mistake with the pointer bytes. When > a Commodore computer wants to load a program, it first gets the two > bytes of the load address. Then it saves the rest of those bytes > starting from that address (or another one). At the moment I load > programs sector wise into the memory starting from address $0000 and > that means, including the first two bytes. > It simply means I have to rethink things over. One idea: just load > the first sector, read the first two bytes and start loading the > file to this (address -1). > > So back to my editor and start programming again.... :) > > > -- > > Kind regards / Met vriendelijke groet, Ruud Baltissen > www.Baltissen.orgReceived on 2021-10-30 00:00:56
Archive generated by hypermail 2.3.0.