Terminal control/Clear the screen: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→Neo Geo MVS) |
||
Line 101: | Line 101: | ||
=={{header|68000 Assembly}}== |
=={{header|68000 Assembly}}== |
||
===Neo Geo MVS=== |
===Neo Geo MVS=== |
||
The following will clear all hardware sprites from video memory as well as the "FIX Layer" (a simple tilemap intended for text). |
The following will clear all hardware sprites from video memory as well as the "FIX Layer" (a simple tilemap intended for text). Since all of the NEO GEO's graphics are either FIX layer tiles or hardware sprites, this will clear the screen in its entirety. The only thing left will be the background color. |
||
⚫ | |||
The registers <code>D0</code>, <code>D1</code>, and <code>A0</code> will be clobbered after returning, so keep that in mind. |
|||
JSR $C004C8</lang> |
|||
⚫ | |||
JSR $C004C8 ;clear hardware sprites</lang> |
|||
===Sega Genesis=== |
===Sega Genesis=== |