Gregory Alexander
ce339e0b78
Only respond to ARP packets.
2001-06-20 01:00:04 +00:00
Todd T.Fries
12985edb26
setprefix now uses a variable length name as a string for an argument
2001-06-19 21:36:09 +00:00
Todd T.Fries
7f18b0c181
serial enable step 1
2001-06-19 17:52:46 +00:00
Bryce Denney
4df55e3713
- merge TX and RX log into a single ne2k.raw and ne2k.txt.
2001-06-19 16:57:55 +00:00
Bryce Denney
8a61ebd6c3
- now rxlog and rxlog_txt are actually opened
2001-06-19 16:39:18 +00:00
Bryce Denney
427506cb87
- oops, renamed charbuf to rxbuf
2001-06-19 16:36:09 +00:00
Bryce Denney
c552310880
- oops, class_ptr renamed to this
2001-06-19 16:34:09 +00:00
Todd T.Fries
9b2060555e
fwoop, forgot
2001-06-19 16:31:28 +00:00
Todd T.Fries
8bccacd84b
split log stuff into a separate file
2001-06-19 16:25:41 +00:00
Bryce Denney
01d7de33ad
- add logging code to eth_fbsd, similar to eth_null.cc
2001-06-19 16:09:13 +00:00
Todd T.Fries
5a53cd50ca
fix compile problem with newer gcc (2.95.3 for me)
2001-06-19 14:55:34 +00:00
Bryce Denney
5dfc5cc7f6
- a few parameters didn't use get as they should.
2001-06-19 14:20:47 +00:00
Bryce Denney
a5693c93ab
- the get method should not be able to modify the value
...
- added some comments around the get/set methods
2001-06-19 14:20:24 +00:00
Bryce Denney
f5272645a7
- the max of the loop should be BX_NOTIFY_MAX_ARGS, not NOTIFY_TYPE_STRING
2001-06-19 05:01:46 +00:00
Bryce Denney
8958d64f15
- fix another initialization problem that I believe was causing Greg's
...
crash in the mouse code. The particular problem was that init_done
was never initialized to zero, but it always turned out to be zero
on my system. This may explain why it worked for me but crashed
for him.
2001-06-19 04:55:01 +00:00
Bryce Denney
c8b87d1f50
- fixed bug that caused mouse events to get through to bochs, even
...
when mouse was disabled. It didn't warp the cursor so it was mostly
just strange, not dangerous.
2001-06-19 04:42:35 +00:00
Bryce Denney
0dc38d6fb6
- applied this patch, so removed it from patches
2001-06-19 02:42:04 +00:00
Bryce Denney
7f242d27d2
- to allow compile on AIX, I removed parentheses around type name in
...
the "new" calls. Changed this:
new (bx_param_c*)[registry_alloc_size];
to this:
new bx_param_c* [registry_alloc_size];
in three places
2001-06-18 22:37:46 +00:00
Bryce Denney
181e2d9a45
- forgot to initialize bx_param_string_c::handler before. Thanks to Greg
...
for narrowing this down.
2001-06-18 22:34:03 +00:00
Bryce Denney
4be3406517
- turned printfs into BX_INFOs
...
- some line wraps, introduced between Calvin's disk and mine, removed
2001-06-18 21:14:00 +00:00
Bryce Denney
67970b2992
- Calvin Smith's cdrom patch (win32 specific) that allows Bochs to read
...
from a cdrom image file
2001-06-18 21:11:46 +00:00
Bryce Denney
7080fff6d7
- Calvin Smith patch to read raw ISO file as a cdrom
2001-06-18 20:55:07 +00:00
Bryce Denney
52e14e559d
- now that some bx_options in main.cc have changed to bx_param_c, the
...
bochs debugger needed to be updated in the same way. Instead of
using "bx_options.rom.path" as a string, it's now
bx_options.rom.path->getptr () to get the value of the parameter.
2001-06-18 19:01:49 +00:00
Bryce Denney
89de2c38aa
- now the "memory options" menu is entirely defined using parameter
...
data structures, see bx_init_options in main.cc. The implementation
of this menu and all its choices is 17 lines long, see do_mem_options_menu
in gui/control.cc.
2001-06-18 14:11:55 +00:00
Gregory Alexander
064f372576
Added a CRC at the end. Still doesn't work, but I
...
feel better about it in general. Still need to work
on byte order issues in the CRC.
2001-06-18 13:13:52 +00:00
Gregory Alexander
e519ea4d44
Fixed compile problems in the CRC code, eth.cc, and eth_fbsd.cc.
...
(Some systems configure with eth_fbsd.cc but can't compile it.)
2001-06-17 23:08:27 +00:00
Gregory Alexander
7d9d0b6769
Added a packetmover that will eventually artificially respond to arps.
...
This can later be used as an example of how to artificially generate
packets to send to bochs.
2001-06-17 23:06:39 +00:00
Gregory Alexander
b94d9a6656
Added CRC code for use in calculating ethernet CRCs.
2001-06-17 22:39:57 +00:00
Bryce Denney
d0f1caa404
- turned rom address and vga rom path into bx_param_c parameters, so that
...
now the whole "Bochs Memory Options" menu uses new style parameters.
The next step is to remove the hardcoded stuff that generates and runs
this menu, and replace it with general menu building code. All you should
need to create this menu is the string "Bochs Memory Options", and the
IDs of the bx_param_c options that should appear on the menu. The
bx_param_c structure for each parameter tell what type it is, how to
display it, constraints on the value, what to do when the parameter
changes.
2001-06-17 13:50:52 +00:00
Bryce Denney
c3d88c5924
- now ips, mouse_enabled, vga_update_interval, and rom_path are
...
declared as bx_param_c * types in the bx_options structure. They are
initialized in main.cc (bx_init_options) with default values.
Access to parameters of this type should always be like this:
bx_options.mouse_enabled->get ();
bx_options.mouse_enabled->set (newval);
Eventually I will be transferring all options to this format.
2001-06-16 23:08:32 +00:00
Bryce Denney
8f5bb7419d
- now megs, ips, mouse_enabled, vga_update_interval, and rom_path
...
are using Bryce's experimental parameter structures.
2001-06-16 19:29:59 +00:00
Bryce Denney
c5b355e4bd
- add dependency rule so gui directory will actually recompile when
...
headers are changed
2001-06-16 19:29:07 +00:00
Bryce Denney
1ae66aeeb6
- added empty stubs for serial_raw. To try it out, define USE_RAW_SERIAL
...
in config.h and add serial_raw.o to the makefile in the iodev directory.
2001-06-16 19:27:41 +00:00
Bryce Denney
3532885cf2
- set the prefix and type in the constructor
2001-06-16 04:30:17 +00:00
Bryce Denney
c8ae6c4aa9
- set logging prefix and type in the constructor
2001-06-16 04:27:22 +00:00
m2calabr
25a8b274ed
Update to put on website automatically.
2001-06-16 00:23:33 +00:00
Bryce Denney
945b295c4d
- gradually moving toward a set_parameter(param,val) style interface
...
instead of a set_vga_update_interval(val) style.
2001-06-15 23:52:34 +00:00
Bryce Denney
cee98e0033
- Add special case for power button so that it is always fatal.
...
a GUI panic.
2001-06-15 18:01:52 +00:00
Bryce Denney
d165585a77
- remove bx_dbg notation, replace with BX_DEBUG.
2001-06-15 12:32:15 +00:00
Bryce Denney
794ebad9cb
- add lots of comments, also try to fix permission problems when installing
...
the tar
2001-06-15 00:40:42 +00:00
m2calabr
1612f04fdc
Updated to new directory layout.
2001-06-15 00:31:01 +00:00
Bryce Denney
f7738ab93d
- change structure so that each major section (user, development,
...
documentation) has its own directory.
2001-06-15 00:09:05 +00:00
m2calabr
4e988ff8e0
Added file to display all of the generated docs.
2001-06-14 21:56:02 +00:00
m2calabr
fbcd496e2d
Completed FAQ section
2001-06-14 21:05:27 +00:00
Todd T.Fries
9adacd37d5
while its not elegant, it works to remove the trailing '\n'
2001-06-14 14:14:17 +00:00
Bryce Denney
0998d63de7
- add eth_null logging switch, currently on.
2001-06-13 22:28:17 +00:00
Bryce Denney
2dfc559057
- add the beginnings of linux support
...
- add logging code to eth_null which is enabled by BX_ETH_NULL_LOGGING in
config.h.
2001-06-13 22:27:52 +00:00
Todd T.Fries
235f7867ec
bios prints should not have \n in them
2001-06-13 17:18:47 +00:00
Todd T.Fries
a01a26b399
remove \n
2001-06-13 17:01:36 +00:00
Todd T.Fries
61d13559e9
tweaks here and there, show ne2k mac, shorten BX_ messages by removing redundant strings, etc
2001-06-13 16:53:58 +00:00