1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 17:30:06 +00:00

add missing newline to a bunch of files

This commit is contained in:
mrdudz 2022-04-16 19:51:48 +02:00
parent fd6662bb64
commit 8cacfa70d5
30 changed files with 41 additions and 41 deletions

View File

@ -13,4 +13,4 @@ _textcolor := return1
_bgcolor := return0 _bgcolor := return0
_bordercolor := return0 _bordercolor := return0

View File

@ -11,5 +11,5 @@
.include "jumptab.inc" .include "jumptab.inc"
_InitForIO = InitForIO _InitForIO = InitForIO
_DoneWithIO = DoneWithIO _DoneWithIO = DoneWithIO

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_ToBASIC = ToBASIC _ToBASIC = ToBASIC

View File

@ -17,4 +17,3 @@ _CRC:
lda r2L lda r2L
ldx r2H ldx r2H
rts rts

View File

@ -13,4 +13,4 @@
_DoIcons: _DoIcons:
sta r0L sta r0L
stx r0H stx r0H
jmp DoIcons jmp DoIcons

View File

@ -14,4 +14,4 @@ _DoMenu:
sta r0L sta r0L
stx r0H stx r0H
lda #0 lda #0
jmp DoMenu jmp DoMenu

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_DoPreviousMenu = DoPreviousMenu _DoPreviousMenu = DoPreviousMenu

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_GotoFirstMenu = GotoFirstMenu _GotoFirstMenu = GotoFirstMenu

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_RecoverAllMenus = RecoverAllMenus _RecoverAllMenus = RecoverAllMenus

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_RecoverMenu = RecoverMenu _RecoverMenu = RecoverMenu

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_ReDoMenu = ReDoMenu _ReDoMenu = ReDoMenu

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_ClearMouseMode = ClearMouseMode _ClearMouseMode = ClearMouseMode

View File

@ -12,4 +12,4 @@
_DisablSprite: _DisablSprite:
sta r3L sta r3L
jmp DisablSprite jmp DisablSprite

View File

@ -16,4 +16,4 @@ _DrawSprite:
stx r4H stx r4H
jsr popa jsr popa
sta r3L sta r3L
jmp DrawSprite jmp DrawSprite

View File

@ -12,4 +12,4 @@
_EnablSprite: _EnablSprite:
sta r3L sta r3L
jmp EnablSprite jmp EnablSprite

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_InitTextPrompt = InitTextPrompt _InitTextPrompt = InitTextPrompt

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_MouseOff = MouseOff _MouseOff = MouseOff

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_MouseUp = MouseUp _MouseUp = MouseUp

View File

@ -26,4 +26,4 @@ _PosSprite:
sta r5L sta r5L
jsr popa jsr popa
sta r3L sta r3L
jmp PosSprite jmp PosSprite

View File

@ -11,4 +11,4 @@
_StartMouseMode: _StartMouseMode:
clc clc
jmp StartMouseMode jmp StartMouseMode

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_CallRoutine = CallRoutine _CallRoutine = CallRoutine

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_FirstInit = FirstInit _FirstInit = FirstInit

View File

@ -9,4 +9,4 @@
.include "jumptab.inc" .include "jumptab.inc"
_Panic = Panic _Panic = Panic

View File

@ -3,7 +3,7 @@
; ;
.include "extzp.inc" .include "extzp.inc"
.linecont + .linecont +
; ;
@ -13,7 +13,7 @@
; Macro implementation of internal screensize ; Macro implementation of internal screensize
; function for given width and height in ; function for given width and height in
; characters ; characters
.export screensize .export screensize
.proc screensize .proc screensize
@ -34,11 +34,11 @@
lda #<ScrBase ; Fill whole video RAM with blanks by calling lda #<ScrBase ; Fill whole video RAM with blanks by calling
ldx #>ScrBase ; memset appropriately ldx #>ScrBase ; memset appropriately
jsr pushax jsr pushax
lda #' ' lda #' '
ldx #$00 ldx #$00
jsr pushax jsr pushax
lda #<ScrRamSize lda #<ScrRamSize
ldx #>ScrRamSize ldx #>ScrRamSize
jsr _memset jsr _memset
@ -46,7 +46,7 @@
lda #$00 ; Cursor in upper left corner lda #$00 ; Cursor in upper left corner
sta CURS_X sta CURS_X
sta CURS_Y sta CURS_Y
jmp plot ; Set the cursor position jmp plot ; Set the cursor position
.endproc .endproc
@ -112,12 +112,12 @@ newline:
lda #<(ScrBase + ScrFirstChar) lda #<(ScrBase + ScrFirstChar)
ldx #>(ScrBase + ScrFirstChar) ldx #>(ScrBase + ScrFirstChar)
jsr pushax jsr pushax
; Scroll source address ; Scroll source address
lda #<(ScrBase + ScrFirstChar + ScrollDist) lda #<(ScrBase + ScrFirstChar + ScrollDist)
ldx #>(ScrBase + ScrFirstChar + ScrollDist) ldx #>(ScrBase + ScrFirstChar + ScrollDist)
jsr pushax jsr pushax
; Number of characters to move ; Number of characters to move
lda #<ScrollLength lda #<ScrollLength
ldx #>ScrollLength ldx #>ScrollLength
@ -129,7 +129,7 @@ newline:
sta ptr1 sta ptr1
lda #>(ScrBase + ScrFirstChar + ScrollLength) lda #>(ScrBase + ScrFirstChar + ScrollLength)
sta ptr1+1 sta ptr1+1
ldy #ScrWidth ; Fill last line with blanks ldy #ScrWidth ; Fill last line with blanks
lda #' ' lda #' '
clrln: sta (ptr1),y clrln: sta (ptr1),y
@ -150,7 +150,7 @@ putchar:
ldy CURS_X ldy CURS_X
sta (SCREEN_PTR),y ; Set char sta (SCREEN_PTR),y ; Set char
rts rts
.endmacro .endmacro
.macro osi_screen_funcs ScrBase, ScrRamSize, ScrFirstChar, \ .macro osi_screen_funcs ScrBase, ScrRamSize, ScrFirstChar, \
@ -167,12 +167,13 @@ ScrTabLo:
.repeat ScrHeight, I .repeat ScrHeight, I
.byte <(ScrBase + ScrFirstChar + I * ScrollDist) .byte <(ScrBase + ScrFirstChar + I * ScrollDist)
.endrep .endrep
ScrTabHi: ScrTabHi:
.repeat ScrHeight, I .repeat ScrHeight, I
.byte >(ScrBase + ScrFirstChar + I * ScrollDist) .byte >(ScrBase + ScrFirstChar + I * ScrollDist)
.endrep .endrep
.code .code
osi_cputfuncs ScrBase, ScrFirstChar, ScrWidth, ScrHeight, \ osi_cputfuncs ScrBase, ScrFirstChar, ScrWidth, ScrHeight, \
@ -180,4 +181,4 @@ osi_cputfuncs ScrBase, ScrFirstChar, ScrWidth, ScrHeight, \
osi_screensize ScrWidth, ScrHeight osi_screensize ScrWidth, ScrHeight
osi_clrscr ScrBase, ScrRamSize osi_clrscr ScrBase, ScrRamSize
.endmacro .endmacro

View File

@ -27,4 +27,4 @@ int main() {
printf("it works :)\n"); printf("it works :)\n");
return 0; return 0;
} }

View File

@ -35,4 +35,4 @@ seems to work.
greetings, greetings,
   Andreas    Andreas
*/ */

View File

@ -36,4 +36,4 @@ int main(void)
000023r 1 A4 rr ldy sreg 000023r 1 A4 rr ldy sreg
000025r 1 8C rr rr sty _b+2 000025r 1 8C rr rr sty _b+2
000028r 1 8C rr rr sty _b+3 ; lost 4th BYTE ! 000028r 1 8C rr rr sty _b+3 ; lost 4th BYTE !
*/ */

View File

@ -35,4 +35,4 @@ So testing with 999 gives:
999 mod 999 is 0 999 mod 999 is 0
This seems to be systematic. This seems to be systematic.
*/ */

View File

@ -24,4 +24,4 @@ int main()
printf("a / b = %d", c); printf("a / b = %d", c);
return 0; return 0;
} }

View File

@ -24,4 +24,4 @@ int main() {
return 0; return 0;
} }
/* Assert fails. (SVN rev 4381) */ /* Assert fails. (SVN rev 4381) */