SCC Monitor API & Register preservation

34 views
Skip to first unread message

Jon Jones

unread,
Dec 14, 2025, 1:37:11 PM (4 days ago) Dec 14
to retro-comp
When calling into an SCC API, what registers (if any) are guaranteed to be preserved during the API call?

Jon.

Steve Cousins

unread,
Dec 14, 2025, 3:14:14 PM (4 days ago) Dec 14
to retro-comp
From the SCM User Guide:

"Unless otherwise stated, calling any of these functions may result in registers AF, BC, DE and HL being modified and therefore they may not contain the same value after the function call as they did before the call. Registers IX IY I AF' BC' DE' HL' are not modified (unless otherwise stated)."

Steve


Reply all
Reply to author
Forward
0 new messages