get drive geometry

This commit is contained in:
pantonshire committed 2024-06-29 16:45:58 +01:00
1 parent fb6cc7a3be
commit 629fc3e826
3 files changed
+61 -24

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
org 0x7c00
bits 16
; Reveal the true nature of jen
xor bx, bx
mov ax, 17
loop:
cmp bx, ax
jae done
lea si, [womble + bx]
mov dh, [si]
mov di, bx
shl di, 1
mov byte fs:[di], dh
mov byte fs:[di + 0x01], 0x1f
inc bx
jmp loop
done:
hlt
womble:
db "jen is a womble!"