Fixed many comments

This commit is contained in:
Stefan A. Haubenthal
2025-03-24 20:52:55 +01:00
parent 9f5a195dc2
commit 774e275965
50 changed files with 84 additions and 85 deletions

View File

@@ -7,7 +7,7 @@
;
; See "LICENSE" file for legal information.
;
; Character specification table, matching serveral consoles.
; Character specification table, matching several consoles.
;
.include "ctypetable.inc"

View File

@@ -423,10 +423,10 @@ finish_calc:
jsr tosaddeax ; Simple addition there
; No need to store/load/push the counter here, simply to push it
; for the last substraction
; for the last subtraction
jsr pusheax
; Substract timezone
; Subtract timezone
lda __tz+1+3
sta sreg+1
lda __tz+1+2

View File

@@ -110,7 +110,7 @@ _realloc:
tya ; Put ___heapptr back in A
sec ; Check if we have enough memory at heap top
sbc oldsize ; Substract oldsize
sbc oldsize ; Subtract oldsize
sta newblock
lda ___heapptr+1
sbc oldsize+1

View File

@@ -2,7 +2,7 @@
; Ullrich von Bassewitz, 31.05.1998
;
; Note: strspn & strcspn call internally this function and rely on
; the usage of only ptr4 here! Keep in mind when appling changes
; the usage of only ptr4 here! Keep in mind when applying changes
; and check the other implementations too!
;
; size_t __fastcall__ strlen (const char* s);

View File

@@ -30,7 +30,7 @@ _vsprintf:
ldy #2
jsr staxysp
; Contine by jumping to vsnprintf, which expects ap on the CPU stack and will
; Continue by jumping to vsnprintf, which expects ap on the CPU stack and will
; cleanup the C stack
jmp vsnprintf