search for: writechr

Displaying 16 results from an estimated 16 matches for "writechr".

Did you mean: writechar
2009 Mar 17
1
[PATCH 1/1] CORE/writedec: Fix overflow and redeclaration
From: Gene Cumm <gene.cumm at gmail.com> CORE/writedec: Fix overflow and redeclaration; If EDX is greater than or equal to 10, div can cause an overflow. Comment out declaration of writechr. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- Against current head. hpa: If there's a preferred way to do what this function provides, let me know. Was the writechr in there on purpose to prevent the use of this function? diff --git a/core/writedec.inc b/core/writedec.inc...
2015 Jul 13
2
boot... round 2
...;> Still not working with gcc5.2 rc >> >> core/fs/diskio_bios.c:395 contains pm_fs_init() which I believe is the >> first protected-mode code. >> >> void pm_fs_init(com32sys_t *regs) >> { >> static struct bios_disk_private priv; >> >> writechr('^'); >> priv.regs = regs; >> fs_init((const struct fs_ops **)regs->eax.l, (void *)&priv); >> } >> >> >> With the above, I see the caret. >> >> The call to this function in ISOLINUX is in core/isolinux.asm:1163 >> >>...
2015 Jul 03
7
boot... round 2
On Fri, Jul 3, 2015 at 12:50 AM, poma via Syslinux <syslinux at zytor.com> wrote: > - "unsigned char c;" does not solve the problem > > - "c >= 0 && c <= ' '" solves the problem for the current git Could you try the following patch? Feel free to only apply the change to readconfig.c if you want. -- -Gene diff --git
2015 Jul 13
0
boot... round 2
...syslinux at zytor.com> wrote: >> Still not working with gcc5.2 rc > > core/fs/diskio_bios.c:395 contains pm_fs_init() which I believe is the > first protected-mode code. > > void pm_fs_init(com32sys_t *regs) > { > static struct bios_disk_private priv; > > writechr('^'); > priv.regs = regs; > fs_init((const struct fs_ops **)regs->eax.l, (void *)&priv); > } > > > With the above, I see the caret. > > The call to this function in ISOLINUX is in core/isolinux.asm:1163 > > .common: > mov ecx,[Hidd...
2002 Jan 12
0
no echo patch
...old/pxelinux.asm syslinux-1.66/pxelinux.asm --- syslinux-1.66.old/pxelinux.asm Wed Jan 2 07:53:39 2002 +++ syslinux-1.66/pxelinux.asm Sat Jan 12 18:40:34 2002 @@ -1327,7 +1327,7 @@ .not_ctrl_f: cmp di,max_cmd_len+command_line ; Check there's space jnb get_char stosb ; Save it - call writechr ; Echo to screen +;Martin call writechr ; Echo to screen get_char_2: jmp short get_char not_ascii: mov byte [FuncFlag],0 cmp al,0Dh ; Enter @@ -1339,8 +1339,8 @@ backspace: cmp di,command_line ; Make sure there is anything je get_char ; to erase dec di ; Unstore one charact...
2002 Feb 26
0
syslinux timeout
...; Null-terminate command line mov si,command_line call cwritestr ; Write command line so far pop di jmp short get_char_2 auto_boot: mov si,default_cmd mov di,command_line @@ -3377,21 +3435,24 @@ pushad .top: lodsb and al,al jz .end call writechr jmp short .top .end: popad popfd ret -%ifdef debug +; BEGIN DTM ------------------------------------------------ +;%ifdef debug +%ifdef debug or writehex +; END DTM -------------------------------------------------- ; ; writehex[248]: Write a hex number...
2015 Jul 09
1
boot... round 2
Still not working with gcc5.2 rc On Thu, Jul 9, 2015, 11:08 William Kennington <william at wkennington.com> wrote: > Trying 5.2-rc now, will report back after the test case is run. > > On Thu, Jul 9, 2015, 07:23 Adam Williamson <awilliam at redhat.com> wrote: > >> On Thu, 2015-07-09 at 06:56 +0000, William Kennington wrote: >> > Does fedora have gcc5
2009 Feb 08
2
Graphic boot ...
...essed up - no kernel, no initrd, ... - User selection is really needed (decision with no defined default) So I started with the lss16 graphics, which is nice but limited to 14 clolors I continued with vesamenu background - nice - but I still see messages. I commented out few calls to writestr and writechr in the sources - no more messages or menu. The problem I have now is that before loading the kernel the graphic menu returns to text mode (blank dark screen). How can I tell the vesamenu sub-system not to return to the text mode? Any help will be appreciated, If anyone want the changes I made,...
2012 Nov 27
0
Syslinux-6.00-pre2
...39;multi_initrd2-5.00-pre9' of git://git.zytor.com/users/sha0/syslinux into elflink Merge branch 'hexdump' of git://git.zytor.com/users/sha0/syslinux into elflink Merge branch 'strerror-for-mfleming' of git://github.com/geneC/syslinux into elflink efi: Fill out writechr() implementation efi: Pass correct pointer to BS->CreateEvent() efi: Return a sensible error code to the firmware... menu: Inherit parent menu title mk: Add Makefile variable for python efi: Set the current working directory on startup ldlinux: Delete inaccura...
2011 Feb 18
1
[PATCH] core: Allow pasting from a VMware host by typing Ctrl-P
...' ; ASCII? + jb vmware_no_enter ; don't paste no non-ASCII + ja vmware_enter + cmp di,command_line ; Space must not be first + je short vmware_no_enter +vmware_enter: cmp di,max_cmd_len+command_line ; Check there's space + jnb short vmware_no_enter + stosb ; Save it + call writechr ; Echo to screen +vmware_no_enter: + shr eax,8 + dec ebx + je vmware_done + dec cx + jne vmware_paste_char + jmp vmware_get_data + +vmware_clear_buffer: + sub ebx,ecx + jle vmware_done + shr ebx,2 +vmware_clear_loop: + mov eax,VMwareMagic + mov cx,00007h ; Get clipboard data + mov d...
2008 Aug 31
1
[RFC][PATCH] ui: label completion on tab key
...ck + ; ESI updated on return + + sub di,cx ; Return to beginning of buf + pop cx ; restore command line size + push si ; save SI + cmp cx,0 + jz .print + push di + push cx + mov si,command_line + es repe cmpsb + pop cx + pop di + jne .next +.print: + mov al,' ' + call writechr + + mov si,di + call writestr +.next: + pop si ; restore SI + jmp .scan +.not_vk: + call crlf + jmp enter_command + ctrl_f: xor ah,ah mov [FuncFlag],ah Index: syslinux-3.71-27-g3d39943/core/keywords =================================================================== --- syslinux-3.7...
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
...info *fp, const void *buf, size_t count) { - com32sys_t ireg; const char *bufp = buf; size_t n = 0; (void)fp; - memset(&ireg, 0, sizeof ireg); - ireg.eax.b[1] = 0x02; - while (count--) { - ireg.edx.b[0] = *bufp++; - __intcall(0x21, &ireg, NULL); + writechr(*bufp++); n++; } diff --git a/com32/lib/sys/serial_write.c b/com32/lib/sys/serial_write.c index fa0f4f4..3f949fb 100644 --- a/com32/lib/sys/serial_write.c +++ b/com32/lib/sys/serial_write.c @@ -34,13 +34,13 @@ #include <errno.h> #include <string.h> #include <com32.h> +...
2010 Jul 15
1
Accessing command_line from core C code
...ck - ; ESI updated on return - - sub di,cx ; Return to beginning of buf - pop cx ; restore command line size - push si ; save SI - cmp cx,0 - jz .print push di - push cx - mov si,command_line - es repe cmpsb - pop cx - pop di - jne .next -.print: - mov al,' ' - call writechr - - mov si,di - call writestr -.next: - pop si ; restore SI - jmp .scan -.not_vk: - call crlf + pm_call pm_display_labels jmp fk_wrcmd ctrl_f: This is the output: boot: command_line: justtesting kernelwithmenu linux local0 a b c d e f g h boot: k command_line: k kernelwithmenu k...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...Include write_serial() prototype meminfo: If we allocate with lmalloc() we should free with lfree() localboot: Include header files for function prototypes init: Fix up compiler warnings hello: Delete unused variable 'console_init' writestr: Include core.h for writechr() prototype font: Cast away compiler warning graphics: Fix GXPix* assignment conio: Fix up compiler warnings elflink: Delete obsolete constructor code elflink: Allocate space for 'realname' fs: Include header for close() prototype fs: Include unistd...
2013 Jun 20
9
Syslinux 6.00 released
...et and don't installer wrapper Makefile: Change default object directory Makefile.private: Update for new per-firmware object directories Makefile: Every invocation of make needs access to syslinux.mk Makefile: Add upload targets to $(private-targets) efi: Fill out writechr() implementation efi: Pass correct pointer to BS->CreateEvent() efi: Return a sensible error code to the firmware... efi: Set the current working directory on startup Merge tag 'syslinux-5.00-pre10' into for-hpa/elflink/firmware Makefile: Move Makefile.priva...