Stanislav Shwartsman
086ee4c9aa
Fix code duplication in tas
2005-08-28 17:37:37 +00:00
Volker Ruppert
246d89d6a3
- SB16: in 16-bit mode the 8-bit DMA channel is used if 16-bit DMA is disabled
...
- SB16: improved some messages and changed some loglevels
- SB16 documentation updates
2005-08-27 08:17:13 +00:00
Volker Ruppert
2e8dccf684
- fixed floppy return status if media not present (MS-DOS expects value 0x80)
...
- more accurate handling of the floppy recalibrate function (removed panic)
- small code cleanups and optimizations in the floppy code (e.g. do .. while loops,
always using 0040:003e for the floppy interrupt flag)
- small updates ported from the PC BIOS project
2005-08-26 17:47:16 +00:00
Volker Ruppert
86c3c68dc4
- fixes for OS/2 in the floppy and rombios code (patch from Robin Kay)
...
* support for XDF images added
* floppy controller should hang if media not present
* rombios has to reset the floppy controller after read/write failure
2005-08-24 20:45:57 +00:00
Stanislav Shwartsman
823dfa6f40
This code will be required for dynamic translation in future.
...
For now it is no more than code duplication fix ...
2005-08-23 20:01:54 +00:00
Stanislav Shwartsman
59f9763f5b
Fix typo
2005-08-21 18:24:45 +00:00
Stanislav Shwartsman
b28ed3be69
Fix LDT.limit < 7 check
...
Indent for protect_ctrl.cc code
2005-08-21 18:23:36 +00:00
Volker Ruppert
fec5b4e135
- added new function set_signature() for several ATA/ATAPI commands
...
- ATA command 0x90 (execute drive diagnostics) now supports cdrom (Plan 9 boots now)
- indent mode in modified sections fixed
2005-08-21 17:40:45 +00:00
Volker Ruppert
9e514095fa
- modified Bochs console window name on win32
2005-08-20 16:41:41 +00:00
Volker Ruppert
9c98c6a5d1
- note added: mpartition doesn't handle large disk images properly
2005-08-19 17:59:30 +00:00
Alexander Krisak
7be0d52cce
Added missing reinitialization of field time_tick in guard_found
2005-08-15 15:43:04 +00:00
Alexander Krisak
672ac67ff9
Fixed bug in bochs debugger caused breakpoints doesn't fires sometimes.
2005-08-15 05:32:36 +00:00
Stanislav Shwartsman
84ce5ec720
do #GP in x86-64 mode if NT flag is set
2005-08-14 18:01:04 +00:00
Stanislav Shwartsman
681db0fd86
Roll back several incorrect changes in iret.cc
2005-08-14 17:23:03 +00:00
Volker Ruppert
b6f484f606
- fixed INT 09h keyboard flags handling
2005-08-14 17:19:44 +00:00
Stanislav Shwartsman
ab4367604c
Fixed compilation error when fpu-enabled and cpu-level=3
2005-08-13 17:40:41 +00:00
Volker Ruppert
aa648dd621
- now using the function get_builtin_variable() to get the default path for
...
the rom images. This is more accurate on win32 and fixes MSVC compilation error.
2005-08-13 16:49:11 +00:00
Stanislav Shwartsman
126069829d
Fixed compilation error when icache is disabled
2005-08-13 14:10:22 +00:00
Volker Ruppert
c688161ddf
- INT 70h has destroyed the upper word of EAX; save/restore all 32-bit registers now
2005-08-13 08:53:59 +00:00
Volker Ruppert
e5b7fa1b4b
- fixed segment and offset in int70h and modify the high bit only
2005-08-12 19:50:45 +00:00
Volker Ruppert
54ffde599a
- patch updated and improved
2005-08-10 19:29:22 +00:00
Stanislav Shwartsman
5b258fd453
Add todo file to CPU
2005-08-10 19:04:19 +00:00
Stanislav Shwartsman
80c895498e
Fixed comments for code
2005-08-10 18:40:38 +00:00
Stanislav Shwartsman
a66b45e024
Fixed bug for masked writes in 64-bit mode
2005-08-10 18:34:00 +00:00
Stanislav Shwartsman
b192b2af9b
Optimize pageWriteStamp checking
2005-08-10 18:18:57 +00:00
Stanislav Shwartsman
c9e44fb695
Added debug dump in case of tripple fault
2005-08-08 21:03:32 +00:00
Stanislav Shwartsman
37bd193337
Split PUSHF/POPF to 3 different methods according to op size.
...
By the way fix VIP/VIF flags handling in POPF/PUSHF (future fix for VME)
2005-08-08 19:56:11 +00:00
Volker Ruppert
3e54ad15b3
- description updated
2005-08-08 17:16:38 +00:00
Volker Ruppert
ea1898d46a
- initialize romimage and vgaromimage path using the BX_SHARE_PATH value and the
...
default filenames
- romimage options now appear below the memory size option
- indent mode changed and some comments updated
2005-08-07 15:50:07 +00:00
Volker Ruppert
38d6c547dc
- accept argument /? as help request on win32
...
- devices configuration added on top of the logfile
2005-08-07 09:03:15 +00:00
Volker Ruppert
ea18b29e12
- geometry autodetection for 'flat' hard disk images added. It works with all
...
images created with bximage (heads = 16, sectors per track = 63)
- size check for 'flat' hard disk images added. The image size is now compared
with the size calculated from the geometry.
2005-08-06 18:29:36 +00:00
Volker Ruppert
4f0892a8d4
- assign a unique serial number to each drive (fixes detection problems with
...
Linux kernels 2.6.x: "ignoring undecoded slave")
2005-08-05 18:35:00 +00:00
Stanislav Shwartsman
227fea6d77
do not check CS.limit in prefetch when in long64 mode
2005-08-05 18:23:36 +00:00
Stanislav Shwartsman
8616109eb8
revert back not correct change in fetchdecode
2005-08-05 12:53:09 +00:00
Stanislav Shwartsman
8be190d848
Implemented RDTSCP instruction
2005-08-05 12:47:33 +00:00
Stanislav Shwartsman
3e310fea90
Add changes for after 2.2.1
2005-08-04 19:52:56 +00:00
Stanislav Shwartsman
ea30a3ef06
Implemented CALL FAR in 64-bit mode
2005-08-04 19:38:51 +00:00
Stanislav Shwartsman
b8485d5f98
Fixed RSP checking
2005-08-04 19:31:59 +00:00
Stanislav Shwartsman
084b4fa2b2
Fixed IRET implementation for long mode
2005-08-03 21:19:11 +00:00
Stanislav Shwartsman
3681126235
Fixed ugly load_ss64/mode changing workaround in exception.cc
2005-08-03 21:10:42 +00:00
Stanislav Shwartsman
a096472646
Fixed NULL SS selector loading for ret_far
2005-08-03 21:01:02 +00:00
Stanislav Shwartsman
7f0fc6df78
Change BX_ERROR message to BX_DEBUG (flooding log file and slows down simulation)
2005-08-03 20:59:35 +00:00
Volker Ruppert
50dc860e0d
- initialize optromimage parameters in a for loop
...
- method set_format() is required in more cases (for hex numbers in wx dialogs
and in the plugin version with both config interfaces)
2005-08-03 19:24:20 +00:00
Stanislav Shwartsman
c6c721a450
Small fixes for call-far and others
2005-08-02 20:20:22 +00:00
Stanislav Shwartsman
d8ab4e3424
Fully implemented jump_far and ret_far in 64-bit mode.
...
Note that I am not sure about 100% correctness, I am just coding Intel specs ...
Code review and massive testing still required.
2005-08-02 18:44:20 +00:00
Stanislav Shwartsman
26f0662199
dos2unix
2005-08-01 22:18:40 +00:00
Stanislav Shwartsman
6a07173b3d
Split ctrl_xfer_pro.cc to 4 different files according to the operations
2005-08-01 22:06:19 +00:00
Stanislav Shwartsman
f096a80716
Fix code duplication for check_cs descriptor
...
The function will execute
- segment is executable code segment
- conforming/non-conforming segment priviledge checks
- segment is present
2005-08-01 21:40:17 +00:00
Stanislav Shwartsman
2c6393dd8b
Fixed memory corruption in APIC
2005-08-01 18:55:58 +00:00
Stanislav Shwartsman
954aae3f99
Speedup push/pop operations, they actually not needed to do can_push/can_pop checkes, the same checkes already done in read/write_virtial methods
...
Split push_seg_reg methods according to op size
2005-07-31 17:57:27 +00:00