dwmalone
0d14312af7
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
8159ebd5e2
Update FreeBSD SCM IDs.
2002-03-07 12:52:27 +00:00
robert
6ec282a1de
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
a3d5207088
- 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
030cf60aac
Don't rely on <sys/signal.h> to include <sys/ucontext.h>.
2002-02-17 17:19:14 +00:00
markm
11e67a9342
WARNS=2 fixup
2001-12-02 13:48:40 +00:00
tg
9135c64022
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
0689cbd99f
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
5a5faeb1fd
- 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
214349ee3a
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
d90cfb096d
Remove MAP_INHERIT flag from mmaps.
2001-08-25 18:06:32 +00:00
tg
b9cb79318c
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
24059a36ee
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
24c7b0a61d
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
peter
373ef9952e
Initialize debugf in main()
2001-08-13 21:56:39 +00:00
ru
c6c3284428
mdoc(7) police: s;BSD/OS;.Bsx; where appropriate.
2001-08-13 17:07:40 +00:00
ru
f858dca3dc
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
tg
6348c039ba
Silence some more warnings, mostly from `-W -Wwrite-strings'.
2001-08-08 10:58:50 +00:00
tg
fb3e81395f
Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'.
2001-08-07 11:09:15 +00:00
tg
35c464f8db
Fix warnings from `-Wmissing-prototypes'. Staticize.
2001-08-03 10:47:56 +00:00
tg
0f2b8ea245
Sort SRCS.
2001-08-03 10:47:13 +00:00
tg
3425197e87
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
06710de6d1
Mark debug() and fatal() as __printflike() and fix resulting warnings.
2001-07-31 11:27:48 +00:00
tg
255f937765
Sort options, remove unknown option 'f'.
2001-07-31 11:25:52 +00:00
tg
23487998fa
- 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
9638ec2b91
- 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
47f11fa9b1
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
6767a338a4
Correct font names. Now, how on earth did this work on my system?
2001-07-26 11:05:31 +00:00
tg
cd2c06bb7e
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
9bfb9eedcd
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
78944dcef1
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
b6764c0998
Remove non-existent (missing?) fonts.alias from beforeinstall: target
2001-07-24 19:25:19 +00:00
ache
8a1554a5e0
Add -I${.OBJDIR} to pick generated font*.h
2001-07-24 18:33:26 +00:00
tg
47c2c99b51
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
97507091ff
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
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
dd
eaa6ee03b8
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
tg
d021e1859a
Fix another buffer overflow.
...
PR: 15593
Submitted by: Przemyslaw Frasunek <venglin@lagoon.FreeBSD.lublin.pl>
2001-06-28 12:02:45 +00:00
tg
d3711647e2
Update BIOS time.
...
Submitted by: Igor Serikov <bt@turtle.pangeatech.com>
2001-05-22 11:33:38 +00:00
tg
39e8f234c4
Beautify debugging output.
2001-05-22 11:33:17 +00:00
tg
5ff7125205
Fix slice handling. Add 6 (`big' DOS partition) as a legal systemID.
2001-05-22 11:32:38 +00:00
tg
21dff572d9
Silence some debugging output when installing Borland's Turbo C.
2001-05-22 11:32:15 +00:00
tg
3f61b37d6e
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
d56823d7f2
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
2486cc2c02
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
4a353a58b9
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
1877189382
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
7d76aced28
Fix typo: compatability -> compatibility.
...
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
asmodai
2f1d3e2cdf
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00