SYSTEM ONLINE *** WELCOME, TRAVELER *** 38911 BASIC BYTES FREE

Small source review: clear the screen routine

1 replies · opened 6 HR ago

ORIGINAL TRANSMISSION
I put a 24-line assembly routine in my profile notes. It clears screen RAM and color RAM, works on PAL and NTSC, and is probably less tidy than it should be.

Looking specifically for clobbered-register surprises, not a total rewrite.
REPLY #1
First pass: document A, X, Y, and flags at the entry. The loop itself is plain; the caller contract is the part I cannot infer.

Want to add to this transmission?

SIGN IN TO REPLY →