Christophe Bothamy
a01e80c8d7
This patch adds real-bios-like keyboard init code.
...
However, it does not work, due to inaccuracies in Bochs
keyboard model.
2002-10-30 22:44:28 +00:00
Christophe Bothamy
55fa06db79
- fix type of the counter used when waiting for signals in ata_reset. It may be > 0xff
2002-10-30 22:42:42 +00:00
Christophe Bothamy
ae220149ea
- add wait states during disks reset, so the BIOS can reliably detect them.
...
patch from Adam Sulmicki.
2002-10-30 21:47:11 +00:00
Gregory Alexander
5bc28d6dfa
Add a minimum IPS value at compile time.
...
This is used for calculating the minimum speed for the realtime PIT and for flagging errors with user IPS values.
2002-10-30 18:30:29 +00:00
Peter Tattam
ac49ea2418
Patch to fix DOS based packet drivers that use an odd count for the NE2000
...
DMA. Should print error message but allow to continue. (bochs log will
show DMA underrun for the last byte transferred).
2002-10-30 11:11:26 +00:00
Gregory Alexander
fc61a0522a
Added support for run-time configuration of realtime PIT.
2002-10-29 22:26:32 +00:00
Bryce Denney
a6aa9afd67
- rename "control" to "textconfig". It was named when we called it
...
a control panel, but now we're calling it a text configuration interface.
Modified:
.bochsrc Makefile.in bochs.h main.cc cpu/Makefile.in
debug/Makefile.in disasm/Makefile.in fpu/Makefile.in
gui/Makefile.in iodev/Makefile.in memory/Makefile.in
2002-10-29 20:18:32 +00:00
Bryce Denney
d8798fb799
- rename control.cc revision 1.66 to textconfig.cc
2002-10-29 20:17:05 +00:00
Bryce Denney
4442c9d28b
- rename control.h revision 1.8 to textconfig.h
2002-10-29 20:16:04 +00:00
Bryce Denney
29875502af
- warnings are all inside #ifdef __GNUC__ blocks now
2002-10-29 18:00:15 +00:00
Bryce Denney
f68a301b95
- revert to rev 1.7. I didn't mean to check in the previous rev, but
...
I only noticed just now.
2002-10-29 07:00:01 +00:00
Bryce Denney
e1db4c80bb
- spelling fix in docs
2002-10-29 04:35:41 +00:00
Christophe Bothamy
a972ac9cdc
- patch from Hartmut Birr, to create compressed image files up to 32GiB (NTFS only).
2002-10-28 21:46:21 +00:00
Christophe Bothamy
78f41adef1
- patch from Hartmut Birr :
...
. offset for the lseeks within the disk image class changed from byte to sector units.
. support for disk up to 32GiB under Win32 (NTFS only).
2002-10-28 21:42:59 +00:00
Gregory Alexander
0201b362e1
Make the libtool --mode=link explicit for the main bochs link call.
...
This fixes a problem with linking under AIX.
2002-10-28 19:40:23 +00:00
Gregory Alexander
0987a6b2d8
bximage is a C program, not a C++ program.
...
Update Makefile.in to compile it that way.
This fixes a VisualAge problem which prevented bximage from compiling.
I still use the C++ linker for bximage since I don't think it
makes any difference. If it does, that should be changed also.
2002-10-28 19:19:46 +00:00
Gregory Alexander
0e390b33f6
Double semicolons are confusing VisualAge.
2002-10-28 18:36:53 +00:00
Bryce Denney
fe7e2f5912
- add srcdir and VPATH
2002-10-28 08:42:28 +00:00
Bryce Denney
98e37268fc
- include standard path variables in gui and iodev. We were missing
...
libdir, which is now used as the PLUGIN_PATH.
2002-10-28 08:42:06 +00:00
Bryce Denney
8dc67c7623
- cygwin experiment. Since dlltool cannot accept any -I's or -L's,
...
I'm trying to split the link command into one variable of LDFLAGS
and another variable of just objs and libs.
2002-10-28 08:24:24 +00:00
Bryce Denney
73c234b351
- add makefile rule for building SDL dll. It links the plugin with
...
the SDL library.
2002-10-28 08:20:12 +00:00
Bryce Denney
e164274d4a
- add reference to page about -mno-cygwin option in cygwin
2002-10-28 07:36:57 +00:00
Bryce Denney
cb1c6b9db6
- remove tabs from dbg_main.cc
...
- put proper BX_CPU_LEVEL checks around uses of cr0-4
- fill in help message for "info"
2002-10-28 07:03:02 +00:00
Bryce Denney
8b8feb695b
- fix [ 628806 ] debug: x/c prints unprintable chars
...
- example output:
0xffff0 <bogus+240>: \xEA [ \xE0 \0 \xF0 0 6 /
0xffff8 <bogus+248>: 2 3 / 9 9 \0 \xFC \0
2002-10-28 06:31:05 +00:00
Gregory Alexander
dc46dfa784
Made PIT runtime configurable, except haven't added the bx_option line.
2002-10-28 05:55:47 +00:00
Bryce Denney
883442544c
- we've been compiling a few extraneous plugins: wxdialog and wxmain.
...
These files are part of the wx plugin, and they should not be linked
into a separate plugin. I have changed gui/Makefile.in and configure.in
to correct this.
- This fixes bug [ 628667 ] don't build plugin for wxdialog, wxmain
- modified: gui/Makefile.in configure.in configure
2002-10-28 05:49:42 +00:00
Bryce Denney
fa56678dc0
- for win32 DLL plugin build, link with $(CDROM_OBJS) instead of writing
...
cdrom.o explicitly. This makes it so that cdrom.o is only linked in
when the configure script enables it.
2002-10-28 05:26:09 +00:00
Christophe Bothamy
b8bbe1c7c2
- compile rombios.c r1.74
2002-10-28 00:18:40 +00:00
Bryce Denney
db750f8234
- to make the "idle hack" compile again, add virtual function sim_is_idle
...
to bx_gui_c and to bx_x_gui_c.
2002-10-27 23:33:13 +00:00
Christophe Bothamy
d5443fcba3
- change offset of the answer to the identify device query where current disk geometry is read.
...
Thanks to Adam Sulmicki
2002-10-27 23:04:59 +00:00
Bryce Denney
4f53ba4e39
- bx_gui is now a pointer, so it needs to be 'bx_gui->' not 'bx_gui.'
2002-10-27 22:26:34 +00:00
Christophe Bothamy
ffc3d88be3
- compile rombios.c r1.73
2002-10-27 21:27:00 +00:00
Christophe Bothamy
814d8b69ef
- add "none", "lba", "rechs", "large", "auto" translation
...
- if translation=auto :
. translation=none if cylinders <=1024 and heads <=16
. translation=large if cylinders * heads <= 131072
. transaltion=lba otherwise
- changes default translation value to "auto"
- add example in .bochsrc
2002-10-27 21:25:33 +00:00
Christophe Bothamy
bd04f51748
- remove tabs from source code
...
- implement "large" "r-echs" "lba" disk translations
- fix if ( (sc==0x01) && (sn=0x01) ) bug
- fix option field in int13 function 0x48 for harddisks
- fix option field in int13 function 0x48 for cdrom
- add "%u" in printf to handle unsigned values
- remove UDIV
- asm helper asm function ldivul idiv_ and idiv_u
2002-10-27 21:17:03 +00:00
Bryce Denney
8ff15654e8
- add #ifs around use of cr0-4, which didn't all exist on earlier cpus
2002-10-27 15:15:12 +00:00
Bryce Denney
1dfbe73deb
- let's try "bx_cdrom" instead of "bx_cdom"
2002-10-27 13:28:30 +00:00
Volker Ruppert
e6348a579e
- print an error message when the logfile cannot be opened and use stderr in
...
that case
2002-10-27 13:20:25 +00:00
Gregory Alexander
cc48301722
Fix for bug #628957
...
I accidentally left a debug define turned on.
2002-10-27 06:02:47 +00:00
Bryce Denney
954b737dda
- apply MacOSX "About Box Patch" from Jeremy Parsons (Br'fin). This fixes
...
bug [ 626261 ] About Box is awkwardly outdated
2002-10-26 22:06:37 +00:00
Bryce Denney
ddd7d1c173
- there are three different actions related to cdrom. One for --enable-cdrom,
...
one for --disable-cdrom, and one for the defalt if it's not specified. The
enabled action and default are supposed to be the same, but they were
slightly different, and Bochs on BeOS was able to compile with --enable-cdrom
but not with the default action. Solution: now the autoconf actions only
sets bx_cdrom=0 or bx_cdrom=1. Then afterward, it tests $bx_cdrom and does
the enable or disable action. This will be easier to maintain because there
is just one copy of each action, instead of two copies that are supposed to
be kept identical to each other.
2002-10-26 21:51:19 +00:00
Bryce Denney
dd7ad0449d
- add missing LOG_THIS to fix compile problem reported by Timothy Schepens
2002-10-26 21:03:21 +00:00
Bryce Denney
99aa099b67
- we renamed the term 'VGA library' to 'display library' a while ago. I
...
fixed some lingering references to vga library.
2002-10-26 13:22:47 +00:00
Bryce Denney
4717b9bf13
- remove obsolete makefile
2002-10-26 13:19:06 +00:00
Bryce Denney
441eb253f7
- remove references to obsolete hga. Now --enable-vga and --disable-vga
...
no longer exist. I think configure will silently ignore them.
- modified:
iodev/Makefile.in iodev/devices.cc iodev/iodev.h main.cc
configure.in config.h.in configure build/batch-build.perl
2002-10-26 13:14:11 +00:00
Bryce Denney
79831381de
- fix compile problem in old PIT
2002-10-26 03:57:19 +00:00
Bryce Denney
31adc410b7
- fix compile problems in iodebug
2002-10-26 03:53:22 +00:00
Bryce Denney
35b51e3e4f
- fix the register trace output which has had EBX, ECX, and EDX values
...
switched around ever since 1.61 when we started using accessors. Ooops.
2002-10-25 20:04:40 +00:00
Stanislav Shwartsman
b84f0bd0f2
This was not a cleanup. Those macros were intentionally
...
there to offer a way to substitute more efficient code
to do the RMW cases. At the moment, they just map to
the normal functions.
Sorry, restored the previous version ...
2002-10-25 18:26:29 +00:00
Stanislav Shwartsman
a0c1fd60e6
Just little cleanup of macro duplicating an existing code
2002-10-25 17:23:34 +00:00
Bryce Denney
48acd53db4
- all #warnings are now inside #ifdef __GNUC__ ... #endif
...
Modified Files:
ltdl.c main.cc plugin.cc cpu/cpu.cc cpu/debugstuff.cc
cpu/exception.cc cpu/fetchdecode64.cc cpu/init.cc
cpu/paging.cc gui/siminterface.cc gui/wxmain.cc
iodev/harddrv.cc
2002-10-25 12:36:44 +00:00