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
Bryce Denney
43cc565324
- add macros BX_INSTR_START() BX_INSTR_STOP() BX_INSTR_RESET() BX_INSTR_PRINT()
2001-06-28 19:47:29 +00:00
Bryce Denney
b62b7f4bde
- use instrumentation macros for
...
BX_INSTR_START BX_INSTR_STOP BX_INSTR_RESET BX_INSTR_PRINT
They used to be callback functions, a long time ago.
2001-06-28 19:46:34 +00:00
Bryce Denney
3d29d5d614
- add instrumentation macros for begin and end opcode. These are usually
...
defined to be empty, so there should be no effect except for instrumentation
2001-06-28 19:45:44 +00:00
Bryce Denney
5188fd30f9
- updated in a few ways: use BX_PANIC and BX_INFO instead of stdio calls
...
- fixed references to CS
- add prototypes for init and shutdown
2001-06-28 19:43:14 +00:00
Bryce Denney
ab33978151
- add bx_instr_lin_read and bx_instr_lin_write which were missing
...
- add bx_instr_inp2 and bx_instr_outp2 which actually report the
values that were used in the I/O operation! I made new macros
and functions instead of changing the existing ones on the slight
chance that somebody already has code that uses the old ones.
2001-06-28 19:05:07 +00:00
Todd T.Fries
a54ef5ad9b
add strerror to bpf open error
2001-06-28 14:00:37 +00:00
Bryce Denney
f22aac2100
- Patch from Mike Lerwill <mike@homemjl.freeserve.co.uk>
...
turn "long long" into Bit64s
2001-06-28 13:51:41 +00:00
Bryce Denney
298d0dff1d
- I accidently checked in "panic: action=fatal" with some other things. I
...
want "panic: action=ask" to be the default.
2001-06-28 02:09:05 +00:00
Bryce Denney
c82a3481e3
- remove patches which have already been committed to the source tree
2001-06-28 01:54:24 +00:00
Bryce Denney
13ff8b1870
- use #undef to avoid name conflicts with OUT. OUT is the name of
...
part of a pit structure, but is also defined in the system headers
on some systems.
2001-06-28 01:36:11 +00:00
Gregory Alexander
85b5157a7e
Added significant improvements to the new pit. It's about ready for use.
...
The only big thing it's lacking right now is testing, which is a
little difficult to do, considering the new interface. Oh, well.
2001-06-27 22:25:24 +00:00
Todd T.Fries
4f1c151520
Move Init $ to ::init()
2001-06-27 20:27:49 +00:00
Todd T.Fries
f833500359
some reformat, various misc stuff with Init, introduce $
2001-06-27 20:11:10 +00:00
Todd T.Fries
a06b031dcf
setprefix -> put
2001-06-27 19:16:01 +00:00
instinc
6af3f5bd9f
- Added irq IRR removal when specific EOI is received
2001-06-26 21:55:25 +00:00