From: Stephan Mühlstrasser Date: Sun, 11 Jan 2015 17:22:36 +0000 (+0100) Subject: Minor cleanup of unnecessary newlines. X-Git-Tag: V2.15~22^2~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b1f764bdc90d7be9a0e2f74c6aab4b0e8fdb8181;p=cc65 Minor cleanup of unnecessary newlines. --- diff --git a/cfg/c1p.cfg b/cfg/c1p.cfg index 633298270..59fdd34d8 100644 --- a/cfg/c1p.cfg +++ b/cfg/c1p.cfg @@ -1,7 +1,6 @@ FEATURES { STARTADDRESS: default = $0200; } - SYMBOLS { __STACKSIZE__: type = weak, value = $0400; # 1 kB stack __HIMEM__: type = weak, value = $8000; # 32 kB RAM diff --git a/libsrc/c1p/_scrsize.s b/libsrc/c1p/_scrsize.s index 75de2b349..3b0d71c2f 100644 --- a/libsrc/c1p/_scrsize.s +++ b/libsrc/c1p/_scrsize.s @@ -19,4 +19,3 @@ rts .endproc - diff --git a/libsrc/c1p/cclear.s b/libsrc/c1p/cclear.s index 4412f0bba..4e18c70a3 100644 --- a/libsrc/c1p/cclear.s +++ b/libsrc/c1p/cclear.s @@ -27,7 +27,3 @@ L1: lda #$20 ; Blank - screen code dec tmp1 bne L1 L9: rts - - - - diff --git a/libsrc/c1p/crt0.s b/libsrc/c1p/crt0.s index dde348ee8..908943e91 100644 --- a/libsrc/c1p/crt0.s +++ b/libsrc/c1p/crt0.s @@ -60,4 +60,3 @@ _init: ldx #$FF ; Initialize stack pointer to $01FF _exit: jsr donelib ; Run destructors brk - diff --git a/libsrc/c1p/ctype.s b/libsrc/c1p/ctype.s index dd7ac62c3..fa901c189 100644 --- a/libsrc/c1p/ctype.s +++ b/libsrc/c1p/ctype.s @@ -287,4 +287,3 @@ __ctype: .byte $00 ; 253/fd _y'_acute__ .byte $00 ; 254/fe _sm_thorn__ .byte $00 ; 255/ff _y"_dieres_ - diff --git a/libsrc/c1p/cvline.s b/libsrc/c1p/cvline.s index 607a4c691..c485918ee 100644 --- a/libsrc/c1p/cvline.s +++ b/libsrc/c1p/cvline.s @@ -27,6 +27,3 @@ L1: lda #$95 ; Vertical bar dec tmp1 bne L1 L9: rts - - - diff --git a/libsrc/c1p/gotox.s b/libsrc/c1p/gotox.s index 315e1b5ee..fb84975d1 100644 --- a/libsrc/c1p/gotox.s +++ b/libsrc/c1p/gotox.s @@ -5,13 +5,9 @@ ; ; void gotox (unsigned char x); ; - .export _gotox .import plot .importzp CURS_X _gotox: sta CURS_X ; Set new position jmp plot ; And activate it - - - diff --git a/libsrc/c1p/gotoxy.s b/libsrc/c1p/gotoxy.s index 64c6bd21d..32d1f1df2 100644 --- a/libsrc/c1p/gotoxy.s +++ b/libsrc/c1p/gotoxy.s @@ -1,9 +1,11 @@ ; +; copied from CBM implementation +; +; originally by: ; Ullrich von Bassewitz, 06.08.1998 ; ; void gotoxy (unsigned char x, unsigned char y); ; - .export _gotoxy .import popa, plot .importzp CURS_X, CURS_Y @@ -13,5 +15,3 @@ _gotoxy: jsr popa ; Get X sta CURS_X ; Set X jmp plot ; Set the cursor position - - diff --git a/libsrc/c1p/gotoy.s b/libsrc/c1p/gotoy.s index e9e81451a..fcd60dd31 100644 --- a/libsrc/c1p/gotoy.s +++ b/libsrc/c1p/gotoy.s @@ -5,11 +5,9 @@ ; ; void gotoy (unsigned char y); ; - .export _gotoy .import plot .importzp CURS_Y _gotoy: sta CURS_Y ; Set the new position jmp plot ; And activate it -