summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/doscmd.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove doscmd from the base system now that it lives in the ports tree.des2004-03-231-924/+0
|
* Update FreeBSD SCM IDs.obrien2002-03-071-2/+3
|
* WARNS=2 fixupmarkm2001-12-021-2/+2
|
* Remove check for the DISPLAY environment variable. It's easier to usetg2001-11-271-3/+0
| | | | | | the `-x' option to get an X window than to temporarily disable DISPLAY. PR: 32180
* - First shot at PIC emulation;tg2001-10-021-6/+8
| | | | | | | | - 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>
* Initialize debugf in main()peter2001-08-131-0/+1
|
* Silence some more warnings, mostly from `-W -Wwrite-strings'.tg2001-08-081-6/+6
|
* Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'.tg2001-08-071-1/+1
|
* Sort options, remove unknown option 'f'.tg2001-07-311-68/+67
|
* Rewrite video emulation. Features:tg2001-07-241-23/+31
| | | | | | | | | | | | | | | | | - 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).
* Fix boot order (really try A:, then C:, unless the `boot' option istg2001-05-221-12/+32
| | | | specified in .doscmdrc).
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* Install a VGA font for the X11 mode. Use a line liketg2000-06-231-0/+3
| | | | | | | | | xset fp+ /usr/libdata/doscmd/fonts in your .xsession to activate it. Document X11_FONT option in .doscmdrc. Open window if $DISPLAY is set.
* Fix the case where there's no path and doscmd defaults it to C:\marcel1999-11-121-1/+1
|
* Make sigreturn() work properly by zeroing mc_onstack like Bruce suggested.jhay1999-11-081-0/+1
| | | | Restore dos_makepath() functionality to pre r1.5 days.
* Allow in/out to work in DOS programs.imp1999-10-131-2/+35
| | | | | Submitted by: Parag Patel PR: bin/8486
* Unbreak doscmd after the sigset_t change:marcel1999-09-291-10/+10
| | | | | | | | | | | | doscmd heavily depends on struct sigcontext which luckily is mostly passed between functions as usion regcontext_t. By redefining union regcontext_t in terms of mcontext_t almost all bases are covered. It also seems to me that doscmd was in a transitional state. The redundant definitions made it difficult to get a clear overview and could easily cause oversight. To make sure my changes were ok, I went as far as to complete the transition. It was not exactly necessary, but I expect to have to come back here some more ("whistle" if I'm wrong :-).
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Change doscmd to use i386_set_ioperm() call instead of sysarch().jlemon1998-07-281-19/+11
|
* o remove -f from doscmd man page, as it is not implemented.imp1998-07-161-3/+2
| | | | | | | | | | | | | | | | | o Remove init printf o Don't set optind from return value for do_args. getopt has already done this. o Bump EMS memory from 1M to 10M (this really should be a command line option). o Open /dev/null when requested to open emmxxxx0 to allow many programs checking to see if EMS is installed to find it. o Route int67 to ems_entry to allow EMS to be used when DOS is emulated as well as when DOS is booted. This may obviate the need for the driver doing anything at all in a really booted situation and won't hurt that case. I can now run the DOS program I'm interested in running with enough EMS memory that its "advanced" functions are enabled and working.
* o Be more careful about using sprintf and strcpy.imp1998-07-021-4/+4
|
* Make sourcer's main program execute in X mode.imp1998-07-011-13/+8
| | | | | | | | o Make the dos emulation treat c: and C: the same way. Sourcer was doing a chdir("c:\\") rather than a chdir("C:\\"); o use drlton() in all places where we used to use -'A' so that we're always case independent. o use drntol() in all places where we used to use + 'A' for similar reasons
* Don't assume sigset_t and int are equivalent.jraynard1998-02-281-2/+2
|
* Add support for EMS emulation to doscmd. This requires changing thejlemon1997-09-301-2/+5
| | | | | | | | | interface for callbacks to doscmd from DOS, obsoleting the instbsdi redirector. (redir.com replaces it) A temporary hack is in place so the instbsdi program will (hopefully) work in the short term. Submitted by: Helmut F. Wirth <hfwirth@ping.at>
* Add support for XMS memory to doscmd.jlemon1997-08-151-28/+5
| | | | Submitted by: Helmut F. Wirth <hfwirth@ping.at>
* Add our doscmd to the tree. This is a result of work from BSDI, anddyson1997-08-091-0/+892
a group of dos emulator developers. Submitted by: Jonathan Lemon <jlemon@americantv.com> Obtained from: BSDI
OpenPOWER on IntegriCloud