Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fill Routine
#18
britlion Wrote:
boriel Wrote:I'm also wondering which one is faster! Tongue

I think they have to be....similar. Given they are byte for byte identical:
:!: Confusedhock:
Well, don't remember if I did them on my own, or took them from speccy.org (probably from there).
Anyway, getting the next/previous scanline is quite standard: ZX Spectrum have few registers, and usually HL is used for "pokeing" the screen.

So, yes: except for the INC B and attibute flag, this routine is identical. I think I'm going to remove the INC B out of it, and make them independent (separated in their own files). So they can be included by the Fill routine, and so.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)