Cosmos/source2/Compiler/Cosmos.Compiler.DebugStub/Screen.xs
kudzu_cp 96bb89aaf5 X#
2012-06-18 15:28:54 +00:00

23 lines
No EOL
330 B
Text

Group DebugStub
procedure Cls {
# VidBase
ESI = $B8000
BeginLoop:
# Text
AL = $00
ESI[0] = AL
ESI + 1
# Colour
AL = $0A
ESI[0] = AL
ESI + 1
# End of Video Area
# VidBase + 25 * 80 * 2 = B8FA0
#ESI ? $B8FA0
#if < goto BeginLoop
If (ESI < $B8FA0) goto BeginLoop
}