Commit Graph

1078 Commits

Author SHA1 Message Date
Bryce Denney debed8cc55 - for OpenBSD, remove extern "C" { } around the includes. Apparantly
that is no longer needed.
2001-05-08 19:51:46 +00:00
Bryce Denney 46bc87415a - added dumb debug printf to see when signal handler is set up. 2001-05-08 19:08:28 +00:00
Bryce Denney d2203e662f - added most of Todd's "term mode" patch. I didn't apply all of the signal
handling part, so I need to figure out how control-C's and control-Z's
  will get mapped into keystrokes.
2001-05-08 19:07:26 +00:00
Bryce Denney d9af1b1eb9 - reset patch by Todd Fries 2001-05-08 17:59:38 +00:00
Bryce Denney 5482d42cdd - 2.88M floppy patch by Todd Fries 2001-05-08 17:45:44 +00:00
Bryce Denney 418eec75b2 - remove val-tags 2001-05-08 04:57:24 +00:00
Bryce Denney 738bd96463 - added may7 tag 2001-05-08 04:54:39 +00:00
Bryce Denney 04abf2742e - try to create val-tags with the right permissions so that I can
write it as a member of the bochs group.
2001-05-08 04:53:17 +00:00
Bryce Denney a7b7563e3c - add support for split hard disk image, so that it is possible to store
different partitions in separate files.
2001-05-07 05:47:59 +00:00
Bryce Denney 19f9bd3ffb - applied patch 5/3/2001 so no longer in patches 2001-05-06 05:18:56 +00:00
Bryce Denney b20b03b1ca - since dataseghack was checked in with permission 664 (not executable),
run it using "csh dataseghack"
2001-05-04 07:02:04 +00:00
Bryce Denney a092622712 - applied the patch, with a few changes, so it's no longer needed here. 2001-05-03 21:21:28 +00:00
Bryce Denney 2c60492524 - add comments that vga registers 0x3c7,0x3cb are read regularly by
OpenBSD.  Until I see some documentation, I'd rather not ignore the
  panics just yet.
2001-05-03 21:14:56 +00:00
Bryce Denney 328412aac8 - This revision makes the BIOS code understand that there can be either
1 or 2 hard disks.
- int13: check how many disks first, and only return an error if DL exceeds
  the number of disks (ignoring bit 7 of course)
- added drive number arg to get_hd_geometry, so that get_hd_geometry can
  retrieve the numbers corresponding to hard drive 0 or 1
- hard_drive_post will now set up the EBDA area for drive 0 if it exists,
  then for drive 1 if it exists.
2001-05-03 21:13:20 +00:00
Bryce Denney ebc315500e - added code to fill in CMOS registers 0x24-0x2c when diskd is present.
- made the code that fills 0x1b-0x23 for diskc conditional on diskc being
  present; this was probably not necessary.
- added some code (still commented out) that will help in supporting a second
  IDE interface.
2001-05-03 21:08:42 +00:00
Bryce Denney 80a0130cd6 - diskd implemented now. Only panic if diskd and cdrom are used together,
since at present there's no way to actually manage this.  To use both,
  we will need to put the cdrom (or diskd) onto second ide controller with
  a different IRQ.
2001-05-03 20:59:38 +00:00
Bryce Denney 3a6b2e929e - fixed bug in panic which allowed it to fail to print the message if the
log file hadn't been opened yet.
2001-05-03 20:58:19 +00:00
Bryce Denney 10412cdf1e - why restrict when people read the sector count? This was causing
unnecessary panics on openbsd when sector count was read soon after a
  reset.
2001-05-03 20:40:08 +00:00
Bryce Denney 8e9caa8ddb - implement mouse command 0xf6 set defaults
- fix typo in printf message
2001-05-03 17:50:50 +00:00
Bryce Denney 596679b875 - applied patch.xwin-timing by Suboner@aol.com. His comments:
Basicly what it does is, it help VGA16 find the syncing, because of the
  technique it uses, bochs did not help it figure out the timing diffrences
  with its one size fits all timing.
2001-05-03 17:00:38 +00:00
Bryce Denney ac331dcdb2 - patch that includes all of Goswin Brederlow's mods to the 3/25/2000
snapshot
2001-05-03 16:34:49 +00:00
Bryce Denney ff450e8ddc - added Suboner@aol.com's xwindows timing patch to patches so I can try it 2001-05-03 16:31:26 +00:00
Bryce Denney 900edff605 - Farid Hajji's patch for 4meg pages. I copied from sourceforge patch
tracker to CVS to make it easier to install.
2001-05-03 16:21:30 +00:00
Bryce Denney a4aa559789 - add yet another caveat 2001-05-03 16:01:44 +00:00
Bryce Denney f90086b59f - first draft of patch for 2 hard disks, see description in the file 2001-05-03 15:51:17 +00:00
Bryce Denney 310f1ae948 - make it easy to enable mouse debug output again with macro 2001-05-03 00:42:29 +00:00
Bryce Denney ad175e9aae - specify where on the hard drive it fails to read or write. 2001-05-03 00:41:36 +00:00
Bryce Denney 5be42586c5 - slap on a version number 0.3
- ask their name and the date
- reorder versions, add choice for CVS checkout
- ask what compiler they used
- add mouse on list of devices tested
2001-05-02 06:41:40 +00:00
Bryce Denney 8643d4fc9f - removed all patches that are already applied in bugfix2, and ones
that have been rejected.
2001-05-02 03:12:55 +00:00
Bryce Denney 5cd42037a1 - used to be specific to bugfix2; made it more generic 2001-05-02 03:11:58 +00:00
Bryce Denney 7027c2780d - if panic is non-fatal, we must return before calling bx_atexit.
This caused trouble when BX_PANIC_IS_FATAL was 0, and a panic occurred.
2001-05-02 02:39:23 +00:00
Bryce Denney 00efacbe13 - don't put each function in a separate file; put them all in osdep.cc. 2001-04-26 02:51:11 +00:00
Bryce Denney dd5c449cbc - rough draft of testing form, which people can fill out to report
success or failure on different host OS/guest OS combinations.
2001-04-25 17:51:14 +00:00
Gregory Alexander a9bcd531f2 Added bx_ types to allow compilation on systems that
already define u_char, etc.

This gets it compiling under AIX 4.3.1.
2001-04-11 14:31:45 +00:00
Gregory Alexander 4f381132e1 Added a config file for AIX 4.3.1.
This may not work for everyone, and probably will not work on AIX 4.3.3.
2001-04-11 09:07:55 +00:00
Bryce Denney 417e4c01ec - print which unknown hard drive command causes a panic 2001-04-10 02:33:27 +00:00
Bryce Denney 79bef1a5bf - include bug list for 4/9/2001 snapshot 2001-04-10 02:31:38 +00:00
Bryce Denney 3f7f880427 - set good defaults for win32-vcpp
#define BX_64BIT_CONSTANTS_USE_LL 0
    #define inline __inline
    #define BX_NO_EMPTY_STRUCTS 1
    #define BX_NO_ATTRIBUTES 1
    #define BX_HAVE_HASH_MAP 0
2001-04-10 02:31:24 +00:00
Bryce Denney 431b22c1e8 - from Don Becker: had to typecast &waveformat.wf to (LPWAVEFORMATEX) type 2001-04-10 02:29:45 +00:00
Bryce Denney 995f4878c9 - mistyped my own initials as "bad"! 2001-04-10 02:29:23 +00:00
Bryce Denney 2a1f066514 - include bug list for bugfix-20010406-beta release 2001-04-10 02:23:36 +00:00
Bryce Denney b29f4c1c78 - added README for bugfix-20010406-beta release 2001-04-10 02:23:10 +00:00
Bryce Denney d52221b57a - include patches that will be included in bugfix-20010406-beta release 2001-04-10 02:22:19 +00:00
Bryce Denney a6fef54678 - update copyright dates to 2001 for all mandrake headers
- for bochs files with other header, replaced with current mandrake header
2001-04-10 02:20:02 +00:00
Bryce Denney cf780f13ce - applied patch from Don Becker. Bypass fstat when opening WIN32 raw
floppy disk.
2001-04-10 02:17:43 +00:00
Bryce Denney 955b0a924f - applied patch from Don Becker.
CDROM drive letter for WIN32 is no longer hardcoded.
2001-04-10 02:17:10 +00:00
Bryce Denney add7fc9a4d - applied patch from Greg Alexander: implement VGA enable register at 0x3c3. 2001-04-10 02:16:18 +00:00
Bryce Denney 43894ea539 - Applied patch from Roland Mainz, 4/1/2001
Support Sun CDROM.
2001-04-10 02:15:31 +00:00
Bryce Denney d12a76d30b - Applied patch: pit-panic.
The 82c54 model (pit.cc) implements timer modes 0, 2, and 3 in its handler
  functions, without caring which timer number is involved.  However, the
  I/O write code that sets the mode is inconsistent.
    Timer 0 can be set to modes 0,2,3 only.
    Timer 1 can be set to mode 2 only.
    Timer 2 can be set to mode 2,3 only.
  From a quick reading of an 8254 datasheet, I can't see any reason to
  restrict which timer can be in which mode, so I think it's correct to
  allow ALL timers to go into ALL modes that are implemented.
2001-04-10 02:14:37 +00:00
Bryce Denney e2a0ce5c03 - Applied patch based on one by Roland Mainz, 4/1/2001.
Panic-is-fatal patch, allows user to choose whether to crash on bx_panic()
  or just print a warning.  The default behavior is still to crash.
2001-04-10 02:13:25 +00:00