I was experimenting with the misster tilemap routine and not having any problems but now TASM gives me these errors ( sorry, I know there are a lot of topics like this but I can't seem to find the answer in any other threads):
mirage.inc line 0154: Duplicate label: (lcdinstport)
mirage.inc line 0155: Duplicate label: (lcddataport)
MiSSTeR.asm line 0318: Duplicate label: (Sleft)
tasm: pass 1 complete.
MiSSTeR.asm line 0318: label value misalligned. (Sleft)
MiSSTeR.asm line 0379: Range of relative branch exceeded.
tasm: pass 2 complete.
tasm: Number of errors = 5
I don't understand why there would be errors in mirage.inc or misster.asm. Could there be something in my code causing this?
Sounds very much like you have more than one calculator type defined at once. (This can happen if you include a lot of external libraries.) It could also be something to the effect of the libraries using the same name for something. (or your own code for that matter.) In any case, you will need to post a bit more info than your error list (like source) for us to figure out what's going on here.
Just search for the appropriate labels. The problem is exactly what it says, they are duplicated. MiSSTeR must have defined these common equates itself, or is using them as part of the routine.
To fix the problem, either rename/remove the offending equates.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
That looks great. I only wish the current versions of latenite worked on my computer. ( I have windows 98se and the most current version that even starts up is version 0.0.2)