Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CLS/Fade out ASM Sub-routine
#2
Good one!
No, it won't break anything (only IX should be preserved (push/pop) before the function returns).
Also, it's recommended to make your labels private. To do so:
Wrap your ASM routine between
Code:
PROC
...
ENDP
directives.
Declare your labels locals after PROC, with:
LOCAL NXTFADE, NXT
:-)

If your code is BSD / MIT / Apache I can put it in the standard library for other people to use it.
---
Boriel
Reply


Messages In This Thread
CLS/Fade out ASM Sub-routine - by tubz74 - 2025-10-05, 02:37 PM
RE: CLS/Fade out ASM Sub-routine - by boriel - 2025-10-05, 02:42 PM
RE: CLS/Fade out ASM Sub-routine - by tubz74 - 2025-10-05, 03:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)