Commit Graph

392 Commits

Author SHA1 Message Date
Bryce Denney
6a34f364e6 - patch to work around bug
[ #429383 ] real mode seg limit: Bochs does #GP when Pentium does not
2001-06-13 15:00:10 +00:00
Bryce Denney
073dfe781d - compile with debugger has failed because it continued to call bx_bochs_init
when main.cc no longer had one.  Now compiling with debugger is working
  with the control panel.  To get the control panel, you have to click
  the snapshot button, and to get the debugger, you have to press ^C.
  These should be better integrated (maybe a control panel menu choice
  that jumps into the debugger and a debugger command that starts the
  runtime control panel...)
2001-06-13 13:36:12 +00:00
Bryce Denney
f7cf1325f7 - default for runtime menu was listed wrong 2001-06-13 13:31:53 +00:00
Bryce Denney
a356868d15 - Rob added the install_dlx target to match the other packages 2001-06-13 12:47:30 +00:00
Bryce Denney
3e4694c5b5 - changed "Boot" options menu to "Memory" Options, this seems like a
better name given what the options actually are.
- now runtime menu behaves more like the others: it updates its floppy
  disk image, etc.
- add "ask" as a legal choice for log action
- now runtime menu has both ways of editing log options
2001-06-13 08:14:49 +00:00
Bryce Denney
a11b18da3a - in int13_diskette_function, return the right error code (AH=3) if a
write fails because the floppy disk was write protected.  Before, the
  floppy.cc model was unable to return this error, but now it can.
2001-06-13 07:23:26 +00:00
Bryce Denney
a66bf0edd3 - oops, the previous revision of floppy.cc needs floppy_xfer to return
void, not Bit32u.  Fixed in this revision.
2001-06-13 07:08:04 +00:00
Bryce Denney
7a095b60e4 - now floppy controller returns a proper error response if you try to write
a read-only disk image.  For systems such as DOS that actually use the
  BIOS services, it was also necessary to add code in int13_diskette_function
  to recognize a write-protected error and return the correct error
  status code (AH=3, Carry Set).
2001-06-13 07:06:10 +00:00
Bryce Denney
0b89a1c74f - mouse patch by Dave Spring <dave@spring.org>, which adds wrap mode
and remote mode.
2001-06-13 05:13:59 +00:00
Bryce Denney
76896f6bcd *** empty log message *** 2001-06-13 05:05:27 +00:00
Bryce Denney
2771ed7c0b - set prefix and type for unmapped 2001-06-13 01:46:08 +00:00
Bryce Denney
6ecd58beb9 - NOT A COMPLETE FIX!
now floppy.cc no longer crashes if you try to open a write-protected
  disk or read-only disk image.  Instead, it tries a second time to
  open the image read-only and only panics if this also fails.  If the
  image is opened read-only, a readonly flag is set
  (bx_floppy.s.media[drive].read_only).  If you try to write the floppy
  when this flag is set, the write silently fails except for some messages
  into the log.  Instead of failing silently we should learn what the
  floppy controller would really do in this situation and emulate it.
2001-06-13 00:30:34 +00:00
Gregory Alexander
d243a4d6cd Updated pit, fixed a compile problem under AIX. 2001-06-12 23:55:53 +00:00
Bryce Denney
e2ac907997 - fixed some out of date text at top of changelog. Thanks Cliff. 2001-06-12 23:28:46 +00:00
Bryce Denney
aeb6b817aa *** empty log message *** 2001-06-12 22:44:55 +00:00
Bryce Denney
ca200bb8bf *** empty log message *** 2001-06-12 22:42:55 +00:00
Bryce Denney
d25ef37769 - copy CHANGES and README from the 1.2.1 final version 2001-06-12 21:56:59 +00:00
Bryce Denney
733c2f3a19 *** empty log message *** 2001-06-12 19:22:50 +00:00
Bryce Denney
27a4a0979f *** empty log message *** 2001-06-12 19:21:00 +00:00
Bryce Denney
4940c3bc63 - closer to a shell script, uses $VERSION variable to do substitution 2001-06-12 18:36:27 +00:00
Bryce Denney
49e4c66d22 - include changelog for 1.2.1 2001-06-12 18:31:12 +00:00
Bryce Denney
ca7914e7c7 - remove all curly brackets from makefiles! Before, I had done this by
just being careful what I wrote in the Makefile.in.  But now configure
  itself is substituting values for prefix and exec-prefix that include
  curly brackets, so being careful was no longer good enough.  If you
  run .conf.win32-vcpp it will remove them.
2001-06-12 17:26:17 +00:00
Bryce Denney
f822257511 - there were cases where BX_APIC_SUPPORT were used and others where
BX_SUPPORT_APIC were used.  To follow the pattern used by other
  names like this, I changed them all to BX_SUPPORT_APIC.
  Thanks to Tom Lindström for chasing this down!
2001-06-12 13:07:43 +00:00
Bryce Denney
85372121ac - moved spec file to redhat subdir 2001-06-12 12:46:05 +00:00
Bryce Denney
3e35c4fae4 - moved the redhat RPM specfile from linux/bochs.rpmspec.template to
redhat/bochs.rpmspec.template
2001-06-12 12:42:06 +00:00
Bryce Denney
5bddd9dc5d - added debian build directory, contributed by
Rob Lemley <rjlemley@calypsoblue.org>
2001-06-12 12:40:30 +00:00
Bryce Denney
19bbda01ca - add test for struct timeval 2001-06-12 03:37:55 +00:00
Bryce Denney
e6c30ac6e9 - change multiline strings to use "line" "line2" syntax instead of
backslash at the end of each line
2001-06-11 21:03:05 +00:00
Bryce Denney
2d8fabda22 - clean up compiler warnings for gcc 2001-06-11 20:51:15 +00:00
Bryce Denney
42f03956f5 - removed string_list_t which was no longer used, and caused AIX compile
problems.
2001-06-11 20:48:12 +00:00
Bryce Denney
d238f77066 - clean up compiler warnings 2001-06-11 20:39:05 +00:00
Bryce Denney
7baabf07e6 - eliminated some compiler warnings 2001-06-11 20:27:23 +00:00
Bryce Denney
845b124240 - iodev.h should be ../iodev/iodev.h 2001-06-11 14:14:30 +00:00
Bryce Denney
19684ead48 - print the event type correctly in control panel (used to assume it was
a panic)
2001-06-11 14:07:54 +00:00
Bryce Denney
a56dedb386 - added a new log action "ask" which sends the log message to the control
panel.  It gives the user the option of continue this time, continue
  and never ask again for this type of log message, or die.
- the communication between control.cc and siminterface.cc is still
  somewhat crude.  I'm trying to implement it so that a network
  protocol based on this interface will be simple.  I'll get this cleaned
  up soon.
2001-06-11 14:03:35 +00:00
Bryce Denney
a97df5a8fa - add some #if's to compile the control panel stuff only when
BX_USE_CONTROL_PANEL is set.  I put the #if...#endif thing around
  the entire file in siminterface.cc and control.cc so that it's safe
  to compile them in either case.
2001-06-11 06:48:37 +00:00
Bryce Denney
b1161e3a6b - added BX_FLOPPY_LAST 2001-06-11 06:47:14 +00:00
Bryce Denney
985d4b7923 - implemented bx_write_configuration which, for the first time ever,
writes a bochsrc for you.
- since there were two options related to logging, I moved them both
  into a new struct called bx_log_options.  This follows the pattern
  used by other devices.
- in control.cc: removed option 1 from main menu, the one that said
  "Read options from bochsrc.txt."  This was identical to choosing
  the next option, "Read options from..." and only saved you one
  keystroke, so I removed it.
2001-06-11 06:35:18 +00:00
Bryce Denney
17f2be70b9 - removed LOG_THIS from header file, since it was already defined in the
.cc files
2001-06-11 06:21:07 +00:00
Gregory Alexander
3c2384b270 Include new PIT .h file. 2001-06-11 03:11:40 +00:00
Gregory Alexander
32f50ddc6d Added hooks for new PIT. Now compiles it into bochs binary
but doesn't use it yet.  Still needs improvement before it
becomes the default bochs PIT.
2001-06-11 03:09:40 +00:00
Gregory Alexander
3a58858042 Added a .h file for the pit. 2001-06-11 00:16:24 +00:00
Gregory Alexander
af1b064007 Added a few access functions to pit, also changed
the constructor to an init function so that it can
be called at any time.
2001-06-10 23:53:09 +00:00
Gregory Alexander
56b670a371 Added ssize_t to cygwin setup. Should compile out of
the box under cygwin.
2001-06-10 21:26:11 +00:00
m2calabr
56510e445d Updated docbook2html command in Makefile and added more FAQ enties in user.dbk 2001-06-10 06:50:01 +00:00
Bryce Denney
16af12a9b3 - a few revisions back, I somehow lost the BX_CPANEL_START_OPTS_DISK
section.  Now it is back.  (This fixes a segfault when you "Disk Options")
2001-06-10 05:30:27 +00:00
Gregory Alexander
34fd23a74f Changed behavior of snprintf under cygwin. 2001-06-10 04:00:06 +00:00
Gregory Alexander
43916eb6ad Added config.h and osdep.h to make this compile under cygwin. 2001-06-10 03:53:43 +00:00
Gregory Alexander
279acf5e46 Fixed a problem with some systems not having struct timeval.
This is a temporary fix, we really need something in autoconf.
2001-06-10 01:35:10 +00:00
Bryce Denney
dffe013ff8 - fix interface menu 2001-06-09 21:29:07 +00:00