View Single Post
Old 08 July 2019, 20:03   #62
clebin
Registered User
 
clebin's Avatar
 
Join Date: Apr 2012
Location: Cardiff
Posts: 407
I'm Using SAS\C at the moment (next time I'll cross-compile...)

ptplayer.asm didn't want to compile with SAS\C's 'asm' assembler - I got loads of errors: "data generation must occur in reloc section"

I compiled it using vasm instead:

Code:
vasmm68k_mot -Fhunk ptplayer.asm
I included that in the makefile and everything compiles and runs ok except for the "mt_Enable = 1" line, which gives me this error:

Code:
_mt_Enable symbol - Near reference to data item not in near data section

  First Reference in Unit main.c at offset 00000010 in file ‘o/main.o’
  To Unit put-layer at offset 00000010 in file ‘o/ptplayer.o’
Am I going about this the right way and is it something I can fix? Sorry if this is a noob question..
clebin is offline  
 
Page generated in 0.05001 seconds with 11 queries