summaryrefslogtreecommitdiff
path: root/boot.asm
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2017-12-03 11:46:50 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2017-12-03 11:46:50 -0500
commit0b726e795762abe2a909eca2300957329718ec2c (patch)
tree16d882bc7a0e9f2d53d836a3338d1f9cd20e629c /boot.asm
parent457605b4041736795d8da9179778dac81d44affb (diff)
downloadminos-0b726e795762abe2a909eca2300957329718ec2c.tar.gz
Save word, rather than byte
Diffstat (limited to 'boot.asm')
-rw-r--r--boot.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.asm b/boot.asm
index 2a2eada..816ef16 100644
--- a/boot.asm
+++ b/boot.asm
@@ -13,7 +13,7 @@ start:
mov ss, ax ; set stack segment
mov sp, 0200h ; 512 byte stack
- mov [drive0], dl ; save first detected drive
+ mov [drive0], dx ; save first detected drive
push banner ;
call puts ; print version