Peter Wemm
66422f5b7a
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
Philippe Charnier
93b0017f88
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:23:09 +00:00
Ruslan Ermilov
d2893b161b
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
Mark Murray
c279819e2e
"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
Tom Rhodes
46c2a2cfa4
More consistancy. file system > filesystem
2002-05-16 02:19:14 +00:00
Thomas Gellekum
486730f7fd
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
Thomas Gellekum
ca25eaf630
Fix wrong bitmask.
2002-05-10 10:37:57 +00:00
Dag-Erling Smørgrav
d397408818
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
Philippe Charnier
3898680cf7
Use `The .Nm utility'
2002-04-19 23:44:58 +00:00
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
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