Commit Graph

25 Commits

Author SHA1 Message Date
Philippe Charnier
17de5908ce Reduce the number of spelling mistakes. 2002-04-12 21:18:05 +00:00
David Malone
6a8074206f Mark some parameters as unused.
Make more code depend on '#ifndef NO_X' so we don't get unused warnings
when compiling without X.
2002-03-30 13:51:40 +00:00
David E. O'Brien
efad9abf1c Update FreeBSD SCM IDs. 2002-03-07 12:52:27 +00:00
Mark Murray
ef0ea716d2 WARNS=2 fixup 2001-12-02 13:48:40 +00:00
Thomas Gellekum
1a63d7e08e - First shot at PIC emulation;
- better 8250 emulation;
- fake vertical retrace bit in Input Status #1 register
  (this was lost in the VGA emu rewrite).

Submitted by:	Igor Serikov <bt@turtle.pangeatech.com>
2001-10-02 11:28:59 +00:00
Matthew Dillon
bbe67657cf Remove MAP_INHERIT flag from mmaps. 2001-08-25 18:06:32 +00:00
Thomas Gellekum
566f6e4f1e Fix INT 10:09 (write char) and INT 10:0a (write char and attribute)
when cursor is at the lower right corner.

PR:		29574 29601
Submitted by:	Nils M Holm <nmh@t3x.org>
2001-08-14 11:57:14 +00:00
Thomas Gellekum
f7448f4297 Move update of BIOS variable at 0x6c (time counter) completely to timer.c.
Suggested by:	Igor Serikov <bt@turtle.pangeatech.com>
2001-08-14 11:54:37 +00:00
Thomas Gellekum
31769c6186 Silence some more warnings, mostly from `-W -Wwrite-strings'. 2001-08-08 10:58:50 +00:00
Thomas Gellekum
9e6e8e9f89 Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'. 2001-08-07 11:09:15 +00:00
Thomas Gellekum
b99bacc92b Fix warnings from `-Wmissing-prototypes'. Staticize. 2001-08-03 10:47:56 +00:00
Thomas Gellekum
86c393fc09 - Add some more x86 instructions to emulate,
- emulate VGA read mode 0,
- emulate VGA write mode 1,
- minor cleanup.

Protel's Easytrax, a free PCB layout program, almost runs now; there are
still some problems with the keyboard emulation, but the graphics are fine
(albeit a bit slow).
2001-07-30 12:03:38 +00:00
Thomas Gellekum
a0e4393eaf Include <sys/kbio.h> or <machine/console.h>, depending on __FreeBSD_version.
This will reduce diffs to -STABLE.

Don't leave an image of the video RAM around.
2001-07-26 11:09:15 +00:00
Sheldon Hearn
e1b4d8d074 Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by:   David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
Thomas Gellekum
040395f4dd Rewrite video emulation. Features:
- slightly more accurate VGA hardware emulation;
- more int 10 functions, especially wrt to palette handling;
- first shot at graphics support;
- mode switching.

Bugs:

- graphics too slow;
- only 16 color modes work for now;
- works only under X, and only with 16 bit TrueColor visuals;
- far from being genuinely useful (I can play an old EGA game now, though
  (mahjongg.exe)).

Also, the code has been cleaned up a bit (more to come in a separate commit).
2001-07-24 11:44:20 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Poul-Henning Kamp
00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
Warner Losh
93d16f2ad9 Default to no backspace/delete swapping.
Add a title "DOS" to the X window.

Submitted by: Parag Patel <parag@cgt.com>
PR: bin/8486

Note: The pr was closed a long time ago when the original patch was
applied, rather than the amended one.
1999-10-13 23:40:49 +00:00
Marcel Moolenaar
535b692091 Unbreak doscmd after the sigset_t change:
doscmd heavily depends on struct sigcontext which luckily is mostly passed
between functions as usion regcontext_t. By redefining union regcontext_t in
terms of mcontext_t almost all bases are covered.

It also seems to me that doscmd was in a transitional state. The redundant
definitions made it difficult to get a clear overview and could easily cause
oversight. To make sure my changes were ok, I went as far as to complete the
transition. It was not exactly necessary, but I expect to have to come back
here some more ("whistle" if I'm wrong :-).
1999-09-29 20:09:19 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Martin Cracauer
962b0b5c4a Update to new struct sigcontext after SA_SIGINFO changes 1999-07-06 07:15:11 +00:00
Mike Smith
86740c3409 Add Back-Tab functionality. (Ie. shift-tab)
Submitted by:	Randall Hopper <rhh@ct.picker.com>
1998-02-22 23:36:54 +00:00
Jonathan Lemon
462232c223 Fix DOS keyboard handling to use standard pointer addresses instead of
an index into a private array.
Submitted by:	Randall Hopper <rhh@ct.picker.com>
1998-01-21 21:37:02 +00:00
Jonathan Lemon
79566bc427 Enable the use of keypad cursor motion keys.
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1997-08-16 00:16:48 +00:00
John Dyson
90c38ed200 Add our doscmd to the tree. This is a result of work from BSDI, and
a group of dos emulator developers.
Submitted by:	Jonathan Lemon <jlemon@americantv.com>
Obtained from:	BSDI
1997-08-09 01:43:15 +00:00