Commit Graph

100 Commits

Author SHA1 Message Date
tg
5a8ac39660 Fix warnings from `-Wmissing-prototypes'. Staticize. 2001-08-03 10:47:56 +00:00
tg
496518b3f0 Sort SRCS. 2001-08-03 10:47:13 +00:00
tg
e9726d2fe0 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
tg
c85c43044f Mark debug() and fatal() as __printflike() and fix resulting warnings. 2001-07-31 11:27:48 +00:00
tg
712cb7028b Sort options, remove unknown option 'f'. 2001-07-31 11:25:52 +00:00
tg
400aedb763 - 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
tg
767b975247 - 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
tg
5b9a68087e 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
tg
24ca5f9707 Correct font names. Now, how on earth did this work on my system? 2001-07-26 11:05:31 +00:00
tg
4db55c0c1d 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
sheldonh
beb35793ec 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
sheldonh
51ab9b63d9 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
ache
efa70d5e36 Remove non-existent (missing?) fonts.alias from beforeinstall: target 2001-07-24 19:25:19 +00:00
ache
2c591c352e Add -I${.OBJDIR} to pick generated font*.h 2001-07-24 18:33:26 +00:00
tg
b94bf6b828 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
tg
04ea485893 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
dd
7d1013753f Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
dd
978810079e mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
tg
7e96de1a42 Fix another buffer overflow.
PR:		15593
Submitted by:	Przemyslaw Frasunek <venglin@lagoon.FreeBSD.lublin.pl>
2001-06-28 12:02:45 +00:00
tg
081b57b542 Update BIOS time.
Submitted by:	Igor Serikov <bt@turtle.pangeatech.com>
2001-05-22 11:33:38 +00:00
tg
b90dd971eb Beautify debugging output. 2001-05-22 11:33:17 +00:00
tg
f65f8c8c8c Fix slice handling. Add 6 (`big' DOS partition) as a legal systemID. 2001-05-22 11:32:38 +00:00
tg
2890c15493 Silence some debugging output when installing Borland's Turbo C. 2001-05-22 11:32:15 +00:00
tg
7d2f72414d Fix boot order (really try A:, then C:, unless the `boot' option is
specified in .doscmdrc).
2001-05-22 11:31:39 +00:00
tg
765bf1cd5b 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
tg
a5530f1983 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
tg
97d0017cb4 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
tg
ea057d75e3 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
asmodai
9bb829b9c2 Fix typo: compatability -> compatibility.
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
asmodai
79d2ee04e3 Fix typo: seperate -> separate.
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
phk
2e74acb55c 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
ru
655e7db87e Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
obrien
46d04a9db4 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ru
0957874304 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ru
b42832df66 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
ru
f9c7198049 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
phk
c0aadf7521 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
sheldonh
4a8d4dadc6 Fix problems introduced in the previous commit:
*	Do not use explicit paragraphing (Pp) to separate list items.
*	Do not use semi-colons to punctuate list items; the use or
	periods eases maintenance.
*	Do not mark up external shell commands as internal commands
	(Ic).
*	Do not introduce new hard sentence breaks.
2000-06-23 09:08:45 +00:00
tg
00ffc582fe Install a VGA font for the X11 mode. Use a line like
xset fp+ /usr/libdata/doscmd/fonts
in your .xsession to activate it.

Document X11_FONT option in .doscmdrc.

Open window if $DISPLAY is set.
2000-06-23 08:57:17 +00:00
jake
5e208b0c18 Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
jake
1d685644e0 Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd
2000-05-23 20:41:01 +00:00
kris
19dc073881 Oops, revert previous commit 2000-05-07 09:23:37 +00:00
kris
18fe9e0d16 Update device references. 2000-05-07 09:23:36 +00:00
nik
15dbf2afaf Remove reference to bsd2dos command, refer to fconv and similar.
PR:             docs/17101
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-04-30 22:45:13 +00:00
kris
13ec8188a5 Add and document a NO_X knob to force disabling of X support in doscmd
Requested by:	sysop@silver.komanda.com.ua
2000-03-19 09:49:03 +00:00
marcel
88cfe9c4c4 Don't build with X support if DESTDIR is defined. This prevents
breaking a cross-build caused by taking the X libraries on the
build machine. In general this means that we never compile with
X support. The user has to manually compile doscmd for that.

Suggested by: bde, imp (among others)
2000-01-05 12:59:31 +00:00
marcel
4c612386b3 Fix the case where there's no path and doscmd defaults it to C:\ 1999-11-12 08:59:41 +00:00
jhay
b4453322fc Make sigreturn() work properly by zeroing mc_onstack like Bruce suggested.
Restore dos_makepath() functionality to pre r1.5 days.
1999-11-08 17:28:46 +00:00
imp
b6ce49bfd2 Allow in/out to work in DOS programs.
Submitted by: Parag Patel
PR: bin/8486
1999-10-13 23:48:35 +00:00