Commit Graph

3608 Commits

Author SHA1 Message Date
Christophe Bothamy
fde8bda1be - update after running "libtoolize --force --copy", with libtool 1.5 2003-08-28 00:09:21 +00:00
Christophe Bothamy
e6d4e77ecf - import new asm patch by Conn Clark 2003-08-27 23:43:23 +00:00
Volker Ruppert
16f092644c - filename "bochsrc.bxrc" added to the search list (win32 only)
- changed some parameter names and descriptions
- some unnecessary set_format() calls removed
- old commented stuff removed
2003-08-27 17:52:02 +00:00
Christophe Bothamy
a6f0158745 - add possibility to have both sync method active at the same time 2003-08-26 20:24:36 +00:00
Christophe Bothamy
04199f821c - add new changes 2003-08-26 20:19:40 +00:00
Volker Ruppert
6f9bd7fe9c - ParamDialog: missing range check for numerical parameters added
- the message boxes are now centered in the parent dialog box
2003-08-26 17:25:26 +00:00
Volker Ruppert
5972db38f7 - new keyboard options menu
- default output of bx_param_enum_c::text_print() fixed
- unused stuff removed
2003-08-25 18:36:09 +00:00
Volker Ruppert
ca60988fd9 - wx: NetConfigDialog replaced by a new version using ParamDialog
- parameter for the ethernet module must be of type bx_param_enum_c, since we
  have a list of valid modules
2003-08-25 16:46:18 +00:00
Volker Ruppert
63e67d7bcc - ParamDialog: support for bx_param_string_c::RAW_BYTES added (grabbed from textconfig.cc)
- bx_param_string_c: new methods get_separator() and get_maxsize()
2003-08-25 15:21:19 +00:00
Christophe Bothamy
9f31872f4b - implement reset on triple fault
- old behavior (panic) can be used by setting BX_RESET_ON_TRIPLE_FAULT to 0 in config.h
2003-08-24 23:39:33 +00:00
Christophe Bothamy
6977467ed7 - fix flaw in IO bitmap permission handling (anonymous patch)
From the author (see bug #663320) :
  In the code there is a check to verify that an IO bitmap
  is defined (io_base > BX_CPU_THIS_PTR
  tr.cache.u.tss386.limit_scaled) but there is no check if
  an accessed IO port's address actually falls within the
  defined limit of the TSS segment. So if I define an IO
  bitmap with 100 entries, port 101 may or may not be
  allowed depending on whatever bytes follow the TSS in
  memory
2003-08-24 23:14:52 +00:00
Christophe Bothamy
6c66a9a9a9 - write cmd 0x70 (seek) should not set drq. (fix by Mathis) 2003-08-24 22:44:44 +00:00
Christophe Bothamy
68f3624f66 - fix compile and segfault problems when configuring debugger and smp 2003-08-24 10:30:07 +00:00
Volker Ruppert
d29016ff20 - loader hack definitions moved from bochs.h to siminterface.h
- ParamDialog::EnumChanged(): hard disk mode item added, loader hack stuff added
- dependent_list for the ne2k options added
2003-08-24 10:08:49 +00:00
Volker Ruppert
b78c910e8f - obsolete harddisk and cdrom dialogs removed
- wx.cc must not include wxdialog.h
2003-08-23 17:53:27 +00:00
Volker Ruppert
be5bd5dca4 - wx: most of the config dialogs are now generated from a parameter list
- new bx_list_c for keyboard options (used in wx, TODO in textconfig)
- new flag USE_BOX_TITLE controls the usage of the list name for the group box label
- wxdialog.cc: unused variable removed
2003-08-23 15:28:06 +00:00
Volker Ruppert
855af72c8a - win32dialog now uses always the parameter name for dialog titles and lables
- siminterface: ask_filename() uses the prompt for the parameter name
- wx: missing title of the CMOS dialog added
- floppy path parameter names changed (used by win32config)
- user shortcut parameter description added
2003-08-23 09:52:26 +00:00
Volker Ruppert
7d1e4138fa - the boot dialog box and the message boxes are now centered in the Bochs main window 2003-08-23 05:34:40 +00:00
Christophe Bothamy
62a7867e19 - add fixes for wx kindly suggested by Volker 2003-08-22 16:52:38 +00:00
Christophe Bothamy
4942684e51 - remove unused "split" disk mode
- fix value displayed in wx for clock.time0 parameter
2003-08-22 01:00:58 +00:00
Christophe Bothamy
8d8ae28b2f - avoid ethertap detection when compiling for win32 2003-08-22 00:57:31 +00:00
Volker Ruppert
4e10730479 - missing return value added in function start_cdrom() 2003-08-21 18:27:01 +00:00
Volker Ruppert
bc58b6ca15 - function OnEditCmos(): parameter BXP_CMOS_TIME0 changed to BXP_CLOCK_TIME0
- function OnEditSpeed(): parameter BXP_REALTIME_PIT changed to BXP_CLOCK_SYNC
2003-08-21 18:26:18 +00:00
Jeroen Janssen
5a023a8ad5 applied slowdown timer crosscompile fix 2003-08-20 06:26:27 +00:00
Jeroen Janssen
17bbc9ddfb added mingw resource patch 2003-08-19 16:49:51 +00:00
Christophe Bothamy
832ef1209f - apply .bochsrc, cdrom, serial and ethernet patches for NetBSD
(patches by fredb, uebayasi and david laight)
2003-08-19 00:37:03 +00:00
Christophe Bothamy
e555765d75 - add a "clock: sync=[none|slowdown|realtime], time0=[timeValue|local|utc]"
- pit: and time0: options are still supported but deprecated
- warn when parsing deprecated directives
- fix wrong number of ata_device_translation_names
- still to do:
  - setting time0 to utc is not yet supported
  - the man page, user guide and .bochsrc still need to be updated
    with the new options
2003-08-19 00:10:39 +00:00
Christophe Bothamy
fb171e482a - apply MartinS compile patch for missing function in curses 2003-08-17 23:40:39 +00:00
Christophe Bothamy
109805f5b8 - remove the comment about 8x8 font.
Volker confirmed that the whole 8x8 font should be present in the vgabios.
2003-08-17 21:48:15 +00:00
Christophe Bothamy
52e6645fb6 - fix segfault reported by MartinS in the ml, due to an uninitialized variable 2003-08-17 20:50:11 +00:00
Stanislav Shwartsman
79f46df971 separate APIC from CPU 2003-08-17 18:55:16 +00:00
Alexander Krisak
8559551001 iretd cpu instruction in real mode implemented, i hope this closes bugs 537047,
603410, 637822, 664544, 687619.
2003-08-17 18:15:04 +00:00
Volker Ruppert
86e8e3d202 - description for bochsrc option "cmosimage" added
- section "enter-special-keys" updated
2003-08-17 17:42:26 +00:00
Christophe Bothamy
485ee8838b - update LGPL'd vgabios with release 0.4a 2003-08-17 15:41:12 +00:00
Volker Ruppert
266864927a - added descriptions for the options "cmosimage" and "usb1"
- updated description of "user_shortcut"
- fixed description of "ne2k"
2003-08-17 15:31:37 +00:00
Christophe Bothamy
1e568ccba3 - regen from rombios.c rev1.95 2003-08-16 20:13:18 +00:00
Christophe Bothamy
f75ef317e5 - add 128 first 8x8 chars at 0xfa6e (fixes bug #787138 No ROM BIOS character map) 2003-08-16 20:11:28 +00:00
Stanislav Shwartsman
ecd8077b99 Fixed fetch qword function 2003-08-15 15:17:56 +00:00
Stanislav Shwartsman
3826f8cb58 update changes 2003-08-15 14:01:34 +00:00
Stanislav Shwartsman
cacf1d783a the patch is already committed to the main trunk 2003-08-15 13:56:52 +00:00
Stanislav Shwartsman
60ca3ac674 ;; is not so necessary ;) 2003-08-15 13:18:53 +00:00
Stanislav Shwartsman
f6711d51f2 Fixed very serious bug in x86-64 with wrong decoding of opcodes with two immediates 2003-08-15 13:17:16 +00:00
Stanislav Shwartsman
6aa0a62fe7 Optimizing fetchdecode 2003-08-15 13:08:24 +00:00
Volker Ruppert
3aa43a86aa - a few missing options added
- Amiga specific options are disabled now
2003-08-14 18:22:27 +00:00
Volker Ruppert
bec6d903fd - function bx_write_configuration() fixed:
* option "cmosimage" must be saved, too
  * most important options (config_interface, display_library, megs, romimage,
    vgaromimage, boot) moved to the top of the saved file
2003-08-14 16:14:04 +00:00
Alexander Krisak
9edbc539f4 fixed message shown by 'info gdt' command 2003-08-12 11:23:10 +00:00
Volker Ruppert
e3478a152d - #if must be used for XPM checks, since BX_HAVE_XPM_H is always defined 2003-08-11 19:27:57 +00:00
Christophe Bothamy
acb80d7fad - add two more SF bug reports fixes 2003-08-11 17:24:55 +00:00
Alexander Krisak
396d948d1b Applied Andrew's Zabolotny patch which gives posibility for program to popup debugger by writing 'D' character to 0x8900 port 2003-08-10 17:19:49 +00:00
Volker Ruppert
d386471ac4 - new option allows the user to disable the check for XPM support (enabled by default) 2003-08-10 16:05:41 +00:00
Alexander Krisak
dff55105b1 fixed posible zero divide in calculator 2003-08-10 14:19:03 +00:00
Alexander Krisak
54c0e48fc4 info ivt debugger command show little comment about interrupt handler now 2003-08-10 14:03:29 +00:00
Alexander Krisak
3f9bf82549 calculator show result of expression in decimal format as well as in hexadecimal 2003-08-10 13:26:02 +00:00
Volker Ruppert
411a91e047 - runtime configuration section added
- fixed VESA/VBE and USB description
2003-08-10 08:21:12 +00:00
Christophe Bothamy
d0ff0c92ab - use ATA device parameters macros, instead of computed values
- add the "journal" option to the ataX-xxx directive, so the user can
  set a specific path for the redolog file (applies only for undoable
  and volatile disk modes)
- add the enable handler, so the status and journal options of the ataX-xxx
  directive can be hidden even if the ataX-xxx parameter is enabled.
2003-08-09 23:17:50 +00:00
Christophe Bothamy
1583a2ebb2 - add ATA device parameters access macros
- add handlers called when a parameter is enabled or disabled.
  This is useful for parameter dependent on another, that may
  not wish to be enabled when its father parameter is enabled.
2003-08-09 22:17:38 +00:00
Volker Ruppert
1f86e5c24c - usb1 line added in sample bochsrc
- USB added in the features, bochsrc and configure options sections
- description of the special bochsrc option '#include' added
2003-08-09 17:52:35 +00:00
Volker Ruppert
6e1745e507 - documentation changes added 2003-08-09 14:36:32 +00:00
Volker Ruppert
a516c905e4 - new section "The configuration interface 'textconfig'"
- headerbar.png for the documentation added
2003-08-09 11:42:22 +00:00
Christophe Bothamy
b973aebda4 - update with latest changes 2003-08-08 23:39:41 +00:00
Christophe Bothamy
8b6669674d - add patch from SF #704181 bochs-2.0.win32 CPU interrupt function
fixes a bug in exception handling in v8086 mode

  Here are comments from the author:
   Since the bug of bochs-2.0.win32 was found and
   corrected, it reports. cpu/exception.cpp of src : Within
   an interrupt() function, when present is the V8086 mode,
   a bug is in the portion which processes 386 (286)
   int/trap gate. From the V8086 mode, this portion is
   performed, when it is going to execute an int imm
   command. The portion in which push_32 () is called in
   the state of VM=1 is still a mistake. Although this
   push_32 () tends to write in to the stack of a protected
   mode, if it is still VM=1 of EFLAGS, the
   write_virtual_dword() function called out of push_32 () will
   take out a segment protection exception. After
   performing clear_VM() etc., it is necessary to make it
   call push_32 () correctly, since EFLAGS is saved locally.
2003-08-08 00:20:44 +00:00
Christophe Bothamy
a7f871221b - applied SF patch #748414 load32bitOShack bug 2003-08-08 00:05:53 +00:00
Stanislav Shwartsman
34e6a8ed15 update sanity checks 2003-08-07 19:22:37 +00:00
Stanislav Shwartsman
10653c2a6a ... 2003-08-07 18:54:04 +00:00
Christophe Bothamy
911484b161 - add new fixed bug #764473 Freesco Linux crashes on boot 2003-08-07 00:24:38 +00:00
Christophe Bothamy
6712256448 - recompile rombios.c rev1.94 2003-08-07 00:04:05 +00:00
Christophe Bothamy
8fba74e1d1 - fix sf bug #764473 Freesco Linux crashes on boot
Syslinux 1.48 that is used to boot freesco, did not like the latest
  int15 function e801 returning AX=0 and BX=0, although my real
  system does, and Ralph Brown list allow it.

  Interestingly enough, the symptoms were floppy accesses with a track
  number > 100. Funny.

  Now int15 function e801 returns both extended and configured memory.
2003-08-07 00:02:24 +00:00
Christophe Bothamy
42ad2eaa1e - fix Bochs failing to panic when BIOS images can not be loaded 2003-08-06 08:24:14 +00:00
Christophe Bothamy
849cfb7ab2 - update with my changes
- add list of closed bugs from SF
2003-08-05 17:03:58 +00:00
Volker Ruppert
5e52e85134 - replaced by patch.debugger_disasm.vitaly_vorobyov 2003-08-05 17:03:15 +00:00
Christophe Bothamy
575287a144 -fix segfault bhen running with smp enabled 2003-08-05 13:19:35 +00:00
Christophe Bothamy
ae0b7c45a3 - Fix Elpin VGAbios size. It can't really be 32769 bytes.
I stripped the last byte, it seems to work ok.
2003-08-05 13:03:22 +00:00
Alexander Krisak
0926e74aa0 Applied patch removed 2003-08-05 10:57:22 +00:00
Christophe Bothamy
05831b7398 - those pateches have been applied to the main code. Files removed. 2003-08-05 10:06:41 +00:00
Alexander Krisak
d03e9381a0 Fixed broken build, reported by Jeroen Janssen 2003-08-05 09:19:36 +00:00
Alexander Krisak
e6e4ec77f3 additional messages for info ivt 2003-08-04 16:35:49 +00:00
Christophe Bothamy
8e584d3f8d - fix patch format problems 2003-08-04 16:31:08 +00:00
Alexander Krisak
45df735c30 Apply Vitaly's Vorobyov debugger patch 2003-08-04 16:03:09 +00:00
Christophe Bothamy
e42c4f6c8f - remove Vitaly Vorobyov patches collection
- and split it into easily useable patches
2003-08-04 15:09:02 +00:00
Stanislav Shwartsman
bd2ea4bfaf patches_collection.vitaly_vorobyov.tar.gz have no '-kb' switch in cvs, wich cause that patch downloaded broken on Win32 (0xd,0xa translation) 2003-08-04 13:39:37 +00:00
Stanislav Shwartsman
69f69a9801 patches_collection.vitaly_vorobyov.tar.gz have no '-kb' switch in cvs, wich cause that patch downloaded broken on Win32 (0xd,0xa translation) 2003-08-04 13:39:01 +00:00
Stanislav Shwartsman
ae2d2698a1 Fixed print FPU registers in debugger 2003-08-04 13:36:15 +00:00
Stanislav Shwartsman
2c3753e6c2 dos2unix fix 2003-08-04 13:27:39 +00:00
Alexander Krisak
5cba85429b info ivt debugger command fixes, thanks for Vitaly Vorobyov 2003-08-04 09:14:01 +00:00
Stanislav Shwartsman
58d824aeb4 CHANGES UPDATED 2003-08-03 17:20:22 +00:00
Stanislav Shwartsman
4ba856a52b Committed syntax error fixes from Vitaly Vorobyov.
Syntax error fixes:
  [x] fixed error with array bounds in virt_timer.cc
  [x] fixed error with returning value from void functions
  [x] fixed const class member initialization (according C++ standard)
  [x] for-loop local variable declaration moved out of loop
      (for VC 6.0 compliance)

Removed already committed patch from Dirk Thierbach
Replaced the patch from Vitaly Vorobyov by set of splitted patches.
Now any of his patches could be committed separatelly from others !
2003-08-03 17:04:02 +00:00
Stanislav Shwartsman
549eb70324 Committed CPU fixes from Vitaly Vorobyov:
[x] fixed bug in int01 (opcode 0xF1) emulation
[x] fixed bug in x86 debugger with dr0-dr3 registers

Committed disassembler bugfix from Dirk Thierbach:

[x] fixed bug in relative addresses in Jmp, Jcc, Call and so on
2003-08-03 16:44:53 +00:00
Volker Ruppert
8b8b9b0450 - a few new changes add 2003-08-03 15:46:12 +00:00
Volker Ruppert
e868cea81e - removed files completely ported to docbook
- removed obsolete files
- updated index.html
- fixed cvs-structure.txt
2003-08-03 08:58:40 +00:00
Volker Ruppert
d6137e6952 - improved section "What does Bochs need?" 2003-08-03 08:56:02 +00:00
Volker Ruppert
7a9ea98a68 - new section: description of the config file search order
- installation instructions for FreeDOS Beta 8 added
- sb16 section: description of SB16CTRL.EXE improved
- description of the user shortcut feature updated
2003-08-02 15:20:53 +00:00
Volker Ruppert
b3031cf934 - sb16 section updated (duplicate stuff removed, missing tables added) 2003-08-02 10:46:18 +00:00
Volker Ruppert
a7a36ee0a1 - removed files completely ported to docbook
- removed obsolete files
- updated index.html and install.html
2003-08-01 19:00:38 +00:00
Stanislav Shwartsman
53d68b3d48 Added patch from Vitaly Vorobyov 2003-08-01 16:58:00 +00:00
Volker Ruppert
6d0b1d716a - new section "Command line arguments" added
- harddisk mode "growable" renamed to "growing"
2003-08-01 16:09:53 +00:00
Alexander Krisak
3f8e59601c info ivt debugger command with typo fixes from Max Sanzharov and Bryce Denney 2003-08-01 10:14:48 +00:00
Stanislav Shwartsman
1616539667 additional FPU changes 2003-08-01 09:32:33 +00:00
Christophe Bothamy
974d3538a1 - change disk image mode name "growable" to the more accurate "growing" 2003-08-01 01:20:00 +00:00
Stanislav Shwartsman
1f48fc3178 Changed FPU emulation internal variables names to smth more unique 2003-07-31 21:07:38 +00:00
Volker Ruppert
df2d388fa4 - io_len mask fixed and unnecessary io_len checks removed from the remaining
devices except pciusb
2003-07-31 19:51:42 +00:00