aboutsummaryrefslogtreecommitdiff
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.Dag-Erling Smørgrav2004-03-231-924/+0
| | | | Notes: svn path=/head/; revision=127340
* Update FreeBSD SCM IDs.David E. O'Brien2002-03-071-2/+3
| | | | Notes: svn path=/head/; revision=91805
* WARNS=2 fixupMark Murray2001-12-021-2/+2
| | | | Notes: svn path=/head/; revision=87216
* Remove check for the DISPLAY environment variable. It's easier to useThomas Gellekum2001-11-271-3/+0
| | | | | | | | | the `-x' option to get an X window than to temporarily disable DISPLAY. PR: 32180 Notes: svn path=/head/; revision=86967
* - First shot at PIC emulation;Thomas Gellekum2001-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> Notes: svn path=/head/; revision=84361
* Initialize debugf in main()Peter Wemm2001-08-131-0/+1
| | | | Notes: svn path=/head/; revision=81605
* Silence some more warnings, mostly from `-W -Wwrite-strings'.Thomas Gellekum2001-08-081-6/+6
| | | | Notes: svn path=/head/; revision=81282
* Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'.Thomas Gellekum2001-08-071-1/+1
| | | | Notes: svn path=/head/; revision=81228
* Sort options, remove unknown option 'f'.Thomas Gellekum2001-07-311-68/+67
| | | | Notes: svn path=/head/; revision=80726
* Rewrite video emulation. Features:Thomas Gellekum2001-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). Notes: svn path=/head/; revision=80278
* Fix boot order (really try A:, then C:, unless the `boot' option isThomas Gellekum2001-05-221-12/+32
| | | | | | | specified in .doscmdrc). Notes: svn path=/head/; revision=76993
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-091-1/+2
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* Install a VGA font for the X11 mode. Use a line likeThomas Gellekum2000-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. Notes: svn path=/head/; revision=61997
* Fix the case where there's no path and doscmd defaults it to C:\Marcel Moolenaar1999-11-121-1/+1
| | | | Notes: svn path=/head/; revision=53104
* Make sigreturn() work properly by zeroing mc_onstack like Bruce suggested.John Hay1999-11-081-0/+1
| | | | | | | Restore dos_makepath() functionality to pre r1.5 days. Notes: svn path=/head/; revision=53021
* Allow in/out to work in DOS programs.Warner Losh1999-10-131-2/+35
| | | | | | | | Submitted by: Parag Patel PR: bin/8486 Notes: svn path=/head/; revision=52223
* Unbreak doscmd after the sigset_t change:Marcel Moolenaar1999-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 :-). Notes: svn path=/head/; revision=51798
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Change doscmd to use i386_set_ioperm() call instead of sysarch().Jonathan Lemon1998-07-281-19/+11
| | | | Notes: svn path=/head/; revision=37905
* o remove -f from doscmd man page, as it is not implemented.Warner Losh1998-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. Notes: svn path=/head/; revision=37716
* o Be more careful about using sprintf and strcpy.Warner Losh1998-07-021-4/+4
| | | | Notes: svn path=/head/; revision=37329
* Make sourcer's main program execute in X mode.Warner Losh1998-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 Notes: svn path=/head/; revision=37325
* Don't assume sigset_t and int are equivalent.James Raynard1998-02-281-2/+2
| | | | Notes: svn path=/head/; revision=33925
* Add support for EMS emulation to doscmd. This requires changing theJonathan Lemon1997-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> Notes: svn path=/head/; revision=30016
* Add support for XMS memory to doscmd.Jonathan Lemon1997-08-151-28/+5
| | | | | | | Submitted by: Helmut F. Wirth <hfwirth@ping.at> Notes: svn path=/head/; revision=28243
* Add our doscmd to the tree. This is a result of work from BSDI, andJohn Dyson1997-08-091-0/+892
a group of dos emulator developers. Submitted by: Jonathan Lemon <jlemon@americantv.com> Obtained from: BSDI Notes: svn path=/head/; revision=27999