Fix some commonly made spelling errors in comments.

This commit is contained in:
Jeff Tranter
2022-02-21 15:44:31 -05:00
committed by mrdudz
parent cac1e26372
commit ba13ba32a1
42 changed files with 62 additions and 62 deletions

View File

@@ -129,7 +129,7 @@ setbuf: lda #$00 ; Low byte
.assert MLI::OPEN::PATHNAME = MLI::INFO::PATHNAME, error
; Lower file level to avoid program file
; being closed by C libary shutdown code
; being closed by C library shutdown code
ldx LEVEL
stx level
beq :+
@@ -185,13 +185,13 @@ setbuf: lda #$00 ; Low byte
lda #$00 ; '\0'
beq :- ; Branch always
; Call loader stub after C libary shutdown
; Call loader stub after C library shutdown
: lda #<target
ldx #>target
sta done+1
stx done+2
; Initiate C libary shutdown
; Initiate C library shutdown
jmp _exit
.bss

View File

@@ -72,7 +72,7 @@ reu_params: .word $0000 ; Host address, lo, hi
.byte $00 ; Expansion bank no.
.word $0000 ; # bytes to move, lo, hi
.byte $00 ; Interrupt mask reg.
.byte $00 ; Adress control reg.
.byte $00 ; Address control reg.
.code

View File

@@ -73,7 +73,7 @@ reu_params: .word $0000 ; Host address, lo, hi
.byte $00 ; Expansion bank no.
.word $0000 ; # bytes to move, lo, hi
.byte $00 ; Interrupt mask reg.
.byte $00 ; Adress control reg.
.byte $00 ; Address control reg.
.code

View File

@@ -130,7 +130,7 @@ dowrite:
beq notrunc
jsr scratch
; Complete the the file name. Check for append mode here.
; Complete the file name. Check for append mode here.
notrunc:
lda tmp3 ; Get the mode again
@@ -168,7 +168,7 @@ nofile: ; ... else use SA=0 (read)
jsr OPEN
bcs oserror
; Open the the drive command channel and read it
; Open the drive command channel and read it
ldx fnunit
jsr opencmdchannel

View File

@@ -31,7 +31,7 @@ FILE* __fastcall__ freopen (const char* name, const char* mode, FILE* f)
** overwritten by _fopen.
*/
if (close (f->f_fd) < 0) {
/* An error occured, errno is already set */
/* An error occurred, errno is already set */
return 0;
}

View File

@@ -19,7 +19,7 @@ specval:
; Common subroutine to pop the parameters and put them into core
;
dopop: sta tmp1 ; will loose high byte
dopop: sta tmp1 ; will lose high byte
ldy #0
lda (sp),y
sta ptr2

View File

@@ -18,7 +18,7 @@
; Common subroutine to pop the parameters and put them into core
;
dopop: sta tmp1 ; will loose high byte
dopop: sta tmp1 ; will lose high byte
jsr popax ; get s to ptr2
sta ptr2
stx ptr2+1

View File

@@ -58,7 +58,7 @@ DbgBreak:
.res 256
DbgStack:
; Swap space for the the C temporaries
; Swap space for the C temporaries
CTemp:
_DbgCS: .res 2 ; sp

View File

@@ -24,7 +24,7 @@ gotoxy: jsr popa ; Get Y
jsr popa
sta SCRX
; Update adress video ram position when SCRY is modified (update_adscr)
; Update address video ram position when SCRY is modified (update_adscr)
; Fall through
.endproc

View File

@@ -379,7 +379,7 @@ out:
tya
tax
lda ptr3 ; XSCHAR needs in A and Y the adress of the string
lda ptr3 ; XSCHAR needs in A and Y the address of the string
ldy ptr3+1
BRK_TELEMON(XSCHAR)
rts

View File

@@ -372,7 +372,7 @@ out:
tya
tax
lda ptr3 ; XSCHAR needs in A and Y the adress of the string
lda ptr3 ; XSCHAR needs in A and Y the address of the string
ldy ptr3+1
BRK_TELEMON(XSCHAR)
rts

View File

@@ -159,7 +159,7 @@ tgi_clip_sign: .res 1
;----------------------------------------------------------------------------
; Multiplicate value in y/a by dy, then divide by dx.
; Multiply value in y/a by dy, then divide by dx.
;
.code
@@ -176,7 +176,7 @@ tgi_clip_sign: .res 1
lda tgi_clip_dy
ldx tgi_clip_dy+1 ; rhs
jsr umul16x16r32 ; Multiplicate
jsr umul16x16r32 ; Multiply
; Move the result of the multiplication into ptr1:ptr2
@@ -199,7 +199,7 @@ done: bit tmp1
;----------------------------------------------------------------------------
; Multiplicate value in y/a by dx, then divide by dy.
; Multiply value in y/a by dx, then divide by dy.
;
.code
@@ -216,7 +216,7 @@ done: bit tmp1
lda tgi_clip_dx
ldx tgi_clip_dx+1 ; rhs
jsr umul16x16r32 ; Multiplicate
jsr umul16x16r32 ; Multiply
; Move the result of the multiplication into ptr1:ptr2

View File

@@ -33,7 +33,7 @@ _tgi_imulround:
; ASM callable entry point
tgi_imulround:
; Multiplicate
; Multiply
jsr imul16x16r32

View File

@@ -79,9 +79,9 @@ GetProcessedCoord:
jsr GetOp
; Multiplicate with the scale factor.
; Multiply with the scale factor.
jmp tgi_imulround ; Multiplicate, round and scale
jmp tgi_imulround ; Multiply, round and scale
;----------------------------------------------------------------------------
; Add the base coordinate with offset in Y to the value in A/X
@@ -133,7 +133,7 @@ GetProcessedCoord:
.code
.proc _tgi_vectorchar
; Multiplicate the char value by two and save into Y
; Multiply the char value by two and save into Y
asl a
tay