about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-20 20:38:29 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-20 20:38:29 -0800
commit3f6bb8a0cab3b1f9a9bad21c75fdba95227d0c2c (patch)
tree466636eaa770feba3faef013bcc6e99269747a5c
parentd5a9a924525b130ff39ca483ac9a462397e6bddf (diff)
downloadmu-3f6bb8a0cab3b1f9a9bad21c75fdba95227d0c2c.tar.gz
7362
I hadn't noticed that bochs was getting into a reset loop after executing
my code correctly. Fix that.
-rw-r--r--apps/bos/32bit.hex4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/bos/32bit.hex b/apps/bos/32bit.hex
index 8b396fcd..e05ebf0a 100644
--- a/apps/bos/32bit.hex
+++ b/apps/bos/32bit.hex
@@ -94,10 +94,10 @@ c7  # opcode
   0f  # white on black
   00 00
 
-e9 fd ff  # loop forever
+e9 fb ff ff ff  # loop forever
 
 # more padding to 512 bytes
-                                       00 00 00
+                                             00
 # 80:
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00