Morning Petri, > Ummm.... how would I calculate an offset to a routine compiled inside > this _BIN from the _ASM I'm copying it into? Include the SYM file created when the lib file was assembled.
here is an example from a recent article on Easy PEasy (QL Today V15 issue 1): ;---------------------------------------------------------------------------- ; Pull in the Easy PEasy stuff next - code routines and sprites. ;---------------------------------------------------------------------------- in win1_ass_pe_peas_sym_lst lib win1_ass_pe_peas_bin in win1_ass_pe_csprc_sym_lst lib win1_ass_pe_csprc_bin The SYM file defines the offsets into the LIB'd file as offsets from the current location. Cheers, Norman. -- Norman Dunbar Dunbar IT Consultants Ltd Registered address: Thorpe House 61 Richardshaw Lane Pudsey West Yorkshire United Kingdom LS28 7EL Company Number: 05132767 _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm