Skip to content

Commit

Permalink
bootman: Fix warnings
Browse files Browse the repository at this point in the history
warning: label alone on a line without a colon might be in error

Doesn't change the produced binary.
  • Loading branch information
mmuman committed Oct 29, 2014
1 parent 74a1496 commit 7c5dfba
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/apps/bootmanager/bootman.S
Expand Up @@ -204,7 +204,7 @@ cursorPosition equ cursorX
push dx
xor bh, bh ; write on page 0
jmp .loop_condition
.loop
.loop:
mov dx, [bp + cursorPosition]
mov ah, SET_CURSOR
int BIOS_VIDEO_SERVICES
Expand All @@ -214,7 +214,7 @@ cursorPosition equ cursorX
mov cx, 1
mov ah, WRITE_CHAR
int BIOS_VIDEO_SERVICES
.loop_condition
.loop_condition:
lodsb
cmp al, 0
jnz .loop
Expand Down Expand Up @@ -342,9 +342,9 @@ kStage1UnusedSpace equ 440 - ($-$$)

kDiskSignature:
dw 0, 0
kReserved
kReserved:
dw 0
kPartitionTable
kPartitionTable:
times 64 db 0

kMBRSignature:
Expand Down Expand Up @@ -506,7 +506,7 @@ updateMarker:
cmp cx, [bp + selection]
je .print
mov al, ' ' ; Clear marker
.print
.print:
mov bl, WHITE
jmp printChar ; return from subroutine

Expand All @@ -523,7 +523,7 @@ bootSelectedPartition:

mov di, bootSectorDAP+AddressPacket.offset ; Copy start sector
mov cx, 4 ; It is stored in a quad word
.copy_start_sector
.copy_start_sector:
lodsw
stosw
loop .copy_start_sector
Expand Down

0 comments on commit 7c5dfba

Please sign in to comment.