I'm just creating my own .prg
file using NCurses Hexeditor in Ubuntu which I load using load"file.prg",8
in Vice. I followed the information in this link explaining how to create a .prg
file. It says basic starts at 2048 ($0800) but loads the .prg
code starting at $0801:
Is there any reason for this? I tried it at $0800 and all works fine (see below). I guess it wouldn't matter because the Assembly code starts at 2064 ($0810), but just thought I might be missing something as to why they chose $0801 and not $0800.
What I tried
First of all, according to the C64 Programmer's Reference Guide (C64PRM, p.59):
Tests show that no matter what PRG header I use my bytes are always loaded into 2048 when using ,8
as per C64PRM. But let's just suppose I use a header for $0800, then I have the following bytes in Hexeditor:
and I don't get an error, e.g.: