unexpanded vic .cfg file for cc65
Posted: Thu Jun 08, 2017 10:23 am
I have a vic+8k.cfg file that works well. I was trying to mock up an unexpanded vic cfg file last night and it was very bare bones. (something like this)
MEMORY {
RAM: start = $1000, size = $0201, type = rw, fill = yes;
}
SEGMENTS {
BASIC: load = RAM, type = ro, define = yes, optional = no;
STARTUP: load = RAM, type = ro, define = yes, optional = no;
}
The problem is when I compile and link the resulting program size is 3k. Perfect.
When I load it into vice it gives a syntax error at load time and the linenumber is weird.
It should read 2017 sys4100 (or something like this) and it tries to be: 54617 sys4100.
Any ideas as to what might be wrong? Am I missing something in the .cfg file above?
MEMORY {
RAM: start = $1000, size = $0201, type = rw, fill = yes;
}
SEGMENTS {
BASIC: load = RAM, type = ro, define = yes, optional = no;
STARTUP: load = RAM, type = ro, define = yes, optional = no;
}
The problem is when I compile and link the resulting program size is 3k. Perfect.
When I load it into vice it gives a syntax error at load time and the linenumber is weird.
It should read 2017 sys4100 (or something like this) and it tries to be: 54617 sys4100.
Any ideas as to what might be wrong? Am I missing something in the .cfg file above?