diff --git a/sys/boot/pc98/kgzldr/crt.s b/sys/boot/pc98/kgzldr/crt.s index 466ec297cbfd..31ffce4e240c 100644 --- a/sys/boot/pc98/kgzldr/crt.s +++ b/sys/boot/pc98/kgzldr/crt.s @@ -72,14 +72,14 @@ crt_putchr.1: cmpb $0xa,%al # New line? addl $0x2000,%ecx movb %ah,(%edi,%ecx,1) # Write attr addw $0x02,%dx - jmp putchr.3 -putchr.2: movw %dx,%ax + jmp crt_putchr.3 +crt_putchr.2: movw %dx,%ax movb $SCR_COL*2,%dl div %dl incb %al mul %dl movw %ax,%dx -putchr.3: cmpw $SCR_ROW*SCR_COL*2,%dx +crt_putchr.3: cmpw $SCR_ROW*SCR_COL*2,%dx .else xchgl %eax,%ecx # Save char movb $SCR_COL,%al # Columns per row