Bryce Denney
3974d588de
- add note about limit_scaled including the 12-bit shift etc.
2001-10-03 02:23:01 +00:00
Bryce Denney
de0a55fcce
- threw out the old patch, and reworked it so that there are no restrictions.
2001-10-03 01:52:17 +00:00
Bryce Denney
0f9a525717
- try again! This should fix
...
[ #433759 ] virtual address checks can overflow
and I have tested the condition much more thoroughly this time.
All segment sizes should be supported.
2001-10-03 01:06:31 +00:00
Bryce Denney
80b31020e9
- regression test for "access checks" in cpu/access.cc
2001-10-03 00:52:30 +00:00
Bryce Denney
6a1c01c8b5
- back out my poorly written patch.virtual-address-checks-overflow
2001-10-02 20:01:29 +00:00
Todd T.Fries
d5ecddc64c
a few output cleanups
...
make windows not panic bochs when probing for ne2k, still doesn't work though
2001-10-02 18:38:03 +00:00
Bryce Denney
beca5d6e67
- fix stupid printf-type bug
2001-10-02 18:11:06 +00:00
Bryce Denney
67ebaaca87
- apply patch.virtual-addr-checks-overflow to fix bug
...
[ #433759 ] virtual address checks can overflow
> Bochs has been crashing in some cases when you try to access data which
> overlaps the segment limit, when the segment limit is near the 32-bit
> boundary. The example that came up a few times is reading/writing 4 bytes
> starting at 0xffffffff when the segment limit was 0xffffffff. The
> condition used to compare offset+length-1 with the limit, but
> offset+length-1 was overflowing so the comparison went wrong. This patch
> changes the condition so that it supports all segment limits except for
> sizes 0,1,2,3 bytes. Dave and I figured that these sizes would not be
> needed, while size 0xffffffff is used quite a lot.
2001-10-02 17:02:28 +00:00
Bryce Denney
04a07f306f
- patch to fix bug [ #433759 ] virtual address checks can overflow
2001-10-02 17:01:09 +00:00
Bryce Denney
7bdff4acfb
- try again to get bximage in there
2001-10-02 03:57:55 +00:00
Bryce Denney
591cac3518
- add VC++ project for bximage
2001-10-02 03:56:57 +00:00
Bryce Denney
0ebf64033a
- add a project that builds bximage.exe as well
2001-10-02 03:27:29 +00:00
Bryce Denney
895b6a1511
- applied patch [ #466403 ] make text colors more accurate
...
The author did not leave his/her name.
2001-10-01 18:36:13 +00:00
Bryce Denney
f8beb55157
- use @CPP_SUFFIX@ instead of hardcoded .cc
2001-10-01 17:27:24 +00:00
Bryce Denney
df50cd50fd
- 2 fixes: use S_IFBLK again instead of comparing the st_mode directly
...
- we must use #if BX_WITH_WIN32, not #ifdef because it's always defined
2001-10-01 17:23:45 +00:00
Bryce Denney
388fb0385f
- commit Don Becker's fixes for win32 raw floppy and floppy disk images
2001-10-01 17:20:08 +00:00
Bryce Denney
026a8554ef
- we need S_ISREG and S_ISCHR macros to actually do whey're supposed to
...
(no more stupid hack) so that win32 can handle either raw floppy or
floppy disk image.
2001-10-01 17:01:00 +00:00
Bryce Denney
c2e09b1889
- oops, it didn't compile when you had debugger on bug ne2k off. Now it does.
2001-10-01 04:07:29 +00:00
Bryce Denney
25942a527d
- add win32, coded by Don Becker.
2001-10-01 03:53:40 +00:00
Bryce Denney
c38d1a046a
- add win32. Code from Don Becker.
2001-10-01 03:52:10 +00:00
Bryce Denney
ddb2c85b06
- add code from Psyon, aka Don Becker
2001-10-01 03:50:50 +00:00
Bryce Denney
2e3eead360
- install the new script "test-x11-fonts"
2001-09-30 14:56:48 +00:00
Bryce Denney
446fdf12a5
- at the end, try to run xset fp rehash and restart the X font server.
...
Give warnings if these commands could not be run.
- grab some code from configure script that checks if "echo -n" is supported
2001-09-30 14:55:20 +00:00
Bryce Denney
53c77f5573
- add a script that tests whether your vga font is installed.
2001-09-30 14:53:57 +00:00
Bryce Denney
82a0027e4b
- stop warning people to leave their vga.pcf uncompressed, since that
...
was bad advice (only worked for Bryce's machine). Now warn people to
restart their X font server.
2001-09-30 14:07:58 +00:00
Bryce Denney
f1dd213775
- arg, I left out a paragraph mark before
2001-09-29 20:33:04 +00:00
Bryce Denney
0c7dad572e
- add a note about skipping the "compress" step when installing the
...
VGA font by hand.
2001-09-29 20:22:08 +00:00
Bryce Denney
a07d62fd24
- add "info ne2k" command to the debugger, which prints all the registers
...
of the NE2000 model.
2001-09-29 19:16:34 +00:00
Gregory Alexander
67f4ebe68d
Changed OUT to OUTpin.
...
Modified Files:
pit82c54.cc pit82c54.h
2001-09-29 15:31:13 +00:00
Bryce Denney
4b3b792081
- I messed up version 1.1 of this patch. When I reread the bug report
...
that the code came from, it was clear that I typed the change wrong.
2001-09-29 04:34:00 +00:00
Bryce Denney
0640ab3b04
- attempt to fix bug [ #439945 ] Floppy drive read input error checking.
2001-09-29 03:29:27 +00:00
Bryce Denney
309ae53cd6
- what, a patched file is supposed to to compile...? Ok, fine.
2001-09-29 03:20:47 +00:00
Bryce Denney
84d33da78b
- patch to fix sf bug 439945
2001-09-29 03:11:58 +00:00
Bryce Denney
6145266a70
- now there are BX_ERROR lines for all commands from ATA/ATAPI 3,4,5,6.
2001-09-29 02:08:11 +00:00
Bryce Denney
1a856a1726
- add BX_ERROR for every command in ATAPI-6 that bochs does not support.
...
I still need to do add some commands from older specs that are obsolete
(and not listed) in ATAPI-6.
- commands that aren't in the spec will still panic.
2001-09-28 22:20:49 +00:00
Bryce Denney
c0719c7eb7
- more cleanup: clarify some log messages, add command aborted when some
...
atapi commands are tried on a disk, etc.
2001-09-28 07:18:55 +00:00
Bryce Denney
951014d794
- add note about where to find the spec
...
- fill in names from spec on various commands
- add command aborted for 0x08 device reset on disks (it's only for ATAPI)
- add command aborted for 0xe1 idle immediate
2001-09-28 07:14:50 +00:00
Bryce Denney
ffb489d4fa
- add code in handler function for the floppy pathnames that sets the
...
media status to 0 then 1 (equivalent to removing then inserting a disk).
Then it calls the UI function bx_gui.update_floppy_status_buttons()
if the interface has been initialized already.
2001-09-28 06:05:39 +00:00
Bryce Denney
42473b7038
- fix up floppy button handlers so that the function that actually
...
updates the buttons can be called from the outside.
2001-09-28 06:03:40 +00:00
Bryce Denney
536d05fc48
- change "set" behavior for parameters with handlers. Now it changes their
...
value and then calls the handler, so that the handler and functions that
it calls can see the new value.
2001-09-28 06:02:12 +00:00
Bryce Denney
f59e68968c
- add call to SIM->set_init_done to match the one in main
2001-09-28 06:01:08 +00:00
Bryce Denney
22f82dcbb3
- copy prev_eip and prev_esp again AFTER the handle_async_event section
...
has run. This ensures that the prev_eip and prev_esp that is used
for tracing and breakpoint checks is correct even in the cycle after
an interrupt or trap.
2001-09-28 04:12:26 +00:00
Bryce Denney
3075cb34ed
- remove comment that I was using when debugging control-C
2001-09-27 23:50:48 +00:00
Bryce Denney
610a7f5c1b
- fix bug introduced by Bryce's revision 1.16, that causes you to get
...
stuck at breakpoints forever. Added a comment that says what code
does that, so that future hackers will be warned.
2001-09-27 23:41:18 +00:00
Bryce Denney
198f783f8b
- my speed boost changes to main.cc and cpu.cc on June 5 were an improvement
...
in performance, but I did not check the debugger carefully enough while
testing them. Part of the performance gain in main.cc revision 1.33 and
cpu.cc revision 1.9 was to allow bochs to stay in the cpu loop forever
in a single processor simulation. (In a multiprocessor simulation it must
quit the loop periodically to give the other procs a chance to simulate
too. Cooperative multiprocessing?) In the process, I restored calls
to BX_TICK in the cpu loop for 1-proc simulation only, and removed them
from the outer loop. (See main.cc, since it was done right.) However
I never made the equivalent change in the debugger code, so in the
debugger, there were ticks coming from the cpu loop and then an
equivalent number of ticks coming from the debugger code just outside
the cpu loop. The result was, of course, that simulation time went
at 2x the correct rate. This simulation time speedup was made even
worse because the continue loop in the debugger would increment ticks
by one quantum (5 at the time) no matter how many instructions had
actually been executed. So in trace mode in particular, the way it was
implemented before today, cpu loop would run only one instruction at
a time and the simulation time would get incremented 1+5=6 times! One
tick from the cpu loop, then 5 erroneous ticks from the continue loop.
Anyway, much of this nonsense should be fixed now. For uniprocessor
simulations, only the cpu loop does ticks (for best performance). For
multiprocessor simulations, the cpu loop exits after one quantum and
the code that calls the cpu loop gets to increment ticks instead.
2001-09-27 23:08:30 +00:00
Bryce Denney
9a1364b1f9
- apply patches/patch.consistent2b. Description:
...
> This patch fixes a number of debugger problems.
> - with trace-on, simulation time would pass 5x faster than usual, so
> interrupts and other timed events would happen at different times
> - with trace-on, breakpoints were ignored
> - with trace-on, control-C would not stop the processor and return to the
> debugger.
>
> This patch changes the execution quantum for the debugger to 1, which means
> that cpu_loop is asked to do one instruction at a time. This may cause
> bochs with the debugger to be slower than before.
>
> I haven't tested without the debugger yet, so I don't know if the timing
> of events matches or not.
2001-09-27 14:19:38 +00:00
Bryce Denney
bf983610b9
- commit patch which fixes all known trace-on problems. This patch is
...
for Bochs 1.2.
2001-09-27 14:08:04 +00:00
Bryce Denney
1b62fce53d
- configure shortcut for MacOS X
2001-09-27 03:56:36 +00:00
Bryce Denney
742830f1ab
- attempt to clean up the behavior when you run bochs from the
...
command line or by double clicking. Running from the command
line doesn't really work because of a NULL pointer problem in
gui/carbon.cc.
2001-09-27 02:54:06 +00:00
Bryce Denney
e25de5fce0
- check for null gCTable, which I am getting every time I run from the
...
command line. This is better than a bus error IMHO.
2001-09-27 02:52:17 +00:00
Bryce Denney
c9e377c4d9
- for MacOSX the primary target is the app, not the bochs.
2001-09-27 02:01:41 +00:00
Bryce Denney
cbe4fe003c
- add resources and stuff for MacOS X
2001-09-27 02:01:11 +00:00
Bryce Denney
1f7ec590cf
- add make target that builds the application bochs.app
2001-09-27 02:00:37 +00:00
Bryce Denney
7bc39ff8e1
- now that I know about -fpascal-strings, I changed it back to the \p
...
notation
2001-09-26 23:33:47 +00:00
Bryce Denney
6d5c174ec0
- move config.h before the extern "C" { } business so that I can use
...
BX_WITH_CARBON in there
- don't include Carbon/Carbon.h. I assume it was in there just for the
typedef Boolean
2001-09-26 23:33:14 +00:00
Bryce Denney
52c1b297e6
- put a dummy filename in the rm line so that it doesn't crash if the
...
finds turn up nothing
2001-09-26 23:32:23 +00:00
Bryce Denney
dd0d8a8524
- use #if BX_WITH_MACOS around fd_write too. I meant to do this the
...
first time...
2001-09-26 17:35:51 +00:00
Bryce Denney
2d257370af
- resolve conflicts in Boolean type for MacOS X
2001-09-26 17:30:15 +00:00
Bryce Denney
d4905da165
- correct stupid problem that I caused yesterday. Must use #if for
...
BX_WITH_MACOS, not #ifdef!!!
2001-09-26 15:22:52 +00:00
Bryce Denney
d614265f58
- check in a (commented out) debugging option controlled by BX_INSTR_SPY.
...
To enable, set the #define to 1.
2001-09-26 15:19:56 +00:00
Bryce Denney
601089a8db
- fixed broken #ifdef...should have been an #if
2001-09-26 03:19:25 +00:00
instinc
e09d429117
added the output of a little information string to help the user understand why it returned to the prompt.
2001-09-26 03:07:32 +00:00
instinc
1170853e16
added command 0x8AE0 (return to debugger prompt) to iodebug
2001-09-26 02:55:46 +00:00
instinc
677ece7d04
added 0x8AE0 to return to prompt debugger
2001-09-26 02:52:03 +00:00
Bryce Denney
65d6af7b08
- now the new code is called carbon.cc
2001-09-26 00:32:54 +00:00
Bryce Denney
cdb5f1de68
- port of macintosh code to Carbon API for MacOS X, contributed by
...
Emmanuel Maillard <e.rsz@libertysurf.fr>
2001-09-26 00:32:34 +00:00
Bryce Denney
5e586c8ac2
- this is an exact copy of gui/macintosh.cc revision 1.8, the starting
...
point for the Carbon API port
2001-09-26 00:31:41 +00:00
Bryce Denney
4c4b39fca3
- add object file for for MacOS X, carbon API
2001-09-26 00:20:19 +00:00
Bryce Denney
1ef0b3c6ef
- use #if BX_WITH_MACOS around the special fd_read and fd_write code, since
...
MacOS X behaves more like unix now.
2001-09-26 00:19:44 +00:00
Bryce Denney
55f999327b
- use #if BX_WITH_MACOS instead of #ifdef macintosh to distinguish
...
between MacOS pre-10 and MacOS 10
2001-09-26 00:15:30 +00:00
Bryce Denney
3abf0831a5
- add configure option "--with-carbon" which is used for MacOS X compiles
2001-09-26 00:13:16 +00:00
Bryce Denney
52f1fcbcb3
- add code for MacOS X, contributed by emmanuel maillard <e.rsz@libertysurf.fr>
2001-09-26 00:12:12 +00:00
Bryce Denney
4ad1870fa3
- add section for BX_WITH_CARBON for macosx
2001-09-26 00:11:23 +00:00
vasudeva
61f6647397
Added listing of Debian packages.
2001-09-25 22:36:51 +00:00
Bryce Denney
f280945601
- hacked Makefile that uses "jade" directly instead of depending
...
on docbook2* tools.
2001-09-25 19:29:28 +00:00
vasudeva
653e549f02
Turned Rendering chapter into Reading/Writing chapter to emphasize authoring methods. Added link to docbook-utils.
2001-09-25 19:00:45 +00:00
Bryce Denney
39aa03d622
- must use #ifdef instead of #if
2001-09-24 12:09:45 +00:00
Bryce Denney
141da24c74
- add symbols, which default to zero, for slowdown timer and sleep functions
2001-09-24 05:35:05 +00:00
Bryce Denney
c7a4ac2088
- add test for usleep and nanosleep
2001-09-24 05:28:42 +00:00
Bryce Denney
9454441958
- add --enable-slowdown option to configure, which turns on Greg's
...
slowdown timer device.
2001-09-24 05:23:55 +00:00
Bryce Denney
53d483864c
- use #ifs instead of #ifdefs for slowdown timer code. The
...
usual autoconf/configure method is to use 0 vs 1, not defined vs
undefined to turn things on.
2001-09-24 05:08:25 +00:00
Bryce Denney
140a7a23b8
- avoid using #define LOG_THIS...#undef LOG_THIS trick, and just
...
call panic directly. This solves bug [ #464258 ] LOG_THIS redefined in
keyboard.h
2001-09-24 04:59:35 +00:00
Bryce Denney
382270fcb4
- add ZIP target. Now "make win32_snap" creates a zip instead of a tar.
2001-09-24 04:21:29 +00:00
Bryce Denney
f4e4cd84a1
- add make targets for easy building of win32 snapshots
2001-09-24 04:16:53 +00:00
Bryce Denney
61fdc74cf2
- add "--enable-cpp" to change the file extensions into cpp. I hope this
...
doesn't screw anyone up.
2001-09-24 03:55:40 +00:00
Bryce Denney
b76a1f67bc
- workspace files for VC++ 6, contributed by Stephan van Eeden
2001-09-24 03:42:15 +00:00
Bryce Denney
4f5bce582f
- when configuring for win32, assume you don't have strotull or strtouq.
2001-09-24 03:26:24 +00:00
Bryce Denney
a4ca526eee
- add preprocessor tricks that undefine the OUT symbol if it's already
...
been defined elsewhere. This had to be done in the old pit as well,
so it's not a new problem by any means.
2001-09-24 02:14:05 +00:00
Bryce Denney
69ca4e2a9d
- change "long long" to Bit64u, several times
...
- clean up declarations of "int i" in bx_dbg_watch
2001-09-24 00:42:00 +00:00
Bryce Denney
009f98af81
- replace "long long" with Bit64
2001-09-24 00:35:42 +00:00
Gregory Alexander
3ace9e3288
Minor updates to the mouse code that may help with enable/disable problems.
...
Also fixed a warning in pc_system.h
Modified Files:
main.cc pc_system.h iodev/keyboard.cc iodev/keyboard.h
2001-09-21 02:46:17 +00:00
Bryce Denney
d1038b9b2f
- add link to sources of docbook2x
2001-09-20 03:27:24 +00:00
Bryce Denney
1c3ca10821
- add a little more detail on make
2001-09-20 03:27:07 +00:00
Bryce Denney
4073d65f4d
- apply patch [ #455014 ] CR0 bug in 80486, described as:
...
> In the register CR0, when the bit PM is enabled, the bit 4 is 0
> when should be 1.
Another fix from an anonymous donor.
2001-09-19 17:36:54 +00:00
Bryce Denney
6d129d771c
- set a bit in the CMOS that says the processor has an FPU. This is
...
from patch [ #455006 ] Device byte is not initialized aptly.
I can't give credit, because he or she did not leave a name.
2001-09-19 17:29:07 +00:00
Bryce Denney
3bba2f657f
- apply patch from patches/patch.lba. This is taken from plex86 cvs
...
and modified for bochs. Minimal testing so far...
2001-09-19 15:30:44 +00:00
Bryce Denney
367cf8f490
- freshen the patch so that it applies cleanly
2001-09-19 15:29:07 +00:00
Bryce Denney
690c4eee31
- clarify BX_INFO message
2001-09-19 15:10:38 +00:00
Bryce Denney
c89f3de147
- move Dave's changes to configure into configure.in so that they don't
...
get wiped out next time we run autoconf.
2001-09-18 05:25:29 +00:00
Bryce Denney
452bb210fc
- fix incorrect title
2001-09-17 15:12:55 +00:00
Bryce Denney
b0c6488ed9
The HTML stylesheet likes to print html has the ends of tags on a different
...
line, like this:
<HTML
><HEAD
><TITLE
>FreeBSD</TITLE
>
Glimpse, which is indexing our website, finds this very confusing and
it cannot pick out the title from this mess. This script takes a list
of HTML files on the command line and attempts to make the <TITLE> tag
look more normal so that glimpse can understand it.
WARNING: This is a hack. It's made to work on docbook generated html, but
may do strange things on anything else.
2001-09-16 06:46:11 +00:00
Bryce Denney
441c39ea0c
- fix up Downloading Bochs, how to use CVS, Compiling Bochs, Unix
...
instructions, configure options
- added a transcript of a successful compile, since that gives all the
commands and shows people where their compile went wrong.
2001-09-16 06:44:58 +00:00
Bryce Denney
0afde54502
- add abbrev for Makefile
2001-09-16 06:42:20 +00:00
Bryce Denney
f65d8d39ef
- add lots about following the sources with CVS
2001-09-15 16:27:26 +00:00
Bryce Denney
e5b98663bc
- add abbrev for $BOCHS
2001-09-15 16:26:56 +00:00
Bryce Denney
8d61724e7a
- add screen shot of DLX Linux
2001-09-15 14:15:19 +00:00
Bryce Denney
8c6446cf4c
- only put 0xf into the 2nd hard disk field when the cdrom is not present.
...
This is a patch from Volker Ruppert <Volker.Ruppert@t-online.de>, who
comments: "The fdisk command reports an unusable second harddisk if the cdrom
is enabled. This patch helps, but I don't know if it is the right way."
2001-09-15 13:35:42 +00:00
Bryce Denney
1006cb2c6b
- patch from Volker Ruppert <Volker.Ruppert@t-online.de>, who writes:
...
> I have inspected the header of output file and several sample MIDI files. I
> have found two different bytes in the header. After I have changed this
> bytes Winamp could play the output file, but it showed a track time of
> 0:00. The Windows Media Player still doesn't like the file.
2001-09-15 13:33:16 +00:00
Bryce Denney
935f75b337
- add some text from LGPL in license section, add linux RPM install instructions
2001-09-15 06:56:21 +00:00
Bryce Denney
fd7e7ee86c
- added debugger command "info fpu" which prints all FPU registers
...
in an output format similar to gdb (when you do info all-registers).
Also, if you do "info all" you get the CPU registers and the FPU
registers.
- added bx_cpu_c method called fpu_print_regs, which is implemented
in wmFPUemu_glue.cc
2001-09-15 06:55:14 +00:00
Bryce Denney
53d5997913
- integrate Dave's I/O interface to debugger into the docs
2001-09-15 03:06:05 +00:00
Bryce Denney
6f3a573839
- documentation for iodebug device by Dave Poirier <eks@void-core.2y.net>
2001-09-15 03:01:35 +00:00
instinc
f89d1e6f01
added support for the debugger, it now returns to the debugger prompt
2001-09-15 00:12:40 +00:00
instinc
b3ad392c65
Added support for I/O Interface to the debugger and the memory range monitoring
2001-09-14 23:02:56 +00:00
instinc
0a762c4023
final revision of the memory protection material
2001-09-14 22:38:06 +00:00
instinc
a10f33a8c7
Removed the structure from the class definition and used it directly in the object
2001-09-14 22:37:32 +00:00
instinc
c52ee908a8
Added range_test function, partly completed write_mem and read_mem
2001-09-14 16:21:02 +00:00
instinc
ccc7026539
Added a few more functions such as range_test
2001-09-14 16:20:30 +00:00
instinc
563cde946a
Added IODEBUGLOG with value 47
2001-09-14 15:15:25 +00:00
instinc
1732a0ea73
Added missing IODEBUG_OBJS
2001-09-14 15:07:49 +00:00
instinc
426982c0ec
Added I/O Interface to the debugger
2001-09-14 15:01:29 +00:00
instinc
37fc526317
Added I/O Interface to the debugger check, --enable-iodebug --disable-iodebug
2001-09-14 14:52:27 +00:00
instinc
0a604c877b
Added I/O Interface to the debugger option, disabled by default
2001-09-14 14:51:26 +00:00
instinc
0496446814
I/O interface to the debugger functions
...
Allow the various debugging features to be controlled directly by the guest os
2001-09-14 14:29:21 +00:00
instinc
014fc2c10c
header file for the iodebug interface
2001-09-14 14:28:23 +00:00
Bryce Denney
f04e6fe346
- apply VPATH patch from Edouard G. Parmelan, posted to list on September 1
2001-09-14 04:19:08 +00:00
Bryce Denney
c7b108c977
- patch from Edouard G. Parmelan to allow bochs to build outside the source
...
tree.
2001-09-14 04:18:22 +00:00
Bryce Denney
749763770e
- move platforms table to its own section
...
- add text in "Download Bochs" section
2001-09-12 13:16:03 +00:00
Bryce Denney
4608a4d3dd
- add bochs-sf-net entity
2001-09-12 13:15:24 +00:00
Bryce Denney
0e507681bf
- now Introduction to Bochs is mostly computee
2001-09-12 06:37:31 +00:00
Bryce Denney
9fbed042b0
- check in commonly used abbreviations
2001-09-12 06:35:50 +00:00
Bryce Denney
16b4ab9d7e
- include ../include/defs.sgm which contains commonly used abbreviations
2001-09-12 06:34:50 +00:00
Bryce Denney
678496e410
- tweak
2001-09-12 06:33:28 +00:00
Bryce Denney
ad11335293
- remove space after line continuation character.
...
Thanks to Martijn Boekhorst <Martijn@boekhorst.net> for pointing it out.
2001-09-11 23:32:14 +00:00
Bryce Denney
bce3cd3652
- tweaks to get rid of compile warnings
2001-09-11 16:56:48 +00:00
Bryce Denney
1fd43969a2
- commit patch from David Haslam <dch@sirius.clara.co.uk>
...
submitted to source forge on 2001-08-27.
[ #455763 ] Cursor trail with DOS Edit/Minix vi
2001-09-11 16:50:59 +00:00
Bryce Denney
55ed69273b
- commit patch from David Haslam <dch@sirius.clara.co.uk>
...
posted to bochs-developers on Wed, 29 Aug 2001 00:08:45 +0100
David Haslam wrote:
> I have been looking at the keyboard problem with Minix, which for
> those that haven't tried Minix results in every key press giving the
> response: ^@
>
> I am aware of the comments in the changelog that suggest removing 2
> keyboard ACKs in iodev/keyboard.cc, but this is a bit of a hack,
> (which is presumably why it was never incorporated).
>
> The problem seems to be that the Minix keyboard driver doesn't obey
> the rules, and Bochs doesn't model the 8042 accurately. When issuing
> commands to set the LEDs, Minix polls the 8042 output data register
> waiting for an ACK even though the OBF flag isn't set.
>
> Bochs returns zero under these circumstances, which seems to
> trigger obscure behaviour that messes up the Minix internal
> keyboard queue. I don't fully understand why Minix breaks, but I
> think the fact that the ACK generates an interrupt, and Minix treats
> it as a scan code also has something to do with it.
>
> In any case, I believe, the fix is for Bochs to return the output
> buffer contents, regardless of whether the OBF flag (called outb in
> Bochs) is set.
>
> I expect the real hardware allows the register to be read at anytime,
> and with this fix we are modelling the behaviour of the hardware more
> accurately.
>
> I have tested it with Minix 2.0.0. Also DOS 6.22 still works after this fix.
> Does anyone think this will break anything else?
>
> This diff is against the latest CVS of iodev/keyboard.cc, version 1.29
> The last part of the diff is a minor fix to an unrelated debug print.
2001-09-11 16:49:54 +00:00
Bryce Denney
fabdff5a16
- work in progress. I'm in the middle of writing the first section
...
"What is Bochs?"
2001-09-11 14:01:55 +00:00
Bryce Denney
376f509cd5
- this is the outline that Michael and Bryce passed back and forth when
...
Michael was first making the docbook skeleton.
2001-09-11 12:56:07 +00:00
Bryce Denney
dcb74396d4
- fix three broken links!
2001-09-10 22:24:39 +00:00
Bryce Denney
c917c66d30
- add <TITLE> tags to everything
2001-09-10 22:12:59 +00:00
Bryce Denney
7c451d057b
- add titles
2001-09-10 13:42:03 +00:00
Bryce Denney
5475489bf5
- add nice header with rcsid at the top
2001-09-10 03:59:11 +00:00
Bryce Denney
0319e71eff
- teeny adjustments (capitalization, etc.)
2001-09-09 21:54:47 +00:00
Bryce Denney
9ee8a7c540
- describe images and include directories
2001-09-09 21:43:56 +00:00
Bryce Denney
24cbe1e7f6
- fill in lots of blanks!
2001-09-09 20:50:25 +00:00
Bryce Denney
9ad0990fd7
- add small under construction icon
2001-09-09 19:56:08 +00:00
Gregory Alexander
728252e212
Fixed a small problem in the latching code in the new pit.
...
Personal note: case...BREAK;
This makes OpenBSD and QNX a little happier.
Added debug messages.
Modified Files:
bochs.h iodev/pit82c54.cc
2001-09-05 14:41:55 +00:00
Bryce Denney
c7d44d154b
- added missing #define LOG_THIS statement
2001-09-04 14:30:41 +00:00
Todd T.Fries
64ea80c050
more INFO->ERROR/DEBUG cleanups
2001-08-31 22:02:29 +00:00
Todd T.Fries
28885e4973
some INFO->DEBUG/ERROR cleanups
2001-08-31 16:06:32 +00:00
Bryce Denney
baeeb6d99c
- give the "struct {} s" a type name
2001-08-30 02:04:42 +00:00
Bryce Denney
b966bf0bab
- fix expression that required implicit bool->int which caused havoc on
...
vc++. Now it says (boolean expression)?1:0 instead.
2001-08-30 02:02:10 +00:00
Todd T.Fries
cd9733391b
AtheOS triggers this, move to debug
2001-08-24 21:02:37 +00:00
Gregory Alexander
03a2ae5bbd
Minor theoretical fix for X. I don't see any benefit, but
...
it may just be that there are other problems afoot.
Modified Files:
x.cc
2001-08-24 13:50:02 +00:00
Gregory Alexander
59d9dbdd98
Another mouse fix. This one changes the model a bit to
...
act more like a real system. It has some problems, but
is MUCH better than it was.
Modified Files:
keyboard.cc keyboard.h
2001-08-24 13:48:05 +00:00
Gregory Alexander
6641d17c56
Improve mouse performance/responsiveness.
...
Modified Files:
keyboard.cc slowdown_timer.cc
2001-08-23 13:04:14 +00:00
Gregory Alexander
0539a04e3b
Fix a filehandle leak.
...
Modified Files:
floppy.cc
2001-08-23 13:02:50 +00:00
Gregory Alexander
a1556b2495
Oh, and this one too.
2001-08-22 02:03:04 +00:00
Gregory Alexander
3b6f192a30
Remove OpenBSD debug info.
2001-08-22 02:01:23 +00:00
Gregory Alexander
dc7fe22635
Almost working version of slowdown timer.
2001-08-22 01:21:30 +00:00
Bryce Denney
6334f837e2
- now BIOS messages have prefix "BIOS" instead of "UNMP"
2001-08-21 04:10:35 +00:00
Gregory Alexander
d9fd468ff4
Made the new PIT the default.
2001-08-18 14:15:41 +00:00
Gregory Alexander
9aa7a88028
Lots of timer stuff.
...
Fixed a "feature" in pc_system.cc with setting timers to small values
that can cause bochs to hang.
Significantly improved the performance of the new PIT.
It's probably ready to become the default now.
Added a preliminary implementation of the slowdown timer
that Bryce and I had talked about.
2001-08-18 03:28:23 +00:00
Nicholai Benalal
075578621b
ok, now the amiga target on cvs is complete
2001-08-16 12:35:52 +00:00
Bryce Denney
f5e4bfe125
- we adopted the eth_linux.cc from splite@purdue.edu since it was
...
designed for bochs
2001-08-16 04:37:40 +00:00
Bryce Denney
4ee1c21347
- between debian package work by Rom Lemley and other bug fixes, basically
...
everything has been covered.
2001-08-16 04:36:37 +00:00
Bryce Denney
72d28e5a87
- add string parameter called screenmode
...
- put #if BX_USE_AMIGAOS...#endif around fullscreen and screenmode, since
they only apply to amiga
2001-08-16 02:00:31 +00:00
Bryce Denney
595d6a0132
- now I know that 0xe7 is flush cache so I improved the comments somewhat
...
- if an unknown command comes along and triggers a BX_PANIC and they
choose the continue, call command_aborted().
2001-08-15 20:54:36 +00:00
Bryce Denney
42aa1fcf46
- I realized that cdrom_amigaos.o is a replacement for cdrom.o, not a
...
supplement.
2001-08-15 20:39:40 +00:00
Bryce Denney
bf286c20ac
- configure and makefile changes for AmigaOS port. Now configure
...
--with-amigaos is allowed and sets up the makefiles correctly. It
defines a symbol called BX_WITH_AMIGAOS, which should be used in
#if..#endif constructs that are specific to amigaos.
- if --enable-cdrom is used with --with-amigaos, the cdrom_amigaos.o
object file will be added to CDROM_OBJS in the iodev makefile.
2001-08-15 20:33:47 +00:00
Bryce Denney
f0c45a6f0e
- make it clear that it's only used for cdrom_amigaos.cc.
2001-08-15 20:32:16 +00:00
Bryce Denney
06a7658f88
- changed #ifdefs to #ifs. Even when the new PIT is unused, there will
...
still be a definition of BX_USE_NEW_PIT=0 in config.h.
2001-08-15 20:23:58 +00:00
Bryce Denney
eb6a85629e
- add option called fullscreen, for Nicholai Benalal's amiga port
2001-08-15 20:17:19 +00:00
Bryce Denney
4d8a524e81
- add --enable-new-pit option to turn on Greg's PIT model
2001-08-15 17:51:10 +00:00
Bryce Denney
aca0d3fae8
- apply BIOS patch from Barry Allard to check the boot signature
...
- fiddle with I/O handler for port 0x401 to allow BIOS to write a
complete panic message
2001-08-15 04:56:00 +00:00
Bryce Denney
c2df8d4f7d
- remove newlines from BX_PANIC and similar statements. it is implied.
2001-08-14 06:48:03 +00:00
Bryce Denney
71e8228866
- gcc didn't like the double(N) syntax that worked ok for VC++. It needs
...
typecast syntax instead, as in "(double)N"
2001-08-14 06:24:12 +00:00
Bryce Denney
af48556aea
- add NE2000 support for linux by default
2001-08-14 06:09:28 +00:00
Bryce Denney
eaf4a5f9b6
- remove the include of "type.h" that was added with Psyon's cdrom patch.
2001-08-14 05:01:49 +00:00
Bryce Denney
4f10d657ce
- last function never returned a value
2001-08-14 04:56:11 +00:00
Bryce Denney
7432de6de4
- vc++ gripes about conversion from Bit32u to double, so it has to be
...
converted to Bit32s and then to double.
2001-08-14 04:55:31 +00:00
Bryce Denney
f229ae1afd
- a right shift by 12 was accidently written as one greater than instead of two
2001-08-14 04:53:32 +00:00
Bryce Denney
b483593107
- add case for IDE command 0xe7 so that it doesn't panic when installing
...
win2000
2001-08-13 15:58:35 +00:00
Bryce Denney
1540695f17
- for big endian machines I reversed the bit fields in interrupt_reason.
...
This was pointed out by Nicholai Benalal.
2001-08-13 15:48:13 +00:00
Bryce Denney
6b6acdc376
- add scsi_commands.h for Amiga CDROM support, from Nicholai Benalal
...
<nicholai@chello.se>
2001-08-13 15:35:54 +00:00
Bryce Denney
aa671e6e51
- add CDROM support for Amiga, from Nicholai Benalal <nicholai@chello.se>
2001-08-13 15:33:59 +00:00
Bryce Denney
4ef1f45322
- add amiga gui from Nicholai Benalal <nicholai@chello.se>
2001-08-13 15:32:51 +00:00
Bryce Denney
8aa6c07a96
- if log file cannot be fopened, do not allow logfd to become a NULL
...
pointer. For now, panic instead to avoid inexplicable segfaults.
2001-08-10 23:03:07 +00:00
Bryce Denney
284178479b
- apply patch "patch.ifdef-paging-tlb"
2001-08-10 18:42:24 +00:00
Bryce Denney
80bfb49291
- patch from Thomas Fitzsimmons <fitzsim@cygnus.com> to fix compile
...
problems when BX_SUPPORT_PAGING and BX_USE_TLB are turned off
2001-08-10 18:31:53 +00:00
Bryce Denney
d3417529f3
- this change was submitted by ecelca@yahoo.com and turned into a patch
...
by Bryce. For ecelca@yahoo it fixes ping packet loss, but for Psyon
it causes 100% packet loss.
2001-08-10 17:19:18 +00:00
Todd T.Fries
53ae809632
cleanup debug stuff
2001-07-10 17:20:36 +00:00
Bryce Denney
c0bd506231
- apply patch [ #439314 ] [Patch] Exception 1 (debug) on HALT
...
by thomas.petazzoni@meridon.com . Bryce introduced this bug in
revision 1.9 when split the code into separate #ifdefs for single
CPU and multiple CPU. Comments on the patch are:
> The following patch addresses a bug concerning the exception 1 (debug)
> which is being raised during HALT under certain conditions. It
> appears only on recent versions (1.2.1 or last CVS), and not on
> version 2000-0104.
2001-07-08 14:36:36 +00:00
Gregory Alexander
c9d18333c0
More preprocessor controls.
2001-07-05 23:55:22 +00:00
Gregory Alexander
6052b0054b
Put the new PIT back in. The whole thing should be ifdef'd
...
out when not in use.
2001-07-02 01:21:59 +00:00
Gregory Alexander
fc0ee2dc3e
Added compiler define to use the new PIT.
...
Also added a hack to keep the OpenBSD timer problem from filling the log.
The new PIT seems to work, but until some
enhancements are made to the way the timers
and devices.cc work, it'll be slower than
the old one.
2001-07-01 20:49:46 +00:00
Gregory Alexander
0359f17c64
Added a get time function in useconds.
2001-07-01 20:42:56 +00:00
Bryce Denney
04b86b0468
- add new example that logs the PC and I/O reads and writes to
...
a file called bxevent.txt
2001-06-28 19:48:37 +00:00
Bryce Denney
3f8f6c9a0c
- added new macros BX_INSTR_INP2 and BX_INSTR_OUTP2, which report the
...
values that are being written and read from I/O accesses.
2001-06-28 19:48:04 +00:00