Volker Ruppert
24eaffd453
- dma read/write functions of floppy and sb16 are now private members of the
...
device objects
- sb16: function opl_timerevent() and variables currentdma8 and currentdma16
are now private members of the device object
2002-11-10 10:14:55 +00:00
Volker Ruppert
95699f5a46
- removed initialization of the PCI plugins from init() since it is done by
...
bx_init_plugins()
2002-11-10 08:12:12 +00:00
Volker Ruppert
01027b46c9
- converted devices pci and pci2isa to plugins
...
- moved PCI presence check to devices.cc
- moved initialization of the PCI register arrays from constructor to init()
- PCI macros updated
2002-11-09 20:51:40 +00:00
Stanislav Shwartsman
6c6519a73d
Implemented SSE2 integer instructions:
...
PMULHW_VdqWdq
PMULHUW_VdqWdq
PMULLW_VdqWdq
MOVNTI_MdGd
Somedoby that is the difference between MOVNTPD, MOVNTPS, MPVNTDQ instructions ?
2002-11-09 19:22:00 +00:00
Christophe Bothamy
81eca54b51
- fix [ 625696 ] text config menu: default can be wrong.
...
New behaviour is:
. No command line arg (user want to load or create a new conf file)
-> no .bochsrc is loaded
-> defaults to "2. Read options from..."
. command line arg -q (user want to quick start from .bochsrc)
-> .bochsrc is loaded
-> if found Run the simulation
-> if not found defaults to "2. Read options from..."
. command line arg -f (user want to edit a conf file)
-> conf file is loaded
-> if found defaults to "3. Edit options"
-> if not found defaults to "2. Read options from..."
. command line arg -qf (user want to quick start from a conf file)
-> conf file is loaded
-> if found Run the simulation
-> if not found defaults to "2. Read options from..."
. After selection of "2. Read options from..."
-> defaults to "5. Begin simulation"
- fix "enable-control-panel" behaviour in configure.in.
- check if a romimage was supplied in the conf file.
If not, print a hint about a missing/corrupt conf file.
I hope I did not break anything, notably the Carbon gui
2002-11-09 14:12:10 +00:00
Volker Ruppert
52e703d8e8
- replaced all #if BX_WITH_WX sections by a check for the active config
...
interface at runtime. The behaviour of the button handlers was wrong if bochs
is configured with plugins and all display libs enabled, wxWindows is present
and a gui using textconfig is selected.
The wx cdrom button still doesn't work since get_first_cdrom() always returns
NULL.
2002-11-09 06:41:34 +00:00
Christophe Bothamy
4f843a183e
- add check if cdrom.ready before reading another block. (this should not happen, but...)
2002-11-08 22:14:55 +00:00
Christophe Bothamy
6504dd74b1
- add check for existence of sockaddr_in.sin_len in configure
...
- set sockaddr_in.sin_len in gdbstub.cc only if above check is ok
- change direct bx_vga object reference to DEV_vga_ in gdbstub.cc
2002-11-08 21:29:16 +00:00
Stanislav Shwartsman
bc0463f08a
Implemented
...
PSRLDQ_WdqIb
PSLLDQ_WdqIb
instructions
2002-11-08 21:09:17 +00:00
Christophe Bothamy
4139916e92
- floppy patches from Alex Thiel, from the mailing list.
2002-11-08 20:44:09 +00:00
Stanislav Shwartsman
790430bf22
#UD exception condition for SSE instructions fixed
2002-11-08 20:27:42 +00:00
Stanislav Shwartsman
3cd6f7282d
Alloc setting OFXCSR (bit9) of CR4 in SSE/SSE2 enabled
2002-11-08 20:26:12 +00:00
Stanislav Shwartsman
a814c00278
MOVD_EdVd: bugfix
2002-11-08 17:50:20 +00:00
Stanislav Shwartsman
0df9c9af85
Implemented integer SSE2 instructions:
...
PSRLW_PdqIb
PSRLD_PdqIb
PSRLQ_PdqIb
PSLLW_PdqIb
PSLLD_PdqIb
PSLLQ_PdqIb
PSRAW_PdqIb
PSRAD_PdqIb
PSRLW_VdqWdq
PSRLD_VdqWdq
PSRLQ_VdqWdq
PSRAW_PdqWdq
PSRAD_PdqWdq
PSLLW_VdqWdq
PSLLD_VdqWdq
PSLLQ_VdqWdq
PMOVMSKB_GdVRdq
PMULUDQ_VdqWdq
PMINUB_VdqWdq
PMINSW_VdqWdq
PMAXUB_VdqWdq
PMAXSW_VdqWdq
Fixed bug in the PMINUB_PqQq and PMAXUB_PqQq SSE instructions
2002-11-08 17:47:46 +00:00
Stanislav Shwartsman
c98b30af0c
Changed BX_INFO to BX_PANIC for still not implemented SSE2 instruction
...
I just forgot to change the BX_INFO before ...
2002-11-08 14:35:03 +00:00
Stanislav Shwartsman
2f214c34ed
Fixed compilation problem ...
2002-11-08 14:26:04 +00:00
Stanislav Shwartsman
1ec420be74
Implemented SSE2 integer instructions:
...
PADDUSB_VdqWdq
PADDUSW_VdqWdq
PSUBSB_VdqWdq
PSUBSW_VdqWdq
PADDSB_VdqWdq
PADDSW_VdqWdq
PSADBW_VdqWdq
PUNPCKLBW_VdqWq
PUNPCKLWD_VdqWq
PUNPCKLDQ_VdqWq
PUNPCKLQDQ_VdqWq
MOVDQA_VdqWdq
2002-11-08 14:23:34 +00:00
Volker Ruppert
942c4c6c36
- added parentheses in function bx_real_sim_c::get_first_cdrom()
...
BUG: this function should be called if you press the wx cdrom button
2002-11-08 13:18:05 +00:00
Stanislav Shwartsman
4363745725
Implemented SSE2 integer instructions:
...
PACKSSDW_VdqWdq
PUNPCKHDQ_VdqWq
PUNPCKHWD_VdqWq
PUNPCKHBW_VdqWq
PUNPCKHQDQ_VdqWq
MOVD_EdVd
MOVD_VdqEd
2002-11-08 12:47:24 +00:00
Stanislav Shwartsman
b200ff2058
Implemented several integer SSE2 instructions (similar to the MMX):
...
PACKSSWB_VdqWq
PCMPGTB_VdqWq
PCMPGTW_VdqWq
PCMPGTD_VdqWdq
PACKUSWB_VdqWdq
PCMPEQB_VdqWdq
PCMPEQW_VdqWdq
PCMPEQD_VdqWdq
PADDQ_VdqWdq
PSUBUSB_VdqWdq
PSUBUSW_VdqWdq
PAND_VdqWdq
PANDN_VdqWdq
PAVGB_VdqWdq
PAVGW_VdqWdq
POR_VdqWdq
PXOR_VdqWdq
PSUBB_VdqWdq
PSUBW_VdqWdq
PSUBD_VdqWdq
PSUBQ_VdqWdq
PADDB_VdqWdq
PADDW_VdqWdq
PADDD_VdqWdq
PADDQ_VdqWdq
2002-11-07 22:41:34 +00:00
Christophe Bothamy
92f04bdd0b
- fix "if ((addr < 0xB0000) | (addr > 0xB7FFF)) return;" bug, thanks to Kazuo Fox Dohzono
2002-11-07 22:02:13 +00:00
Christophe Bothamy
48200d4936
- compile rombios.c r1.78
2002-11-07 21:58:19 +00:00
Christophe Bothamy
5d7b0701df
- clean up in and out keyboard buffer before self test
2002-11-07 21:57:27 +00:00
Jonathan S. Shapiro
5d46a86614
Patched the make-rpm script to work when rpmbuild exists.
...
I am somewhat unhappy about the fact that this patch relies (at the
top) on finding rpmbuild in /usr/bin/. A better patch would search the
user's path properly, or perhaps be generated via configure to know
the correct rpmbuild path.
2002-11-07 16:00:14 +00:00
Jonathan S. Shapiro
7b394f037e
Change disassembly printout to print the *physical* as well as the
...
logical address when performing disassembly. When you know the physical
address, the pbreak command spontaneously becomes much more useful.
2002-11-07 15:58:05 +00:00
Jonathan S. Shapiro
eb21a1ef5c
Kevin looked at the push_64() change and thinks its reasonable, so I'm
...
switching the BX_PANIC to a BX_INFO.
2002-11-07 15:42:14 +00:00
Jonathan S. Shapiro
1893bf78e1
Disassembly now picks up the current 16/32 bit mode from CS register
...
by default.
Rearranged the output to make the output instructions always appear in
the same column, which makes them considerably easier to read.
I have *not* done the physical address display changes -- plan to do
that separately.
2002-11-07 15:32:38 +00:00
Jonathan S. Shapiro
0aac231adb
Changed push_32() and push_64() to issue SS(0) for a push outside of
...
stack limits. This is needed for EROS, and probably for L4, as both
rely on this SS fault (and the corresponding GP fault) to trigger the
switch from small address spaces to large address spaces. The
push_16() code was already correct, and I find the inconsistency a bit
odd.
I'm not 100% sure about the push_64() change, so I made the change
with a comment but left it a BX_PANIC() rather than switching it to
BX_INFO. I'll ask Peter momentarily to have a look and let me know.
While I was added, changed the push_16() BX_INFO message to be
consistent with the others -- all now say 'push outside stack limits'.
2002-11-07 14:02:47 +00:00
Christophe Bothamy
b5b78258bf
- remove extrneaous CDROM feature entry
...
- add tuntap configuration section
- add debug with gdb stub section
- convert The Hurd install doc from Bruno Bonfils
- add Install japanese Win95 section
2002-11-05 22:11:57 +00:00
Bryce Denney
2492b63694
- minor fixes and updates in chapter 1
2002-11-05 18:11:04 +00:00
Bryce Denney
fb601bbbc5
- merge David's changes from 1.52 back in, leaving Christophe's changes alone
2002-11-05 17:46:39 +00:00
Bryce Denney
6aa9c11e00
- revert back to 1.51 since David accidently removed Christophe's changes
2002-11-05 17:45:05 +00:00
David Guarneri
8d6772798d
Added section "Install Windows 95 From Floppies" taken from old documents written by Kevin. Plan to add section "Install Windows 95 with CD-ROM" in the near future.
2002-11-05 08:19:36 +00:00
Christophe Bothamy
b8fc42d6a7
- compile rombios.s r1.77
2002-11-04 23:57:53 +00:00
Christophe Bothamy
70b7d13763
- remove patch.keyboard-biosinit-asulmicki
...
- add new keyboard init code from Adam Sulmicki
- changed last cli() to #asm cli #endasm
- remove unused cli() function
- don't panic on shutdown status 0x09. just do the normal post
2002-11-04 23:56:56 +00:00
Volker Ruppert
f375a0743b
- the value of the command register must be always 0x00 (BX_ERROR fixed)
2002-11-04 17:29:12 +00:00
Peter Tattam
4addb73d99
External debugger patches.
...
Formatting problem in printf()
2002-11-04 05:38:12 +00:00
Peter Tattam
1bb5040031
Miscellaneous patches for Tattam's External Debugger.
...
- Now compiles for plain ia-32
- Fixed some printf formatting for ia32 only.
- Update to latest Win32 DLL
- Added an ICEBP (Undoc 0xF8, INT 01) facility.
- updated to use latest VGA refresh routine
2002-11-04 05:27:26 +00:00
Christophe Bothamy
d9c8cb51f5
- move Win LE install tips from misc.txt fo user.dbk
...
- Features :
- add enhanced bios
- add Multiple ATA channels
- fix harddrive and cdrom
- add info about keyoard mapping
- add link to tuntap config
- add PCI
- add Copy and Paste
- add reference to openprojects.net IRC channel
- bochsrc :
- add optromimage[1-4] paragraph
- add example of LGPL vgabios
- add ata[0-3] paragraph
- add ataX-[master|slave] paragraph
- change boot: options
- add logprefix: paragraph
- complete ne2k paragraph
- add user_shortcut: paragraph
- Tips and techniques
- convert internal debugger doc from html
- add Bios Tips section (to be completed)
- expand guest os chapter
- add WinME info from misc.txt
- add titles of other doc to be included
2002-11-03 23:24:42 +00:00
Christophe Bothamy
b201195a06
- change BIOS name
...
- add optromimage[1-4] paragraph
- add LGPL vgabios example
- fix typos
- add explanation about bios translation
- change boot: syntax
- add logprefix: paragraph
- fix ips table
- add ne2k: paragraph
- add floppy_bootsig_check:: paragraph
- add user_shortcut: paragraph
2002-11-03 23:08:16 +00:00
David Guarneri
cd30dc8e29
Made some corrections; separated "Will Bochs Work for Me" into two sections:
...
* Is Bochs Right For Me?
and
* Will Bochs Work For Me?
This provided a better transition between "Who Uses Bochs?" and "Will Bochs Work For Me?"
2002-11-03 20:05:02 +00:00
Volker Ruppert
2deef745e6
- added new DEV_* macros for PCI functions in plugin.h
...
- memory code: direct PCI memtype function calls replaced by DEV_* macros
- PCI devices: direct i/o register function calls replaced by DEV_* macros
2002-11-03 17:17:11 +00:00
David Guarneri
22e5070d1a
Ran a spell check on user.dbk
...
Changed "License" to "Bochs License"
Added "Third Party License" section, taken from old docs.
Authored "Will it Work for Me?" section according to instructions in user.dbk comments.
2002-11-03 08:38:33 +00:00
Volker Ruppert
f73ddd4298
- libdir (usr/lib) disabled for now. We can enable it when plugins are enabled
...
by default.
2002-11-03 08:29:47 +00:00
Volker Ruppert
c5c535da28
- updated description of "user_shortcut"
2002-11-03 08:29:03 +00:00
David Guarneri
d357ef0ba5
Added "BOCHS Rocks!!!" to the end of the misc.txt file.
2002-11-02 16:51:18 +00:00
David Guarneri
83d970dbe9
*** empty log message ***
2002-11-02 16:48:32 +00:00
Bryce Denney
3d09154007
- testing
2002-11-02 16:45:00 +00:00
Volker Ruppert
706ed98f39
- changed mandir to /usr/share/man according to FHS
...
- added libdir (usr/lib) to the list of files
2002-11-02 16:09:36 +00:00
Stanislav Shwartsman
0e60aa8232
We will need integer saturation functions also in SSE2 instructions
2002-11-02 12:35:33 +00:00