Hi!
I have simple but maybe too stupid Q:
Is possible to identify that program is written for C64 or to C128? (maybe Plus/4 or VIC20)
Has program file any identifier?
Yes, it's stupid Q, but somebody maybe knows about more, or it is not possible, but better is to ask...
Thanks for every reply!
Miro
There's not really a good way to find out, short of checking the documentation or trying it on a C64 and seeing if it works, although a lot of 128 programs have either "128" or "80" in the title somewhere.
One good way is to check the file load address. Many disk programs offer this function. A stand-alone version is available on the test/demo diskette that comes with most Commodore disk drives.
If the program is BASIC, then it will usually be like this:
Start Address | Computer |
$0401 | PET |
$1001 | VIC (unexpanded) |
$1201 | VIC |
$0801 | C64 |
$1001 | Plus/4 |
$1C01 | C128 |
$4001 | C128 (using GRAPHICs) |
Very rarely, a BASIC program might have a different address than listed above.
For machine language programs, it is harder to tell. C64 utility programs often load to the area $C000~$CFFF. C128 utility programs often load to the area $1300~$1BFF or $0B00~$0FFF.
Full blown ML programs (not tiny utitlities) could load just about anywhere, but usually low in memory like BASIC.