It's not tested at this point so expect a bug or two
sta ptr3
stx ptr3+1
lda U_DATA__U_PAGE
- sta ugetpatch+2
+ sta f:KERNEL_CODE_FAR+ugetpatch+2
phb
.i16
.a16
sta ptr3
stx ptr3+1
lda U_DATA__U_PAGE
- sta uputpatch+1
+ sta f:KERNEL_CODE_FAR+uputpatch+1
phb
.i16
.a16
stx ptr2+1
lda U_DATA__U_PAGE
- sta uzero_patch+1
- sta uzero_patch+2
+ sta f:KERNEL_CODE_FAR+uzero_patch+1
+ sta f:KERNEL_CODE_FAR+uzero_patch+2
; Clear lead byte in user space
phb