05-15-2013, 08:05 PM
thanks,
I made this little program to draw on each line going down the screen but it didnt look like I expected
it just draws a couple of blobs to the screen
I am using INC H to go down the screen
using BC as a 16 bit counter
Loading 254 into screen memory each time
I made this little program to draw on each line going down the screen but it didnt look like I expected
Code:
function FASTCALL drawthis() as ubyte
asm
LD HL,16384
LD BC,20
drawblokes:
INC H
LD (HL),254
DEC BC
LD A, B
OR C
JP NZ,drawblokes
end asm
end function
drawthis()
Print "done"
it just draws a couple of blobs to the screen
I am using INC H to go down the screen
using BC as a 16 bit counter
Loading 254 into screen memory each time