mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
Remove trailings spaces from CBM-related asm files
This commit is contained in:
parent
462d8096c0
commit
2eac69a943
@ -20,6 +20,3 @@ L9: rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
; unsigned char __fastcall__ set_chameleon_speed (unsigned char speed);
|
||||
;
|
||||
;/* Set the speed of the Chameleon cartridge, the following inputs
|
||||
; * are accepted:
|
||||
; * are accepted:
|
||||
; * SPEED_SLOW : 1 Mhz mode
|
||||
; * SPEED_1X : 1 Mhz mode
|
||||
; * SPEED_2X : 2 Mhz mode
|
||||
|
@ -167,7 +167,7 @@ loop: .repeat 8
|
||||
|
||||
; Done
|
||||
|
||||
done: rts
|
||||
done: rts
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; COPYFROM: Copy from extended into linear memory. A pointer to a structure
|
||||
@ -178,7 +178,7 @@ done: rts
|
||||
COPYFROM:
|
||||
sta ptr3
|
||||
stx ptr3+1 ; Save the passed em_copy pointer
|
||||
|
||||
|
||||
ldy #EM_COPY::OFFS
|
||||
lda (ptr3),y
|
||||
sta ptr1
|
||||
|
@ -190,7 +190,7 @@ done: rts
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; USE: Tell the driver that the window is now associated with a given page.
|
||||
|
||||
|
||||
USE: sta curpage
|
||||
stx curpage+1 ; Remember the page
|
||||
lda #<window
|
||||
|
@ -12,4 +12,3 @@
|
||||
|
||||
_mouse_stddrv: .asciiz "c64-1351.mou"
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
.include "c64.inc"
|
||||
|
||||
__randomize:
|
||||
__randomize:
|
||||
ldx VIC_HLINE ; Use VIC rasterline as high byte
|
||||
lda TIME+2 ; Use 60HZ clock as low byte
|
||||
jmp _srand ; Initialize generator
|
||||
|
@ -35,5 +35,3 @@ utsdata:
|
||||
; machine
|
||||
.asciiz "Commodore 64"
|
||||
|
||||
|
||||
|
||||
|
@ -17,7 +17,7 @@ _cclearxy:
|
||||
_cclear:
|
||||
cmp #0 ; Is the length zero?
|
||||
beq L9 ; Jump if done
|
||||
sta tmp1
|
||||
sta tmp1
|
||||
L1: lda #$20 ; Blank - screen code
|
||||
jsr cputdirect ; Direct output
|
||||
dec tmp1
|
||||
|
@ -7,7 +7,7 @@
|
||||
.include "dir.inc"
|
||||
.include "errno.inc"
|
||||
.include "zeropage.inc"
|
||||
|
||||
|
||||
.import pushax
|
||||
.import _read
|
||||
|
||||
|
@ -5,11 +5,9 @@
|
||||
;
|
||||
|
||||
.export _gotox
|
||||
.import plot
|
||||
.import plot
|
||||
.importzp CURS_X
|
||||
|
||||
_gotox: sta CURS_X ; Set new position
|
||||
jmp plot ; And activate it
|
||||
|
||||
|
||||
|
||||
|
@ -194,5 +194,3 @@ nofile: ; ... else use SA=0 (read)
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
.export screensize
|
||||
.import SCREEN
|
||||
|
||||
|
||||
screensize = SCREEN
|
||||
|
||||
|
||||
|
@ -3,10 +3,10 @@
|
||||
;
|
||||
; OPEN kernal call.
|
||||
;
|
||||
; NOTE: The OPEN system call in the CBM610 kernal is different from the
|
||||
; NOTE: The OPEN system call in the CBM610 kernal is different from the
|
||||
; standard. It evaluates the carry flag and does a normal open if carry clear
|
||||
; and some strange things (output sa 15 + name on IEC) if carry set. To be
|
||||
; compatible with our CBM file stuff, we have to clear the carry before
|
||||
; compatible with our CBM file stuff, we have to clear the carry before
|
||||
; calling the real OPEN.
|
||||
|
||||
.export OPEN
|
||||
@ -18,5 +18,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;
|
||||
; udtim routine for the 610. We will not check for the stop key here, since
|
||||
; C programs will not use it.
|
||||
;
|
||||
;
|
||||
|
||||
.export UDTIM
|
||||
.import time: zp
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
.export screensize
|
||||
.import SCREEN
|
||||
|
||||
|
||||
screensize = SCREEN
|
||||
|
||||
|
||||
|
@ -3,10 +3,10 @@
|
||||
;
|
||||
; OPEN kernal call.
|
||||
;
|
||||
; NOTE: The OPEN system call in the CBM610 kernal is different from the
|
||||
; NOTE: The OPEN system call in the CBM610 kernal is different from the
|
||||
; standard. It evaluates the carry flag and does a normal open if carry clear
|
||||
; and some strange things (output sa 15 + name on IEC) if carry set. To be
|
||||
; compatible with our CBM file stuff, we have to clear the carry before
|
||||
; compatible with our CBM file stuff, we have to clear the carry before
|
||||
; calling the real OPEN.
|
||||
|
||||
.export OPEN
|
||||
@ -18,5 +18,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
.import sys_bank, restore_bank
|
||||
.import sysp0: zp, ktmp: zp
|
||||
|
||||
|
||||
.include "cbm610.inc"
|
||||
|
||||
.proc SETNAM
|
||||
@ -41,5 +41,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
;
|
||||
; udtim routine for the 610. We will not check for the stop key here, since
|
||||
; C programs will not use it.
|
||||
;
|
||||
;
|
||||
|
||||
.export UDTIM
|
||||
.import time: zp
|
||||
|
@ -10,7 +10,7 @@
|
||||
.import _srand
|
||||
.importzp time
|
||||
|
||||
__randomize:
|
||||
__randomize:
|
||||
ldx time+2 ; Use 50/60HZ clock
|
||||
lda time+1
|
||||
jmp _srand ; Initialize generator
|
||||
|
@ -15,5 +15,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
|
@ -15,5 +15,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
.proc CLOSE
|
||||
|
||||
|
||||
ldx PET_DETECT
|
||||
cpx #PET_4000
|
||||
bne @L1
|
||||
@ -19,4 +19,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
;
|
||||
|
||||
.export RDTIM
|
||||
|
||||
|
||||
.include "pet.inc"
|
||||
|
||||
|
||||
@ -20,4 +20,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
stx DEVNUM ; Device address
|
||||
sty SECADR ; Secondary address
|
||||
rts
|
||||
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
.proc SETNAM
|
||||
|
||||
|
||||
sta FNLEN
|
||||
stx FNADR
|
||||
sty FNADR+1
|
||||
@ -18,4 +18,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
.include "pet.inc"
|
||||
|
||||
__randomize:
|
||||
__randomize:
|
||||
ldx TIME+2
|
||||
lda TIME+1 ; Use 60HZ clock
|
||||
jmp _srand ; Initialize generator
|
||||
|
@ -55,7 +55,7 @@ uservec: jmp $FFFF ; Patched at runtime
|
||||
|
||||
|
||||
|
||||
; Break handler, called if a break occurs.
|
||||
; Break handler, called if a break occurs.
|
||||
|
||||
.proc brk_handler
|
||||
|
||||
@ -91,4 +91,3 @@ uservec: jmp $FFFF ; Patched at runtime
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
@ -167,7 +167,7 @@ loop: .repeat 8
|
||||
|
||||
; Done
|
||||
|
||||
done: rts
|
||||
done: rts
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; COPYFROM: Copy from extended into linear memory. A pointer to a structure
|
||||
@ -178,7 +178,7 @@ done: rts
|
||||
COPYFROM:
|
||||
sta ptr3
|
||||
stx ptr3+1 ; Save the passed em_copy pointer
|
||||
|
||||
|
||||
ldy #EM_COPY::OFFS
|
||||
lda (ptr3),y
|
||||
sta ptr1
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
.proc PLOT
|
||||
|
||||
bcs @L1
|
||||
bcs @L1
|
||||
jsr $FFF0 ; Set cursor position
|
||||
jmp $EAB2 ; Set pointer to color RAM
|
||||
|
||||
@ -18,4 +18,3 @@
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
@ -102,7 +102,7 @@ argloop:lda BASIC_BUF,x
|
||||
inx
|
||||
cmp term
|
||||
bne argloop
|
||||
|
||||
|
||||
; We've found the end of the argument. X points one character behind it, and
|
||||
; A contains the terminating character. To make the argument a valid C string,
|
||||
; replace the terminating character by a zero.
|
||||
|
Loading…
Reference in New Issue
Block a user