Tiny code shortening tweaks.

This commit is contained in:
mycroft 1994-01-11 14:01:15 +00:00
parent 5e0b965829
commit 497b6ddc04
1 changed files with 2 additions and 3 deletions

View File

@ -254,7 +254,6 @@ ENTRY(get_diskinfo)
* documentation, although we only need head and sector counts.
*/
subb %ah, %ah # %ax = 0
movb %al, %al
movb %ah, %bh # %bh = 0
movb $2, %bl # %bl bits 0-3 = drive type, 2 = 1.2M
movb $79, %ch # max track
@ -301,9 +300,9 @@ ENTRY(memsize)
call EXT(prot_to_real) # enter real mode
cmpb $0x1, %bl
testb %bl, %bl
data32
je xext
jnz xext
sti
int $0x12