David E. O'Brien
efad9abf1c
Update FreeBSD SCM IDs.
2002-03-07 12:52:27 +00:00
Robert Drehmel
a41f101db4
Avoid a null-pointer dereference which occurred when emulating DOS
...
interrupt 0x10 function 0x00 without dpy int tty.c being set.
PR: 35147
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-02-26 10:22:25 +00:00
Robert Drehmel
b48d8537aa
- Emulate instructions prefixed with 'rep' correctly: set the CX
...
register to zero.
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
PR: 35147
2002-02-26 10:13:35 +00:00
Daniel Eischen
a06523b4f6
Don't rely on <sys/signal.h> to include <sys/ucontext.h>.
2002-02-17 17:19:14 +00:00
Mark Murray
ef0ea716d2
WARNS=2 fixup
2001-12-02 13:48:40 +00:00
Thomas Gellekum
566d333580
Remove check for the DISPLAY environment variable. It's easier to use
...
the `-x' option to get an X window than to temporarily disable DISPLAY.
PR: 32180
2001-11-27 13:14:49 +00:00
Thomas Gellekum
ff7926e949
Minor cleanup, no functional changes:
...
- Add/change some comments,
- remove superfluous `if (1||x)' and re-indent,
- fix initialization of floppyinfo[] to get rid of warning.
2001-10-12 10:31:00 +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
Ruslan Ermilov
fa8baa7a9e
Fixed the BINGRP handling mess.
...
EXEGRP and EXEMODE are used to install DOS (EXE format) binaries.
doscmd(1) can optionally be installed as ``setgid kmem''.
Hence the assignment operator for EXEGRP.
PR: bin/30538
2001-09-13 07:20:51 +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
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Peter Wemm
c7a12b501b
Initialize debugf in main()
2001-08-13 21:56:39 +00:00
Ruslan Ermilov
ed2879a5cf
mdoc(7) police: s;BSD/OS;.Bsx; where appropriate.
2001-08-13 17:07:40 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +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
273a0913fe
Sort SRCS.
2001-08-03 10:47:13 +00:00
Thomas Gellekum
399a82cd5d
Don't wait for a keypress in INT 16 function 01, just return the current
...
state. This fixes Easytrax.
2001-08-01 11:47:06 +00:00
Thomas Gellekum
008969f3d3
Mark debug() and fatal() as __printflike() and fix resulting warnings.
2001-07-31 11:27:48 +00:00
Thomas Gellekum
ddda86e60f
Sort options, remove unknown option 'f'.
2001-07-31 11:25:52 +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
07679c2d28
- Fix file names <:-(,
...
- attempt to find the X includes and libraries better,
- sort some things.
Submitted by: bde
2001-07-30 11:38:20 +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
Thomas Gellekum
090f957012
Correct font names. Now, how on earth did this work on my system?
2001-07-26 11:05:31 +00:00
Thomas Gellekum
d57f02670b
Fix bugs introduced in 1.26:
...
- restore -I. in CFLAGS
- add dependencies of objects on font headers
- missing dependencies of font headers on their sources
Suggested by: bde
2001-07-26 11:04:08 +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
Sheldon Hearn
bba1ea063e
Fix breakage introduced in rev 1.26, with the introduction of
...
absoluate pathnames starting with /usr/src.
This fixes the installworld target for the case where the source tree is
not in /usr/src.
2001-07-25 12:21:27 +00:00
Andrey A. Chernov
ac06a71756
Remove non-existent (missing?) fonts.alias from beforeinstall: target
2001-07-24 19:25:19 +00:00
Andrey A. Chernov
1dab3da105
Add -I${.OBJDIR} to pick generated font*.h
2001-07-24 18:33:26 +00:00
Thomas Gellekum
2bc50aed69
Clean up the code a bit:
...
- add $FreeBSD$;
- remove unused variables;
- add missing headers and prototypes;
- -Wshadow.
2001-07-24 11:50:23 +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
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Thomas Gellekum
5a7e416108
Fix another buffer overflow.
...
PR: 15593
Submitted by: Przemyslaw Frasunek <venglin@lagoon.FreeBSD.lublin.pl>
2001-06-28 12:02:45 +00:00
Thomas Gellekum
539fbbccc4
Update BIOS time.
...
Submitted by: Igor Serikov <bt@turtle.pangeatech.com>
2001-05-22 11:33:38 +00:00
Thomas Gellekum
55426b7d9e
Beautify debugging output.
2001-05-22 11:33:17 +00:00
Thomas Gellekum
d0cd0e62b4
Fix slice handling. Add 6 (`big' DOS partition) as a legal systemID.
2001-05-22 11:32:38 +00:00
Thomas Gellekum
72a9cf5eb8
Silence some debugging output when installing Borland's Turbo C.
2001-05-22 11:32:15 +00:00
Thomas Gellekum
02cefb1b5c
Fix boot order (really try A:, then C:, unless the `boot' option is
...
specified in .doscmdrc).
2001-05-22 11:31:39 +00:00
Thomas Gellekum
8784582c8a
Implement file truncation (DOS function 0x21, sub 0x40).
...
PR: 20925
Submitted by: Tatsuya Kudoh <cdr@cosmonet.org>
2001-05-22 11:31:08 +00:00
Thomas Gellekum
989884fab9
Correct typo to get DOS function 0x51 (get PSP) to work.
...
PR: 15547
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:30:22 +00:00
Thomas Gellekum
3bcc9f9ef8
DOS function 0x0a (buffered keyboard input) returned immediately.
...
PR: 15531
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:29:31 +00:00
Thomas Gellekum
ee17481fbe
Fix DOS function 4c (exit with return code).
...
PR: 15528
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:28:28 +00:00
Jeroen Ruigrok van der Werven
2fa72ea7d4
Fix typo: compatability -> compatibility.
...
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
Jeroen Ruigrok van der Werven
1a6e52d0e9
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Poul-Henning Kamp
baba280c68
Use macro API to <sys/queue.h>
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: /sbin/md5
2000-12-30 21:02:25 +00:00