Created
June 27, 2024 20:36
-
-
Save gnacu/27d23695dfb84c1016438cf9127dff45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thisdirt #setflag this,dflags,df_dirty | |
rts | |
chkdirt lda tkenv+te_flags | |
and #tf_dirty | |
bne mkdirt+8 | |
sec ;not dirty | |
rts | |
mkdirt lda tkenv+te_flags | |
ora #tf_dirty | |
sta tkenv+te_flags | |
ldx scrlayer+slindx | |
jsr markredraw | |
clc ;dirty | |
rts | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment