Commit Graph

132 Commits

Author SHA1 Message Date
ru
4c72afa60b Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
ru
f501f1b590 Get rid of duplicates. 2003-09-14 13:41:59 +00:00
ru
88d368906e Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
peter
3c7c11fd3e Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
charnier
b6a9884512 Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
ru
34de99cd26 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
markm
702f9654a8 "inline" fixing. Replace "inline" with "__inline" to make more BSD
standard (and easier to define away with support in cdefs.h).
Also convert two function-like macros to static inline functions
for lint and the debugger.
2002-07-19 13:38:43 +00:00
trhodes
ec2a348c1f More consistancy. file system > filesystem 2002-05-16 02:19:14 +00:00
tg
866b9b6e81 Cast the uc_mcontext member to regcontext *, not the whole ucontext_t.
PR:		35449
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-05-10 10:40:46 +00:00
tg
38590b2006 Fix wrong bitmask. 2002-05-10 10:37:57 +00:00
des
c91c856b3e Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
charnier
75f0c117d4 Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
charnier
9de985de56 Reduce the number of spelling mistakes. 2002-04-12 21:18:05 +00:00
dwmalone
68ffec7ff4 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
obrien
f25d9a30bd Update FreeBSD SCM IDs. 2002-03-07 12:52:27 +00:00
robert
41d53f2430 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
722e6c0882 - 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
deischen
5b7eaba6b4 Don't rely on <sys/signal.h> to include <sys/ucontext.h>. 2002-02-17 17:19:14 +00:00
markm
e3b1036ef0 WARNS=2 fixup 2001-12-02 13:48:40 +00:00
tg
62838d654d 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
tg
20fe7a8811 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
tg
b80ee741e4 - 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
ru
7e4453e235 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
dillon
a77f910815 Remove MAP_INHERIT flag from mmaps. 2001-08-25 18:06:32 +00:00
tg
a898acb03b 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
tg
cc7af60f73 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
ru
173222b339 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
peter
4f6cdff8d1 Initialize debugf in main() 2001-08-13 21:56:39 +00:00
ru
ac7b73f2d4 mdoc(7) police: s;BSD/OS;.Bsx; where appropriate. 2001-08-13 17:07:40 +00:00
ru
3b72217422 mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
tg
67256f039d Silence some more warnings, mostly from `-W -Wwrite-strings'. 2001-08-08 10:58:50 +00:00
tg
f687f50f40 Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'. 2001-08-07 11:09:15 +00:00
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