Commit Graph

3956 Commits

Author SHA1 Message Date
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
Stanislav Shwartsman
eb462724b8 FPU_Info was not implemented, remove it 2003-07-31 18:54:48 +00:00
Stanislav Shwartsman
ec1203bc61 I am going to do complete revision on FPU code.
Reduce complexity of the code for nOw
2003-07-31 17:39:24 +00:00
Volker Ruppert
37f3ea02b0 - new accesss mask must be checked in the i/o read/write register function.
This is necessary for devices with different i/o port masks.
- BX_MAX_IO_DEVICES increased to 30
- io_len mask fixed and unnecessary io_len checks removed in
  * biosdev.cc
  * cmos.cc
  * dma.cc
2003-07-31 15:29:34 +00:00
Volker Ruppert
bcdcf42bdd - io_len mask in i/o register functions implemented (1 = 8bit, 2 = 16bit, 4 = 32bit).
Unallowed cases are now handled in devices.cc and cause a BX_ERROR.
- io_len mask fixed and unnecessary io_len checks removed in
  * devices.cc
  * extfpuirq.cc
  * gameport.cc
  * ne2k.cc
  * pit.cc
  * pit_wrap.cc (i/o register function calls replaced by DEV_* macro calls)
- TODO: implement this in all other devices
2003-07-31 12:04:48 +00:00
Bryce Denney
1d638d67b5 - spell fix 2003-07-30 13:20:46 +00:00
Bryce Denney
dcce1d8bcb - DarkElf (original author) sent a one-char typo fix
- Max Sanzharov sent a different one-char typo fix
2003-07-30 13:14:51 +00:00
Volker Ruppert
c496962184 - the NE2000 driver for MS-DOS writes a 16 bit value to page 0 reg 5. Now the
low-byte is written to this register and the high-byte is ignored.
2003-07-30 10:45:13 +00:00
Volker Ruppert
6723fc80a5 - the shutdown port now works if the debugger is enabled, too 2003-07-29 18:17:33 +00:00
Volker Ruppert
99a7d850b3 - byte writes to the first register of an ATA channel are ignored now (BX_PANIC
replaced by BX_ERROR)
2003-07-29 16:08:54 +00:00