From 0621247e5499ac2d55a710b61a5df16e2492bd10 Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Sat, 26 Oct 2013 17:05:41 +0200 Subject: [PATCH] Wipe out the screen before loading C++ --- src/commands.asm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands.asm b/src/commands.asm index faed5b7e..d23e019a 100644 --- a/src/commands.asm +++ b/src/commands.asm @@ -565,6 +565,12 @@ date_command: ret load_command: + ; Fill the entire screen with black + mov rdi, TRAM + mov rcx, 0x14 * 25 + mov rax, 0x0720072007200720 + rep stosq + call 0x5000 call clear_command