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

@@ -12,7 +12,7 @@
;
; 2. Reentrancy. The condes routines must use self modyfiying code, which
; means it is not reentrant. An IRQ using condes, that interrupts
; another use of condes will cause unpredicatble behaviour. The current
; another use of condes will cause unpredictable behaviour. The current
; code avoids this by using locking mechanisms, but it's complex and
; has a size and performance penalty.
;

View File

@@ -39,7 +39,7 @@ poplsargs:
adc #$00
sta sreg+1
L1: lda ptr4+1 ; Is the right operand nagative?
L1: lda ptr4+1 ; Is the right operand negative?
sta tmp2 ; Remember the sign for later
bpl L2 ; Jump if not

View File

@@ -22,7 +22,7 @@ tosudiv0ax:
.endif
tosudiveax:
jsr getlop ; Get the paramameters
jsr getlop ; Get the parameters
jsr udiv32 ; Do the division
lda ptr1 ; Result is in ptr1:sreg
ldx ptr1+1

View File

@@ -22,7 +22,7 @@ tosumod0ax:
.endif
tosumodeax:
jsr getlop ; Get the paramameters
jsr getlop ; Get the parameters
jsr udiv32 ; Do the division
lda tmp3 ; Remainder is in ptr2:tmp3:tmp4
sta sreg