Displaying 20 results from an estimated 37 matches for "conio".
Did you mean:
cnio
2009 Jan 01
1
wineg++ and conio.h problem
Here is a sample code:
Code:
#include <iostream>
#include <cstdlib>
#include <wine/msvcrt/conio.h>
int main()
{
std::cout << "Press something...\n";
getch();
return EXIT_SUCCESS;
}
and here is the compile log: (two things are translated from polish so may differ a bit but meaning is the same)
Code:
szczerb at nomad ~/projekty/wine/temp $ make
wineg++ -c -o main...
2011 Feb 18
1
[PATCH] core: Honor DISPLAY text background color when in VGA mode
...ed
background color, followed by XORing in the character to be
displayed, using a color which is the XOR of the foreground
and background colors.
This depends on the existence of an all-pixels-set character
at font position 0xDB.
Signed-off-by: Jeffrey Hutzelman <jhutz at cmu.edu>
---
core/conio.inc | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/core/conio.inc b/core/conio.inc
index b450502..0784e65 100644
--- a/core/conio.inc
+++ b/core/conio.inc
@@ -100,9 +100,25 @@ msg_normal: call write_serial_displaymask ; Write to serial port
jz msg_ignore...
2006 Mar 20
1
can't compil
...error: short jump is out of range
runkernel.inc:334: error: short jump is out of range
runkernel.inc:557: error: short jump is out of range
isolinux.asm:1001: error: short jump is out of range
isolinux.asm:1010: error: short jump is out of range
isolinux.asm:1017: error: short jump is out of range
conio.inc:101: error: short jump is out of range
conio.inc:105: error: short jump is out of range
conio.inc:107: error: short jump is out of range
conio.inc:110: error: short jump is out of range
graphics.inc:47: error: short jump is out of range
highmem.inc:41: error: short jump is out of range
isolinux...
2006 Jun 27
1
Build on Linux / Messages nasm error: short jump is out of range
...error: short jump is out of range
pxelinux.asm:2126: error: short jump is out of range
pxelinux.asm:2130: error: short jump is out of range
pxelinux.asm:2134: error: short jump is out of range
pxelinux.asm:2142: error: short jump is out of range
pxelinux.asm:2145: error: short jump is out of range
conio.inc:101: error: short jump is out of range
conio.inc:105: error: short jump is out of range
conio.inc:107: error: short jump is out of range
conio.inc:110: error: short jump is out of range
dnsresolv.inc:281: error: short jump is out of range
dnsresolv.inc:283: error: short jump is out of range
dns...
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 \
\ \
~~~~~~~~~~~~~~~~~...
2004 Dec 03
3
libcom32 license and linking
Peter-
Can you please clarify the license of libcom32, from
the samples directory in syslinux? I am attempting to
create .c32 files that are not encumbered by the GPL,
but the conio.c file states that is is covered by the
GPL. So far, I have resisted linking with libcom32.a,
but is it really your intent to license the library
code under GPL, and not something more like the LGPL?
Additionally, the Makefile in the samples directory
also has a GPL header, suggesting that any...
2002 Oct 16
5
kbdmap & ASCII > 128
Hi,
I've just played around with kbdmap in pxelinux. I always wondered why there was no
translation for "AltGr"-Keys (the right 'Alt'-Key) (AltGr-Q generates "@" on a german
keyboard e.g.), and I found in conio.inc (syslinux 1.76):
getchar:
[..]
.kbd: xor ax,ax ; Get keyboard input
int 16h
and al,al
jz .func_key
mov bx,KbdMap ; Convert character sets
xlatb
.func_key: ret
So (from my small knowledge about asm ...) the character is read, tested for something (the
'and'/'jz' -...
2005 Sep 06
4
"Stateless" effects
I just added the patch submitted with ticket #2133 to the SVN trunk,
with slight modifications.
(And yeah, I know I said "bug fixes" only till 1.5, but this patch
probably counts as a bugfix).
Big thanks to the contributors on this!
I''ll probably will give it a second pass and will do some refactoring.
Anyone want to work on/can come up with some sort of generalized
2001 May 04
1
Compilation Error
...ke[2]: Entering directory `/usr/src/wine/dlls/msvcrt'
../../tools/makedep -I. -I. -I../../include -I../../include -C. console.c
cpp.c ctype.c data.c dir.c environ.c errno.c except.c exit.c file.c heap.c
locale.c main.c math.c mbcs.c misc.c process.c string.c thread.c time.c
wcs.c -C.
msvcrt/conio.h: No such file or directory
msvcrt/conio.h was first included from console.c:12
make[2]: *** [depend] Error 1
make[2]: Leaving directory `/usr/src/wine/dlls/msvcrt'
make[1]: *** [msvcrt/__depend__] Error 2
make[1]: Leaving directory `/usr/src/wine/dlls'
make: *** [dlls/__depend__] Error...
2006 Mar 26
2
script.aculo.us 1.6 beta
Heya,
The script.aculo.us SVN repositiory now holds the 1.6 beta.
This version is mostly a refactoring/bugfix release, and marks the
switch over to
Prototype 1.5 (Prototype 1.4.0 is no longer supported). The required
prototype.js
file is included (lib/prototype.js) of course.
Changes since 1.5.3:
* Prepare for script.aculo.us 1.6, add Prototype 1.5 requirement and
check that
2009 Jun 30
2
syslinux 3.11 patch for handling both KVM and serial console input
...vmlinuz
append rescue initrd=initrd.img console=ttyS0,38400n8 text
----isolinux.cfg menu ends----
David Parsons, who is no longer with ADP, did most of the
modifications which made this work.
--Seth Alford
ADP Dealer Services
seth_alford at adp.com
----patch follows----
--- s_yslinux-3.11.orig/conio.inc 2005-08-18 13:53:39.000000000 -0700
+++ s_yslinux-3.11.new/conio.inc 2009-03-19 17:29:55.000000000 -0700
@@ -356,8 +356,10 @@
.serial: xor ah,ah ; Avoid confusion
xchg dx,bx ; Data port
in al,dx
+ mov byte [FromFlag],45 ; '-' flags input from serial
ret
-.kbd: mov ah,10h...
2003 May 20
1
Calling R in BATCH mode from C programm
...no-save --no-restore <args.R> args.out ARG1=1 ARG2=2
It works fine :
the result is that the script args.R is isexecuted. Sys.getenv() sees the
arguments ARG1 and ARG2, and the R creates output file args.out
Now I want to be able to call the same command from C application :
#include <conio.h>
#include <process.h>
#include <string.h>
void main()
{
char *args[10], prog[80];
int ch;
strcpy(prog, "C:\\Program Files\\R\\RBase\\bin\\Rterm.exe ");
/* Arguments to Rterm.exe */
args[0] = "--slave";
args[1] = "--no-save";
a...
2007 Feb 13
0
Hello guys Please help
Why my decoder doesn't want to return the data back to its original wav audio file that i can playback it correctly , is there something wrong in my code .
Encoder :
=======
#include "speex.h"
#include <stdio.h>
#include <iostream>
#include <conio.h>
using namespace std;
/*The frame size in hardcoded for this sample code but it doesn't have to be*/
#define FRAME_SIZE 160
int main(int argc, char **argv)
{
char *inFile;
FILE *fin;
FILE *fout;
short in[FRAME_SIZE];
float input[FRAME_SIZE];
char cbits[200];
int nbBytes;
/*Hol...
2008 Jun 24
2
Debugging
...)
#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 (%dx),%al...
2011 May 25
1
[GIT PULL] elflink ldlinux
Hi,
These patches contain support for some features that are already in
Syslinux 4 but weren't working properly on the elflink branch. It's
another step closer to feature parity with Syslinux 4.
Having to jump through the comboot API for localboot support is less
than ideal and I'll eventually fix that, probably when we move a big
chunk of code from asm to C.
Also, there's a
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...()
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.h for chdir() prototype
elflink: Remove unused variables
Mark unused function parameters...
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index 7765266..37c57da 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -33,7 +33,7 @@ extern short vkernel; //have we seen any "label" statements?
extern short displaycon; //conio.inc
extern short nohalt; //idle.inc
-extern char *default_cmd; //"default" command line
-extern char *onerror; //"onerror" command line
+extern const char *default_cmd; //"default" command line
+extern const char *onerror; //"onerror" command line
#en...
2006 Jun 17
0
Prototype wishlist
I''ve been using prototype.js for several months, on and off, now but I
think I must move one for the following reasons:
1. A prototype.js web site that makes sense to me. (The front page of
http://prototype.conio.net/ is not helpful. See #2 & #3 below.)
2. A framework that truly abstracted all input fields on a web form.
(prototype.js has no support for radio buttons or check boxes that I can
find.)
3. A framework with a forum/community that I can find easily.
I have spent a lot of time looking for a...
2006 Mar 20
0
Only 8 tickets remaining for Next Final Drive (Rails 1.1)
...tionPack nseckar@gmail.com 01/17/06
#3501 "sprint" used as a possible enum value causes problems associated
attribute
ActiveRecord michael@koziarski.com 01/16/06
#3101 rake db_schema_import broken
ActiveRecord rails@bitsweat.net 12/04/05
#2993 rc5 crashing FF1.5rc3
script.aculo.us sam@conio.net 11/23/05
Final Drive Candidates (what MIGHT be added to Next Final Drive. 1
ticket)
http://dev.rubyonrails.org/report/19
Potential 1.1 Blockers (unofficial list. 169 tickets. please help verify
these)
http://dev.rubyonrails.org/report/10
--
Posted via http://www.ruby-forum.com/.
2010 Jun 22
0
BCB5 CGI.EXE in Ubuntu Lucid 64bit
Hi All,
I am trying to use an exiting CGI.EXE program on 64bit Ubuntu Lucid.
I have made a test program with the compiler (Borland C++Builder 5 ? BCB5) that just starts prints and closes.
Code:
#include <vcl.h>
#include <conio.h>
#pragma hdrstop
#pragma argsused
int main(int argc, char* argv[])
{
cprintf("small test");
return 0;
}
Launched from Bash Script:
Code:
before="$(date +%s%N)"
wine ./testProject1.exe
after="$(date +%s%N)"
elapsed_seconds="$(expr...