So, I decided to give GlassOS a buffered line drawing routine. I found 2 on wikiti, and, well, I can't use them. The first one had problems with it using SMC. I tried to use iy, but it didn't like it as it needed to change the sp.
The second one... jp c,$+3+2+1... I converted those, but it uses a lot of ret's and djnz hops. I changed the ix to iy and change the gbuf, but it just starts jumping everywhere.
Are there any notable routines (Faster than sdcc )
<edit>
JUST after posting, the second function on wikiti worked, but the first one still doesn't work...
The second one... jp c,$+3+2+1... I converted those, but it uses a lot of ret's and djnz hops. I changed the ix to iy and change the gbuf, but it just starts jumping everywhere.
Are there any notable routines (Faster than sdcc )
<edit>
JUST after posting, the second function on wikiti worked, but the first one still doesn't work...