Minor cleanup of unnecessary newlines.
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
FEATURES {
|
FEATURES {
|
||||||
STARTADDRESS: default = $0200;
|
STARTADDRESS: default = $0200;
|
||||||
}
|
}
|
||||||
|
|
||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__STACKSIZE__: type = weak, value = $0400; # 1 kB stack
|
__STACKSIZE__: type = weak, value = $0400; # 1 kB stack
|
||||||
__HIMEM__: type = weak, value = $8000; # 32 kB RAM
|
__HIMEM__: type = weak, value = $8000; # 32 kB RAM
|
||||||
|
|||||||
@@ -19,4 +19,3 @@
|
|||||||
rts
|
rts
|
||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,3 @@ L1: lda #$20 ; Blank - screen code
|
|||||||
dec tmp1
|
dec tmp1
|
||||||
bne L1
|
bne L1
|
||||||
L9: rts
|
L9: rts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -60,4 +60,3 @@ _init: ldx #$FF ; Initialize stack pointer to $01FF
|
|||||||
|
|
||||||
_exit: jsr donelib ; Run destructors
|
_exit: jsr donelib ; Run destructors
|
||||||
brk
|
brk
|
||||||
|
|
||||||
|
|||||||
@@ -287,4 +287,3 @@ __ctype:
|
|||||||
.byte $00 ; 253/fd _y'_acute__
|
.byte $00 ; 253/fd _y'_acute__
|
||||||
.byte $00 ; 254/fe _sm_thorn__
|
.byte $00 ; 254/fe _sm_thorn__
|
||||||
.byte $00 ; 255/ff _y"_dieres_
|
.byte $00 ; 255/ff _y"_dieres_
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,3 @@ L1: lda #$95 ; Vertical bar
|
|||||||
dec tmp1
|
dec tmp1
|
||||||
bne L1
|
bne L1
|
||||||
L9: rts
|
L9: rts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,13 +5,9 @@
|
|||||||
;
|
;
|
||||||
; void gotox (unsigned char x);
|
; void gotox (unsigned char x);
|
||||||
;
|
;
|
||||||
|
|
||||||
.export _gotox
|
.export _gotox
|
||||||
.import plot
|
.import plot
|
||||||
.importzp CURS_X
|
.importzp CURS_X
|
||||||
|
|
||||||
_gotox: sta CURS_X ; Set new position
|
_gotox: sta CURS_X ; Set new position
|
||||||
jmp plot ; And activate it
|
jmp plot ; And activate it
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
;
|
;
|
||||||
|
; copied from CBM implementation
|
||||||
|
;
|
||||||
|
; originally by:
|
||||||
; Ullrich von Bassewitz, 06.08.1998
|
; Ullrich von Bassewitz, 06.08.1998
|
||||||
;
|
;
|
||||||
; void gotoxy (unsigned char x, unsigned char y);
|
; void gotoxy (unsigned char x, unsigned char y);
|
||||||
;
|
;
|
||||||
|
|
||||||
.export _gotoxy
|
.export _gotoxy
|
||||||
.import popa, plot
|
.import popa, plot
|
||||||
.importzp CURS_X, CURS_Y
|
.importzp CURS_X, CURS_Y
|
||||||
@@ -13,5 +15,3 @@ _gotoxy:
|
|||||||
jsr popa ; Get X
|
jsr popa ; Get X
|
||||||
sta CURS_X ; Set X
|
sta CURS_X ; Set X
|
||||||
jmp plot ; Set the cursor position
|
jmp plot ; Set the cursor position
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,11 +5,9 @@
|
|||||||
;
|
;
|
||||||
; void gotoy (unsigned char y);
|
; void gotoy (unsigned char y);
|
||||||
;
|
;
|
||||||
|
|
||||||
.export _gotoy
|
.export _gotoy
|
||||||
.import plot
|
.import plot
|
||||||
.importzp CURS_Y
|
.importzp CURS_Y
|
||||||
|
|
||||||
_gotoy: sta CURS_Y ; Set the new position
|
_gotoy: sta CURS_Y ; Set the new position
|
||||||
jmp plot ; And activate it
|
jmp plot ; And activate it
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user