Commit Graph

3816 Commits

Author SHA1 Message Date
Volker Ruppert
df2d388fa4 - io_len mask fixed and unnecessary io_len checks removed from the remaining
devices except pciusb
2003-07-31 19:51:42 +00:00
Stanislav Shwartsman
eb462724b8 FPU_Info was not implemented, remove it 2003-07-31 18:54:48 +00:00
Stanislav Shwartsman
ec1203bc61 I am going to do complete revision on FPU code.
Reduce complexity of the code for nOw
2003-07-31 17:39:24 +00:00
Volker Ruppert
37f3ea02b0 - new accesss mask must be checked in the i/o read/write register function.
This is necessary for devices with different i/o port masks.
- BX_MAX_IO_DEVICES increased to 30
- io_len mask fixed and unnecessary io_len checks removed in
  * biosdev.cc
  * cmos.cc
  * dma.cc
2003-07-31 15:29:34 +00:00
Volker Ruppert
bcdcf42bdd - io_len mask in i/o register functions implemented (1 = 8bit, 2 = 16bit, 4 = 32bit).
Unallowed cases are now handled in devices.cc and cause a BX_ERROR.
- io_len mask fixed and unnecessary io_len checks removed in
  * devices.cc
  * extfpuirq.cc
  * gameport.cc
  * ne2k.cc
  * pit.cc
  * pit_wrap.cc (i/o register function calls replaced by DEV_* macro calls)
- TODO: implement this in all other devices
2003-07-31 12:04:48 +00:00
Bryce Denney
1d638d67b5 - spell fix 2003-07-30 13:20:46 +00:00
Bryce Denney
dcce1d8bcb - DarkElf (original author) sent a one-char typo fix
- Max Sanzharov sent a different one-char typo fix
2003-07-30 13:14:51 +00:00
Volker Ruppert
c496962184 - the NE2000 driver for MS-DOS writes a 16 bit value to page 0 reg 5. Now the
low-byte is written to this register and the high-byte is ignored.
2003-07-30 10:45:13 +00:00
Volker Ruppert
6723fc80a5 - the shutdown port now works if the debugger is enabled, too 2003-07-29 18:17:33 +00:00
Volker Ruppert
99a7d850b3 - byte writes to the first register of an ATA channel are ignored now (BX_PANIC
replaced by BX_ERROR)
2003-07-29 16:08:54 +00:00
Bryce Denney
50c023e1b4 - Eric Brasseur sent me a new version which adds XK_bar and XK_bracketright. 2003-07-29 13:31:11 +00:00
Bryce Denney
604e40ed37 - Bryce received this patch on 2003-07-28 2003-07-28 20:21:48 +00:00
Volker Ruppert
451ab1a4e1 - read/write access to the ports 0x03f6 and 0x03f7 no longer causes a panic
if all ATA channels are disabled (fixes SF bug #741433)
2003-07-28 18:52:14 +00:00
Volker Ruppert
0d49a260f2 - function bx_print_log_action_table() improved
* header for column "pass" added
  * devices without a prefix are hidden now
2003-07-28 13:55:53 +00:00
Volker Ruppert
2ab3440a0a - function getlevel() fixed (limit set to N_LOGLEV) 2003-07-28 13:55:20 +00:00
Volker Ruppert
4a4e90d96e - missing #if BX_SUPPORT_VBE added in i/o write handler 2003-07-27 17:50:43 +00:00
Stanislav Shwartsman
405e8d996e C++ style comments are not legal in pure C 2003-07-25 11:44:06 +00:00
Stanislav Shwartsman
7e29d16e97 Fixed a problem in patch 64bit address in FPU 2003-07-25 09:16:26 +00:00
Stanislav Shwartsman
9f82d7d3e6 Removed already committed patch.highmem
Applied FPU 64but addressing patch
I am starting to work on FPU code so I need the patch committed,
it looks ok and nobody still not complained ;)
2003-07-25 08:59:46 +00:00
Volker Ruppert
1155b63564 - undocumented feature (???): blinking feature exists in graphics modes, too.
The colors 0..7 appear in high intensity and the colors 8..15 blink using
  low / high intensity. Blinking is not present in Bochs yet. For now, the 3rd
  bit of the attribute will be inverted.
- attribute controller mode control register: only a change of the internal
  palette size bit should force a redraw
- skip screen update if video is disabled
2003-07-19 21:44:37 +00:00
Volker Ruppert
687b8281cc - these attribute controller registers now force a redraw: mode control, color
plane enable and color select
- a screen update is necessary after updating the charmap
- lots of missing parentheses added (found after disabling VGA_TRACE_FEATURE)
- BX_DEBUG and BX_INFO messages improved
2003-07-18 18:31:50 +00:00
Volker Ruppert
7d4260ae35 - list of changes and applied patches added 2003-07-18 15:52:05 +00:00
Volker Ruppert
2c64b67679 - runtime configuration and gui dialogs must be disabled if the active display
library is rfb
2003-07-18 15:51:02 +00:00
Stanislav Shwartsman
432235546f Changes by me for 2.1 2003-07-17 16:35:09 +00:00
Volker Ruppert
950ebedb0f - these file are no longer necessary (patches applied to the main code) 2003-07-17 15:51:32 +00:00
Volker Ruppert
707004d222 - the floppy handlers now return immediately if the requested floppy device
doesn't exist
2003-07-17 15:49:23 +00:00
Bryce Denney
7c338ddfe2 - add template for list of changes for 2.1. Developers, please write about
what you have added since 2.0.2.
2003-07-17 12:55:44 +00:00
Volker Ruppert
592d7a7207 - a palette entry change must force a redraw in VBE mode, too
- update function: the 'for' loop now initializes and increments the variables
  xti and yti
- VBE: banked writes are now ignored in LFB mode, LFB writes are ignored in
  banked mode (based on SF patch #742782)
2003-07-17 07:55:56 +00:00
Volker Ruppert
a016eff261 - VBE LFB flag added
- VBE set bank now ignored in LFB mode
2003-07-16 17:56:25 +00:00
Volker Ruppert
a44917df00 - VGA font section is obsolete now (remark added)
- VESA/VBE references updated
2003-07-16 12:49:52 +00:00
Volker Ruppert
0d60d343b3 - simple floppy image dialogbox for win32 added
- references to wx removed from the floppy button handlers (wx doesn't use them)
2003-07-15 21:02:05 +00:00
Volker Ruppert
4e63eca16c - vbe_mem_write(): offset calculation fixed
- calculation of the VBE virtual height for >8bpp fixed
- visible screen size must be recalculated after changing the virtual width
- modify standard VGA register when enabling a VBE mode (some test applications
  expect this behaviour)
- BX_INFO messages in the VBE code fixed
2003-07-15 13:05:20 +00:00
Volker Ruppert
e895145ef8 - wx resource problem in plugin mode on win32 fixed. Windows supports only one
resource section and we had two binary resource files if both wx and win32
  are enabled. Now we have only one binary file with all resources.
2003-07-13 23:30:55 +00:00
Volker Ruppert
7bf059fcea - function put_scancode() removed. It is no longer necessary, since all display
libraries are now using DEV_kbd_gen_scancode() to send key events to the
  emulated keyboard.
- argument name of DEV_kbd_gen_scancode() renamed to 'key'
2003-07-13 19:51:21 +00:00
Volker Ruppert
3f9192d5ce - key event handling of the wx gui on win32 (wxMSW) fixed. Now the function
DEV_kbd_gen_scancode() is called instead of DEV_kbd_put_scancode(). This
  change enables the support for different scancode sets. The win32 scancodes
  are now converted to BX_KEY_* values (partially copied from gui/win32.cc)
2003-07-13 16:31:35 +00:00
Volker Ruppert
b504bdaa42 - 15 bpp color depth now supported by the wx display library 2003-07-12 23:03:06 +00:00
Volker Ruppert
06926b75fd - 15 bpp color depth now supported by the x11 display library 2003-07-12 17:29:16 +00:00
Volker Ruppert
e073214525 - new function getBXKeyName() returns the name of a BX_KEY symbol
(used by BX_DEBUG message in the keyboard code)
- despription of keymap.cc updated
2003-07-12 08:17:10 +00:00
Volker Ruppert
e38fadb2c8 - 15 bpp color depth now working with the win32 gui on Win NT/2000/XP, too 2003-07-11 15:11:24 +00:00
Volker Ruppert
032d2aae78 - removed obsolete functions pluginRegisterDevice() and bx_load_plugins() 2003-07-10 20:26:05 +00:00
Volker Ruppert
6a07c1eb5a - BX_ERROR added: change of the config interface to wx not implemented yet 2003-07-10 19:13:28 +00:00
Volker Ruppert
5c11b64bdf - support for 15 bpp modes added in the vga code and the sdl display library
- sdl: in function graphics_tile_update() vga_bpp handled in a case structure
2003-07-09 20:15:38 +00:00
Volker Ruppert
68da9fb6e6 - the server waits 30 seconds for a client connection. The simulation starts
after the connect.
- log action for panic set to fatal (the ask menu doesn't work on the client side)
- missing prefix for RFB added
2003-07-06 20:51:05 +00:00
Volker Ruppert
b06ef9c90e - special rule for building the rfb plugin on win32 added 2003-07-06 16:31:05 +00:00
Volker Ruppert
b0da735fd8 - check for socket() in wsock32 removed (it doesn't work this way) 2003-07-06 11:46:31 +00:00
Volker Ruppert
69d8b791f4 - detection of the socket function (used by RFB) fixed for the win32 target 2003-07-06 09:00:36 +00:00
Volker Ruppert
8df8546e5b - charmap change support added
- new text mode features: line offset, cursor size, font height
- key handling rewritten (taken from x.cc)
- headerbar now working
- headerbar colors changed
- graphics modes > 640x480 now cause a BX_PANIC
2003-07-05 16:08:00 +00:00
Volker Ruppert
125e3479e6 - fixes for cross-compilation (building win32 binary on linux)
* configure.in: readline check is only necessary if the debugger is enabled
    (patch from Jeroen Janssen)
  * iodev/Makefile.in: dependencies updated after adding gameport device
2003-07-05 05:31:40 +00:00
Volker Ruppert
2834e49ad8 - display library wx now supports 16, 24 and 32 bpp video modes
(wxWindows ignores bit 24..31 in 32bpp modes)
2003-07-04 17:11:37 +00:00
Volker Ruppert
11ea37fd34 - small optimizations in function graphics_tile_update()
- bpp value check in function dimension_update() improved
2003-07-03 17:57:42 +00:00