Bryce Denney
157a9ac53a
- this patch has been committed, and hasn't broken too many compiles so far
2002-09-01 15:39:39 +00:00
Bryce Denney
ffc84c8be9
- add BX_SCHEDULED_DIE_TIME which causes Bochs to exit automatically after a
...
certain number of instructions. I use it for performance testing, and it
won't hurt anyone unless they are foolish enough to enable it in config.h.
Of course it is disabled by default!
2002-09-01 15:38:29 +00:00
Bryce Denney
572fc4ed57
- I had been misunderstanding how you're supposed to convert wxStrings
...
into normal C strings. After asking about it on wx-users, I understand
it better now.
Example of unsafe code:
char *filename = dlg.GetFilename().c_str ();
printf ("file name is %s\n", filename);
The problem is that dlg.GetFilename() returns a temporary wxString
that goes out of scope at the end of that line of code. The "filename"
string is unstable if you write it this way.
Example of safe code:
char filename[1024];
wxString fn (dlg.GetFilename ());
strncpy (filename, fn.c_str (), sizeof(filename));
printf ("file name is %s\n", name);
Now we have a stable copy of the wxString in "fn" which is usable
as long as fn is in scope.
- also now we use wxStrings (almost) all the time in the interface to the
wxdialogs. Any conversion from char* to wxString and back is done in
wxmain.cc now.
2002-09-01 15:27:33 +00:00
Bryce Denney
1e0d562d95
- add instructions for installing Gnu Hurd, from
...
Bruno Bonfils <asyd@debian-fr.org>
2002-09-01 13:04:59 +00:00
Volker Ruppert
dfe902554a
- text mode cursor size feature implemented
2002-09-01 07:32:03 +00:00
Kevin Lawton
d52b23daf1
Made some very minor mods, to make CPUID aware of CMOV instructions
...
for BX_CPU_LEVEL >= 6, and to have the CMOV instructions generate
an undefined opcode exception after printing info that they were
called, if BX_CPU_LEVEL <= 5. I suppose we could have a separate
configure option, but mirroring Intel, CMOV is available as of
Pentium Pro.
For now, you have to compile with --enable-cpu-level=6 for CMOV
support to be compiled in.
2002-09-01 04:01:14 +00:00
Kevin Lawton
7a8d2dc61e
Oops, added a modified file which I forgot about, to the patch.
2002-09-01 03:20:23 +00:00
Kevin Lawton
976b95ece9
Added 'patches/patch.kpl-paging-cleanup', a well needed clean-up
...
of bochs' broken paging code, and made an option to compile in
support of 4Meg pages, with the default being disabled, because
it is not well supported yet.
2002-09-01 02:37:40 +00:00
Christophe Bothamy
a52f2467cf
- first part of fix for bug [ 601166 ] CMOS Problem @ "0x0F Index 0x05 data"
...
Added more allowed values for index 0x0F
2002-08-31 21:31:11 +00:00
Volker Ruppert
e1d8d30e4c
- meaning of the memory type values changed (0 = ROM, 1 = Shadow RAM)
...
- the functions mapRead() and mapWrite() are no longer necessary
2002-08-31 15:35:51 +00:00
Volker Ruppert
38666a2cfb
- PCI memory handling moved to bx_mem_c
...
* shadow RAM array and fetch function are now a part of the memory code
* removed unnecessary PCI macros and functions load_ROM() and mem_read()
2002-08-31 12:24:41 +00:00
Bryce Denney
b65997bb13
- implement Edit:Boot, which chooses the boot drive
2002-08-31 04:58:24 +00:00
Bryce Denney
329bc47b77
- move BX_BOOT_* constants from bochs.h into gui/siminterface.h
2002-08-31 04:57:21 +00:00
Bryce Denney
327cd86e9b
- add sketches showing a large configuration dialog similar to Netscape's
...
Edit:Preferences.
2002-08-31 00:35:25 +00:00
Bryce Denney
9e2a602c56
- remove create image button from cdrom dialog
2002-08-30 22:52:32 +00:00
Bryce Denney
68a7ab13fa
- add comments about lifetime of io and genlog and why they're never freed.
2002-08-30 21:41:29 +00:00
Volker Ruppert
c3d63b2e81
- in function DrawBochsBitmap(): use the system palette instead of fixed values
...
- in function fillBxKeyEvent_MSW(): simplified the detection of extended scancodes
- in function text_update(): fixed a warning
2002-08-30 17:39:14 +00:00
Bryce Denney
645f1a0365
- make the "File:New Configuration" menu item call bx_reset_options(),
...
with a little "Are you sure?" dialog.
2002-08-30 16:23:36 +00:00
Volker Ruppert
10cdef6ff1
- new function bx_reset_options() resets the bx_options to their initial values
2002-08-30 14:22:47 +00:00
Bryce Denney
a8827a60bf
- add note that you need segchecks patch too
2002-08-30 13:52:02 +00:00
Bryce Denney
d2366e1009
- upload patch from Kevin Lawton, SF#602156: Simple performance mod for
...
cpu.cc (EIP)
2002-08-30 13:26:02 +00:00
Bryce Denney
9d194317ec
- add Kevin's patch on SF, #602003 : repeat instruction optimizations
2002-08-30 13:20:42 +00:00
Bryce Denney
77f87fbbca
- to convince gcc -MM to ignore system headers, I had to change some
...
#include statements that used ""'s so that they used <>'s instead.
(gcc -MM generates the dependency list in the Makefile.)
2002-08-30 07:03:50 +00:00
Bryce Denney
4c20c5cd81
- add dependencies for wxwindows source files
2002-08-30 07:01:59 +00:00
Bryce Denney
de5daefbb6
- move all dialog box sketches from README-wxWindows into gui/wxdialog.h,
...
commented of course.
2002-08-30 06:49:19 +00:00
Bryce Denney
05daf0d6dc
- moved a few constant #defines into gui/siminterface.h so they'd be
...
accesible in the CI
2002-08-30 06:47:51 +00:00
Bryce Denney
03f9b7c4ac
- add name for CD-ROM
2002-08-30 06:47:21 +00:00
Bryce Denney
f23005efbf
- move ASCII version of menu layout into wxmain.cc next to the code that
...
implements it.
2002-08-30 06:46:38 +00:00
Bryce Denney
3ce8912089
- add CdromConfigDialog to configure cdroms
...
- HDConfigDialog now uses an EnableChanged() method to set the enabled bit
on components controlled by the enable checkbox.
- now sets the present bit on hard disks and cdrom
- enforces the rule that you can't have DISKD and CDROMD (just in time for
Christophe to add another interface)
2002-08-30 06:06:36 +00:00
Bryce Denney
4bd24c2771
- now the same function is used to create both floppy and hard disk images.
...
They were nearly the same code anyway.
2002-08-29 23:28:52 +00:00
Bryce Denney
2aba2436fa
- add "create image" for hard disk image
...
- now the megabytes field is a wxStaticText, which makes it clear that
it cannot be edited.
- add "enter size/compute geometry" button for HD image
- make a few more strings into #defines in wxdialog.h
- disable most of the Edit menu during simulation, reenable it when
simulation stops
2002-08-29 23:18:10 +00:00
Bryce Denney
e7fbe9e04e
- propose new floppy config dialog that distinguished between device
...
config and changing the media. The proposed change is NOT implemented.
2002-08-29 22:09:55 +00:00
Bryce Denney
d77a796a10
- add some vertical space between some things
2002-08-29 21:00:27 +00:00
Bryce Denney
a0828d3ee7
- make cancel buttons use id wxID_CANCEL so that pressing Cancel and
...
pressing ESCAPE are equivalent
2002-08-29 20:41:45 +00:00
Bryce Denney
ef4b975884
- add "Create Image" button to floppy dialog, and make it actually work
2002-08-29 20:13:05 +00:00
Bryce Denney
7ab99b2ac9
- this patch from Volker: make SetFilename arg be const char* as well
2002-08-29 20:09:54 +00:00
Bryce Denney
630d37269b
- reset should have one arg, unsigned int type
2002-08-29 16:52:47 +00:00
Bryce Denney
7ce3b36770
- get rid of the not-so-great name CUI which I introduced a few days
...
ago. Now we have the simulator, the siminterface, the VGA display
window (VGAW), and the configuration interface (CI).
2002-08-29 14:59:37 +00:00
Bryce Denney
5ba160a5e3
- mention contributors up at the top
...
- mention what version of wxWindows to use
- correct VC++ build instructions (I haven't tested in a while but it was
obviously wrong)
- update "what works right now" and clean up to do list
2002-08-29 14:54:34 +00:00
Bryce Denney
2fbf3206c1
- spelling fix
2002-08-29 14:07:17 +00:00
Bryce Denney
e43d822c32
- change SetDriveName() method to take const char *
2002-08-28 21:06:14 +00:00
Volker Ruppert
1136948638
- declaration of bx_do_text_config_interface() is not necessary for the wx gui
...
- don't load a bochsrc for the wx gui if no -q or -qf option is present
2002-08-28 20:01:34 +00:00
Volker Ruppert
8fde5ecfaf
- implementation of the DMA controller reset
...
- new function reset_controller() resets the specified controller
- reset code removed from init()
- "master disable" uses the new reset function
2002-08-28 19:39:00 +00:00
Bryce Denney
2487ec21eb
- attempt to change the permissions on .conf.macosx. We'll see if it works!
2002-08-28 17:53:45 +00:00
Bryce Denney
3f9155c050
- when the device is reset via control register, it is BX_RESET_SOFTWARE
2002-08-28 16:55:16 +00:00
Bryce Denney
2594c18521
- revert previous revision to take out reset() method. The cdrom_interface
...
object is an interface to the host OS, not really a hardware device, so it
probably doesn't need a reset().
2002-08-28 16:45:18 +00:00
Bryce Denney
8068f3b8e5
- update dialog box sketches
2002-08-28 15:28:24 +00:00
Bryce Denney
17da6fe3c1
- add HDConfigDialog box for wxWindows for editing hard disk params.
...
Now you can edit floppy and hard disk parameters using dialogs.
2002-08-28 15:27:26 +00:00
Bryce Denney
02bae6a701
- now I need names for both floppy and HD
2002-08-28 15:26:09 +00:00
Bryce Denney
eca0f0bb57
- add "name" for 1st and 2nd floppy disks. For now, name them a: and b: for
...
win32 only, and 0 and 1 elsewhere.
2002-08-28 08:29:19 +00:00