search for: myputchar

Displaying 5 results from an estimated 5 matches for "myputchar".

2009 May 25
4
Crash with core32 (syslinux-3.81-pre12-68-g4a211f6)
I got a qemu crash and errors reported in bochs while trying to get latest core32 branch working (pxelinux): qemu: fatal: Trying to execute code outside RAM or ROM at 0xe6e8aa07 EAX=6e0c7811 EBX=000034b3 ECX=ca68b338 EDX=00000048 ESI=750e3fff EDI=00000020 EBP=d07e4988 ESP=00102324 EIP=e6e8aa07 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0028 00000000 ffffffff 00cf9300 CS =0020
2013 Sep 12
10
[PATCH] xen/build: Remove hacked up version of figlet
...- at the end of the string. The string is left-justified, centered or - right-justified (taking outputwidth as the screen width) if - justification is 0, 1 or 2, respectively. - -****************************************************************************/ - -static int nr_chars=0; -static void myputchar(unsigned char c) -{ - static int startline = 1; - - if ( startline ) - { - startline = 0; - myputchar('' ''); - } - - putc(c, stderr); - - if ( nr_chars == 18 ) - { - nr_chars = 0; - putchar(''"''); - putc...
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
...len equ ($-feature_flags) diff --git a/core/console.c b/core/console.c index 282c57f..3b545bb 100644 --- a/core/console.c +++ b/core/console.c @@ -1,18 +1,15 @@ #include <stddef.h> #include <com32.h> +#include <core.h> #include <stdio.h> #include <string.h> void myputchar(int c) { - static com32sys_t ireg; - if (c == '\n') myputchar('\r'); - ireg.eax.b[1] = 0x02; - ireg.edx.b[0] = c; - __intcall(0x21, &ireg, NULL); + writechr(c); } void myputs(const char *str) diff --git a/core/diskfs.inc b/core/diskfs.inc index 02382...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...+ outputvga((uint32_t *)VGAPlaneBuffer, + MK_PTR(0x0A000, VGAPos)); VGAPos += 640/8; } } diff --git a/core/hello.c b/core/hello.c index 45bdf57..5b22478 100644 --- a/core/hello.c +++ b/core/hello.c @@ -7,8 +7,6 @@ #include <console.h> -static int console_init = 0; - void myputchar(int c) { static com32sys_t ireg; diff --git a/core/include/bios.h b/core/include/bios.h index 3c49cf2..2b4b029 100644 --- a/core/include/bios.h +++ b/core/include/bios.h @@ -73,8 +73,6 @@ extern union screen _screensize; #define VidCols _screensize.b.col #define VidRows _screensize.b.row...