summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/trap.c
Commit message (Collapse)AuthorAgeFilesLines
* - First shot at PIC emulation;tg2001-10-021-8/+3
| | | | | | | | - 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>
* Fix warnings from `-Wmissing-prototypes'. Staticize.tg2001-08-031-1/+1
|
* Mark debug() and fatal() as __printflike() and fix resulting warnings.tg2001-07-311-10/+9
|
* Rewrite video emulation. Features:tg2001-07-241-6/+22
| | | | | | | | | | | | | | | | | - 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 the breakage of doscmd that was caused by the rebirthmarcel1999-10-081-2/+2
| | | | | | | of sigcontext and the change in mcontext_t. Partial fix submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>`
* Unbreak doscmd after the sigset_t change:marcel1999-09-291-27/+27
| | | | | | | | | | | | 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
|
* Break lines to be < 80 chars. This has been done only to that file incracauer1999-07-071-16/+25
| | | | | | | | | | doscmd that was affected by the SA_SIGINFO changes (which made many lines longer). This application is in need for general code reformatting and warning fixes. Submitted by: Warner Losh <imp@village.org>
* Update to new struct sigcontext after SA_SIGINFO changescracauer1999-07-061-11/+11
|
* Add support for EMS emulation to doscmd. This requires changing thejlemon1997-09-301-3/+6
| | | | | | | | | 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 our doscmd to the tree. This is a result of work from BSDI, anddyson1997-08-091-0/+612
a group of dos emulator developers. Submitted by: Jonathan Lemon <jlemon@americantv.com> Obtained from: BSDI
OpenPOWER on IntegriCloud