Hi,
What's the exact start address of a basic listing in memory?
I explain: I made a DUMP (Euphoric's F9) of the memory holding a
protected basic listing. Removed the bytes from address #0000 to #4FF
(included), so the memory file started at #0500.
Removed the end of the memory file to turn it into a file less than 48K.
Then I added a TAP header to it with THC - placing the file beginning in
memory at #500 in this TAP file.
When I ran it, I had problems - out of memory error, and so on.
I then removed the 1st byte in #500 in the TAP file (so all the rest
was shifted from 1 byte), ran it again: no more problem.
Can anyone explain why I should have removed 501 bytes (from #0000 to
#0500 included)? I always thought a basic program started at #500.
Should I correct THC so it uses #501 default value instead of #500?
Cheers
Simon