From e7c0caafaf9e62fe62b93582c4e0e3a5723bc30b Mon Sep 17 00:00:00 2001 From: Ry Date: Sun, 17 Apr 2022 14:34:49 -0700 Subject: [PATCH] fox32rom: Remove all disks on reset --- main.asm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main.asm b/main.asm index eb4cd27..7ff1dee 100644 --- a/main.asm +++ b/main.asm @@ -24,6 +24,16 @@ disable_all_overlays_loop: inc r0 loop disable_all_overlays_loop + ; remove all disks + mov r0, 0x80005000 + out r0, 0 + inc r0 + out r0, 0 + inc r0 + out r0, 0 + inc r0 + out r0, 0 + ; write the cursor bitmap to the overlay framebuffer mov r0, [overlay_31_framebuffer_ptr] mov r1, mouse_cursor