Reverted the delay logic.

This commit is contained in:
Joel Sherrill
1999-12-21 20:29:57 +00:00
parent ed46b47fab
commit 2116e33c8e

View File

@@ -64,22 +64,22 @@ BEGIN_CODE
| are going to call this function only a few times | are going to call this function only a few times
+----------------------------------------------------------------------------*/ +----------------------------------------------------------------------------*/
#define DELAY_USE_OUTB
.p2align 4 .p2align 4
.globl _delay .globl _delay
.globl delay .globl delay
delay: delay:
_delay: _delay:
/* #ifdef DELAY_USE_OUTB
outb %al, $0xED # about 1uS delay on most machines outb al, $0x80 # about 1uS delay on most machines
*/ #else
/* movl $0x200, eax
movl $0x200, %eax
delay1: delay1:
dec %eax dec eax
jnz delay1 jnz delay1
ret ret
#endif
/*-------------------------------------------------------------------------+ /*-------------------------------------------------------------------------+
| Function: _load_segments | Function: _load_segments