Re: A85: line


[Prev][Next][Index][Thread]

Re: A85: line




>Use the FLINE funtion that comes with Usgard1.5.

there's an easier way to make horizontal lines like this:

 ld b,16      ; one line is 16 bytes
 ld a,$ff     ; bitmap for a line
 ld hl,$fc00  ; adress on the screen where you want the line
loop:
 ld (hl),a    ; load one byte into mem stored at hl
 inc hl       ; go to next byte of line
 djnz loop    ; repeat 16 times

this is a lot shorter than using fline.



Follow-Ups: References: