Okay I have a simple OR-sprite display routine (slightly modified version from the 28days one) and the iFastCopy routine in my code. Point is, as a first step towards a simple tilemapper, I want to repeat one simple sprite 12x horizontally (the sprite is 8x8) and 8x vertically. For one reason or the other I can't work it out. I have had several errors now including the feared MEMORY error...so yea...I was runnin on an emulator though. It's probably very easy for the more advanced asm coders out here but here we go:
Sprite: size;8x8 label;SpriteData
Sprite Routine: A-register = x-coord, E-register = y-coord, B-register = #rows (not in bytes) IX-register = label of the sprite (in this case, SpriteData)
My modifications to the Srpite routine are extremely slight and the routine works absolutely fine when just drawing one sprite, my problem lies more in making a proper loop that increments the A and B register respectfully with 8 each pass. Also I read something about drawing in colums being faster than in rows, can anyone confirm? Or should I take a completely different approach towards tilemapping than drawing sprites 1 by 1?
Thanks!