Skip to content

optimized ix_save in libload start#707

Closed
ZERICO2005 wants to merge 1 commit intomasterfrom
opt_libload_ix_save
Closed

optimized ix_save in libload start#707
ZERICO2005 wants to merge 1 commit intomasterfrom
opt_libload_ix_save

Conversation

@ZERICO2005
Copy link
Contributor

ix is not modified prior to libload start, so ld (ix_save), ix can be deferred

jr z, start
ld a, (flag_save)
ld (iy + LIB_FLAGS), a ; restore flag bits
ld ix, (ix_save) ; restore IX register
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed since ix is not modified

@ZERICO2005 ZERICO2005 marked this pull request as ready for review February 11, 2026 17:58
@mateoconlechuga
Copy link
Contributor

No, stop doing this - we do not trust code that we do not control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants