Cosmos/source2/Compiler/Cosmos.Compiler.DebugStub/Screen.xs
kudzu_cp 4dd72fc533 X#
2012-06-18 16:56:17 +00:00

21 lines
No EOL
292 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
If (ESI < $B8FA0) goto BeginLoop
}