Login
Search for:


Previous | Next

From: TLC (all posts)
Date: 2000-04-19
Subject: Re: TASS
Hi!

> I just made a program for CLINK. For msdos/pc.
> Levente: if I saw well, there is no way of setting the loadadress of
> a file and ignore the current one on the file! Am I right?

For binary images, the load address is set by the -s switch in the command line. It defaults to FFFF, which is a special value, treated like you know well.

However, you can specify whatever load address with the -s switch in the command line.

That's true, ComLink will never skip the 'own' load address of a file if you specify one in the command line. From the other hand, it's also not much of a problem. Being one just tinkering around with downloaded Commodore stuff, one usually doesn't want anything but transferring the file to a Commodore as quickly as possible, with no modification to the file at all. And being a programmer, one can freely omit the start address from a compiled binary image (if using binary images as results of the compilation process at all) and set it on the command line, or even generating two appropriate bytes on the start of the image in the assembly source.

L.

Copyright © Plus/4 World Team, 2001-2024