Created
November 27, 2024 21:47
-
-
Save gnacu/952398196f52ac252258527ee05c9586 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
unldcsum ;--- Unload checksum.lib --- | |
.block | |
lda chloaded | |
beq done ;Not loaded | |
ldx #"c" ;checksum.lib | |
ldy #"h" | |
lda #slunload ;Unload flag | |
jsr unldlib | |
dec chloaded ;Mark as unloaded | |
clc ;Indicates a resources was potentially freed | |
rts | |
done sec ;Indicates nothing was freed | |
rts | |
.bend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment