QMake and defines.

Anything QL Software or Programming Related.
Post Reply
prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

QMake and defines.

Post by prime »

Hi all,

Is there a way from a Qmake input file, of defining a symbol that can be tested for (e.g. with genif) inside an asm file?

Cheers.

Phill.


User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QMake and defines.

Post by mk79 »

No, but I found a workaround once: see sbsext_tk2_procs_asm and linker file. Though I'm not sure I'd like GENIFd files in the main distribution, depends on how much is different. Otherwise use separate files.


prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: QMake and defines.

Post by prime »

mk79 wrote:No, but I found a workaround once: see sbsext_tk2_procs_asm and linker file. Though I'm not sure I'd like GENIFd files in the main distribution, depends on how much is different. Otherwise use separate files.
I've basically modified 3 files, the card init, and write sector routines, those could easily go in separate files. However one of the files I needed to modify was they keys file, which is included by several of the other files. I need to do this as my hardware is based on the original but has the registers in a different order.

Cheers.

Phill.


Post Reply