Fixed to conflict labels.
Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
This commit is contained in:
parent
9b96eed728
commit
93bb160832
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user