On Monday 05 September 2005 23:11, Sidney Cadot wrote: > Hi guys, [...] > Now I know how to get this fixed by juggling a linker file, but I > would like to be able to nail a piece of code really at a certain > address using .ORG only. Is there a way to do this (without using to > the linker config?). Is the current behavior intentional? > > [ You may ask why I would want this. The reason is that I have > scanned/OCRed/corrected 128 pages of Atari OS source code, and I > would like to get this to work with ca65 with minimal changes. I > really wouldn't like to put extra ".segment" directives in the code, > for example. ] you are confusing the traditional meaning of ".org" (=put code at this adress) with how its handled in modern assemblers with linker (=use this as a base for the program counter). check the paragraph about simulating turbo-assembler behavior with ca65 in the docs (dont remember exactly where it was....but its there i promise :=P), it shows what to do to achive what you want. -- http://www.hitmen-console.org http://www.gc-linux.org/docs/yagcd.html http://www.pokefinder.org http://ftp.pokefinder.org Easy to learn = hard to use, Easy to use = hard to learn, Easy to learn and use = won't do what you want it to, Powerful = hard to learn and use, Menu-driven = easy to learn. <Stephen Manes> ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Sep 5 23:15:48 2005
This archive was generated by hypermail 2.1.8 : 2005-09-05 23:15:50 CEST