Removed the HORLINE entry point

git-svn-id: svn://svn.cc65.org/cc65/trunk@2646 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-11-12 15:54:41 +00:00
parent 9409de20a6
commit 7cafe5bbde
4 changed files with 18 additions and 16 deletions

View File

@@ -53,7 +53,6 @@
.word GETDEFPALETTE
.word SETPIXEL
.word GETPIXEL
.word HORLINE
.word LINE
.word BAR
.word CIRCLE
@@ -819,6 +818,10 @@ FIXY: cpy #255 ;Y=255 or Y=8
;
; Must set an error code: NO
;
; Note: This function needs optimization. It's just a cheap translation of
; the original C wrapper and could be written much smaller (besides that,
; calling LINE is not a good idea either).
BAR: lda Y2
sta Y2SAVE
@@ -840,7 +843,11 @@ BAR: lda Y2
lda X1+1
sta X1SAVE+1
@L1: jsr HORLINE
@L1: lda Y1
sta Y2
lda Y1+1
sta Y2+1
jsr LINE
lda Y1SAVE
cmp Y2SAVE

View File

@@ -56,7 +56,6 @@ tgi_getpalette: jmp $0000
tgi_getdefpalette: jmp $0000
tgi_setpixel: jmp $0000
tgi_getpixel: jmp $0000
tgi_horline: jmp $0000
tgi_line: jmp $0000
tgi_bar: jmp $0000
tgi_circle: jmp $0000