Skip to content

Commit

Permalink
updates to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mooinglemur committed Mar 6, 2024
1 parent 70e22f0 commit ac769bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions inc/jsrfar.inc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jsrfar1n:
pla
plp ; original register widths popped immediately before call
jsr jmpfr
php
php ; preserve flags immediately after return from call
sep #$20 ; 8 bit accumulator
.A8
.I16
Expand All @@ -140,7 +140,7 @@ jsrfar1n:
lda $02,S ; overwrite reserved byte
sta $03,S ; with copy of .P
pla
plp
plp ; restore flags to state immediately after call
plp
rts

Expand Down
4 changes: 2 additions & 2 deletions kernal/drivers/x16/memory.s
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ __jmpfr:
.A16
.I16
pla
plp ; restore register widths immediately before call
plp ; restore all flags immediately before call
jsr jmpfr
php
pha
Expand All @@ -302,7 +302,7 @@ __jmpfr:
sta $03,S ;...with copy of .P
pla
plp ; restore flags from state immediately after call
plp ; including register widths
plp
rts

.popcpu
Expand Down

0 comments on commit ac769bb

Please sign in to comment.