get drive geometry
This commit is contained in:
1 parent
fb6cc7a3be
commit
629fc3e826
3 files changed
+61
-24
No files matched your search
@@ -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!"
|
||||
|
||||
Reference in new issue
Block a user