Displaying 8 results from an estimated 8 matches for "pollchar".
2008 Jun 24
2
Debugging
...edf001c in ?? ()
#3 0x001ef000 in ?? ()
#4 0x003e001e in ?? ()
#5 0x7b66001e in ?? ()
#6 0x7b654c5c in ?? ()
#7 0x00007b64 in __stack_start ()
#8 0x11a8f000 in ?? ()
#9 0x00000000 in ?? ()
Now that doesn't buy me much...
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
pollchar () at conio.inc:289
289 mov dx,[SerialPort]
1: x/10i $cs * 16 + $eip
0x97e2 <pollchar+8>: mov 11242,%dx
0x97e6 <pollchar+12>: and %dx,%dx
0x97e8 <pollchar+14>: je 0x9801 <pollchar.done>
0x97ea <pollchar+16>: add $0x5,%dx
0x97ed <pollchar+19>: in...
2009 Aug 10
2
PROMPT=0/ESCAPE key SERIAL fun
...0:31:19.868015273 +0100
@@ -48,6 +48,16 @@
;
; Check whether or not we are supposed to display the boot prompt.
;
+check_for_key_serial:
+ mov dx,[SerialPort] ; No serial port -> no input
+ and dx,dx
+ jz check_for_key
+; call pollchar
+; jz check_for_key
+ call reset_idle
+ call getchar
+ cmp al,1Bh ; <ESC>
+ je enter_command
check_for_key:
test byte [KbdFlags],5Bh ; Shift Alt Caps Scroll
jnz en...
2002 Feb 26
0
syslinux timeout
...c cx ; The first loop will happen
; immediately as we don't
; know the appropriate DX value
time_loop: push cx
+ ; DTM BEGIN ------------------------------------------------
+ push cx
+ ; DTM END --------------------------------------------------
tick_loop: push dx
call pollchar
jnz get_char_pop
xor ax,ax
int 1Ah ; Get time "of day"
pop ax
cmp dx,ax ; Has the timer advanced?
je tick_loop
+
+ ; DTM BEGIN -------------------------------------------------
+ cmp [ShowTimeOut], word 0
+ jne .showtimeout
+ pop ax ; extract saved cx
+ jmp...
2004 Jun 21
3
keyboard input under a vm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is there any reason why the keyboard poll routine (int 16h) in conio.inc checks fro a serial port.
when pxelinux.0 is run under a vm - the keyboard does not register.
which makes menus useless.
Also the timer is broken.
- --
regs MR E_T
_______________________
\ \
\ OOHH I hate TYPOS \
\ \
2013 Jul 04
0
Syslinux 6.01 released
...linux into elflink
PXELINUX: implement our own version of local_boot16
bios, font: zero input registers to get font
ldlinux: fix INCLUDE regression
com32: Catch up with GCC changes to ctor/dtor funcs
Merge tag 'syslinux-5.11-pre3' into firmware
conio: Fix pollchar() for serial console
efi: update derivative info on boot
efi: only read ADV when booting from disk
firmware: s/set_mode/text_mode/
efi: workaround upstream gnu-efi compiler warnings
efi: use unsigned long to represent addresses
Merge tag 'syslinux-5.11-pre4...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...- free(vesa);
+ lfree(vesa);
return;
}
-int main(int argc, char **argv)
+int main(int argc __unused, char **argv __unused)
{
print_modes();
return 0;
diff --git a/core/conio.c b/core/conio.c
index 70dd3b1..dd18ecf 100644
--- a/core/conio.c
+++ b/core/conio.c
@@ -252,7 +252,7 @@ int pollchar(void)
return data;
}
-int pm_pollchar(com32sys_t *regs)
+void pm_pollchar(com32sys_t *regs)
{
if (pollchar())
regs->eflags.l &= ~EFLAGS_ZF;
@@ -288,7 +288,7 @@ char getchar(char *hi)
sti(); /* We already know we'll consume data */
data = *SerialTail++;
- SerialT...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com>
Since we can't use __intcall() for EFI, and since we can now have the
ELF module code resolve all our symbols at runtime, we should delete
as many references to __intcall() as possible and just access the
symbols directly.
The most interesting patch is the support for weak symbols. We need to
be able to reference derivative-specific
2012 Aug 14
1
[GIT PULL] elflink fixes
...key = false;
(void)fp;
- memset(&ireg, 0, sizeof ireg);
-
while (n < count) {
+ if (hi_key) {
+ *bufp++ = hi;
+ n++;
+ hi_key = false;
+ continue;
+ }
+
/* Poll */
- ireg.eax.b[1] = 0x0B;
- __intcall(0x21, &ireg, &oreg);
- if (!oreg.eax.b[0])
+ if (!pollchar())
break;
/* We have data, go get it */
- ireg.eax.b[1] = 0x08;
- __intcall(0x21, &ireg, &oreg);
- *bufp++ = oreg.eax.b[0];
+ *bufp = getchar(&hi);
+ if (!*bufp)
+ hi_key = true;
+
+ bufp++;
n++;
}
diff --git a/com32/lib/sys/rawcon_write.c b/com32/lib/sys/rawcon_writ...