Commit Graph

1229 Commits

Author SHA1 Message Date
Christophe Bothamy
f775660df4 - Changes for Win98 CD-ROM booting 2002-02-06 08:45:51 +00:00
instinc
12f50276e5 Removed the configuration panel width/height
Added FG/BG color definitions for the headerbar
2002-02-06 02:13:32 +00:00
instinc
ee181da9d3 Added required space for the control bar
Added control for 80x50 fonts
Added mouse input
Added mouse grabbing
Added automatic mouse grabbing when entering full screen
Added autoremoval of header when going fullscreen
Simplified a couple of graphic routines
2002-02-06 02:12:45 +00:00
instinc
61ee0ca2c3 Added mouse input + mouse/keyboard grabbing. 2002-02-05 21:39:15 +00:00
instinc
4be53d635a Added --with-sdl 2002-02-05 19:21:59 +00:00
instinc
70055903ed Added SDL libraries 2002-02-05 17:37:11 +00:00
instinc
96fdd89e74 added SDL libraries 2002-02-05 17:36:42 +00:00
instinc
10fd6daf08 SDL support, importing sources 2002-02-05 05:51:38 +00:00
instinc
55b2f65a1c Header file for sdl.cc 2002-02-05 05:50:50 +00:00
Volker Ruppert
1d9861fc59 - implementation of the text mode snapshot function 2002-02-04 20:31:35 +00:00
Volker Ruppert
2d5a9bd459 - new sense key SENSE_UNIT_ATTENTION for media change
- set sense key and raise an interrupt after inserting cdrom media
- atapi command 'eject disk' implemented
2002-02-03 20:49:44 +00:00
Bryce Denney
cb1db03fe9 - Dean Payne sent these modifications to niclist. He said it works under
win2k and win95 now.
2002-02-03 06:22:21 +00:00
Bryce Denney
6ddc8128ff - use DOS/Win format returns. not sure why it wasn't like this before. 2002-02-03 06:19:42 +00:00
Volker Ruppert
84b649831e - new cdrom button in the headerbar
- changing cdrom media in a Bochs session now possible
- don't eject cdrom when the guest OS has locked the drive
2002-02-01 16:46:27 +00:00
Volker Ruppert
8a07e04cc2 - new button for inserting / ejecting cdrom (not handled yet) 2002-01-31 21:16:52 +00:00
Gregory Alexander
dcdc5b2624 Minor fix to raise/lower irq code. 2002-01-31 17:26:26 +00:00
Gregory Alexander
05983c7a48 Changes to the pit wrapper code that should help synchronization some. 2002-01-31 17:18:38 +00:00
Gregory Alexander
26e6452142 Preparing for another pit time sync upgrade. 2002-01-31 16:52:00 +00:00
Volker Ruppert
0b6ab60780 - IOAPIC calls added in functions raise_irq() and lower_irq() (untested) 2002-01-30 18:33:41 +00:00
Christophe Bothamy
ac91aa0d3c . changes to enable El-Torito boot. It is disabled by default in rombios.c 2002-01-30 10:30:52 +00:00
Christophe Bothamy
d36bb4bdfd . BIOS image with El-Torito boot compiled in 2002-01-30 10:27:29 +00:00
Volker Ruppert
ad072e2bc6 - implementation of the edge triggered IRQ mode
- new functions raise_irq() and lower_irq()
- all trigger_irq() / untrigger_irq() calls are replaced by the new functions
- REMARK: timer IRQ handling is not correct but it works
- TODO: IOAPIC IRQ handling needs to be changed
2002-01-29 17:20:12 +00:00
Volker Ruppert
2933948216 - set the media status for the siminterface to 'ejected' if cdrom is not present 2002-01-27 21:58:41 +00:00
Volker Ruppert
e472507616 - set_media_status() sets the media state for the simulation interface too 2002-01-27 21:56:53 +00:00
Volker Ruppert
accd3b2370 - runtime options menu reports the correct media status (inserted/ejected) 2002-01-27 21:55:27 +00:00
Volker Ruppert
e4516a12e8 - new PIC IRQ handling implements edge triggered mode 2002-01-27 17:00:13 +00:00
Volker Ruppert
873aa0c127 - keyboard self test reads the status register to clear IRQ line
- PS/2 mouse hack removed - unmask IRQ in PIC setup
- commented keyboard buffer initialisation removed
2002-01-27 09:26:23 +00:00
Volker Ruppert
856ad9f99d - statement 'static' removed from bx_gui_c::sim_is_idle() 2002-01-27 09:24:50 +00:00
Volker Ruppert
8bf4e10948 - check for the validity of BX_USE_IDLE_HACK moved after the gui definition 2002-01-27 09:24:08 +00:00
Volker Ruppert
4ed537308c - read access to the status registers clears the IRQs 2002-01-27 00:41:38 +00:00
Volker Ruppert
4d4be62283 - specific EOI doesn't clear the IRR bit
- service_master_pic() / service_slave_pic() do clear the IRR bit
- new IRQ signal handling prepared
2002-01-26 12:03:55 +00:00
Volker Ruppert
6461cb2ab9 - new IRQ signal handling prepared 2002-01-26 12:03:10 +00:00
Volker Ruppert
7aac4bfb3d - reading status register C clears the IRQ
- use BX_CMOS_THIS instead of class_ptr-> (the way other devices do)
2002-01-26 10:00:08 +00:00
Volker Ruppert
81bbbd27b2 - clear DSP.irqpending only if the value of mixer register 0x82 is 0
- use conversion type %d for logfile (Cygwin doesn't know %i)
2002-01-25 20:31:42 +00:00
Volker Ruppert
70ac9ca440 - clear IRQ if no unmasked interrupts are pending 2002-01-25 20:31:00 +00:00
Volker Ruppert
14679e9413 - floppy hardware interrupt handler issues 'sense interrupt status' if there
are no result bytes to read
2002-01-24 20:32:22 +00:00
Volker Ruppert
dde7bd3a61 - CGA mode 320x200 implemented - thanks to Sebastien Béchet
<bechets@ifsic.univ-rennes1.fr>
2002-01-24 20:30:45 +00:00
Volker Ruppert
a373e8dc12 - software reset doesn't clear selected data rate
- IRQ is cleared when the result phase is complete
2002-01-23 20:23:07 +00:00
Volker Ruppert
d22d280571 - interrupt handling improved (only loopback works for now)
- interrupt reasons modem status change and receiver line status change added
- number of data bits is considered now
- REMARK: Windows 95 driver still makes trouble
- TODO: real serial communication, FIFO, second serial port
2002-01-20 16:35:32 +00:00
Volker Ruppert
a9c1b785f0 - when checking the presence if diskd, check the presence of diskc, too
- clear IRQ after reading status register 0x1f7
- unused variable 'alloc_length' removed
- some messages fixed
2002-01-20 12:38:35 +00:00
Volker Ruppert
2d48b07d80 - unnecessary BX_PANICs removed, some others changed to BX_ERROR 2002-01-20 00:28:09 +00:00
Volker Ruppert
f0937a06b9 - INT 13: number of drives is not 0 if there is only a diskd present
- hard_drive_post: DS must point to EBDA segment when initialising
  parameters for diskd
- unmask only necessary IRQs at boot time
2002-01-20 00:25:59 +00:00
Volker Ruppert
d07f5a13ad - new function control_HRQ() changes the state of HRQ / cascade DRQ if necessary
- calling control_HRQ() in function DRQ() and after a write access to DMA mask
  or request register
2002-01-18 16:33:47 +00:00
Volker Ruppert
1073eaf524 - sending data to printer causes a BX_ERROR when offline
- untrigger_irq() seems to be necessary, so I add it again
2002-01-18 16:33:07 +00:00
Volker Ruppert
2892dbdb08 - track0 bit added to the result of the 'get status' command
- length of 'configure' floppy command fixed
- busy flag is set until the result of a read/write command is complete
- read/write access to unsupported address causes a BX_ERROR, not a BX_PANIC
- commented BX_INFO statements removed
2002-01-17 21:20:12 +00:00
Bryce Denney
d7ea373b90 - apparantly freebsd works with linux sound code. Now you can type
configure --enable-sb16=freebsd and it works according to
   Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
2002-01-16 19:52:28 +00:00
Volker Ruppert
8ce8b8e551 - patch is checked in 2002-01-16 16:43:57 +00:00
Volker Ruppert
6058946c09 - patch is no longer necessary 2002-01-16 16:40:37 +00:00
Volker Ruppert
ed04aff2ca - romscan routine from plex86 BIOS integrated 2002-01-15 21:22:00 +00:00
Volker Ruppert
aa4b1dd80f - service_slave_pic() checks the special mask of slave not master 2002-01-15 20:42:51 +00:00
Volker Ruppert
b061db9cd7 - mixer reset does not reset the IRQ/DMA settings
(Linux OSS driver resets the mixer after configuring IRQ/DMA)
- write timer ticks into logfile, not the localtime
2002-01-13 17:07:14 +00:00
Volker Ruppert
6d0adac941 - address decrement feature added
- set TC in autoinit mode too
- set mask bit on TC if not in autoinit mode
2002-01-13 17:06:33 +00:00
Volker Ruppert
c24eaf3e3c - patch is checked in and there are no bugreports 2002-01-13 17:05:29 +00:00
Volker Ruppert
26a2731a19 - return value of MCR fixed
- unnecessary untrigger_irq() calls removed
2002-01-08 20:31:14 +00:00
Volker Ruppert
395ef2f5c7 - obsolete variable 'alt_pressed' removed 2002-01-08 19:00:06 +00:00
Volker Ruppert
7a7bd0779f - version number updated 2002-01-08 18:58:47 +00:00
Bryce Denney
ed1a1e2f05 - .bochsrc said "keymap" instead of "map" which didn't match main.cc
(Jens Seidel)
2002-01-08 15:38:28 +00:00
Bryce Denney
d2a3364463 - clean up comment 2002-01-07 16:30:43 +00:00
Bryce Denney
4067313d38 - applied this patch 2002-01-07 16:23:13 +00:00
Bryce Denney
f94759416d - the patch lost some spaces in transmission, so I added them back. 2002-01-07 16:22:34 +00:00
Bryce Denney
f9fce32eca - remove broken code that deletes the "io" object. Since all logfunctions
objects point to the io object, it is not safe to delete the io object
  as soon as the first logfunctions object is deleted.  This leaves all the
  other logfunctions objects with pointers to a dead object.
2002-01-07 16:10:11 +00:00
Bryce Denney
11d907e40a - add Spanish keymap, from a patch by Vicente Hernando Ara
<bizenton@navegalia.com>
2002-01-07 15:50:50 +00:00
Bryce Denney
37d828e8b4 - spanish keymap patch from Vicente Hernando Ara <bizenton@navegalia.com> 2002-01-07 15:46:03 +00:00
Volker Ruppert
f9fdee7ed5 - 16-bit DMA mode fixed (VOC file output works) 2002-01-05 10:30:24 +00:00
Volker Ruppert
4b759265e9 - deassert HRQ if no DRQ is pending
- fixed boundary check for 16-bit DMA
- removed unnecessary comments
2002-01-05 10:28:49 +00:00
Volker Ruppert
45f11e30b2 - implementation of cascade mode (channel 4) 2002-01-02 10:00:54 +00:00
Volker Ruppert
7add6391d6 - DMA initialisation complete: unmask cascade channel 2002-01-02 09:59:32 +00:00
Volker Ruppert
e9a86dd9c8 - bx_init_hardware(): don't update the log actions if control panel is enabled 2002-01-02 09:57:58 +00:00
Volker Ruppert
17ab2fa85f - INT 13 diskette funktion 5 uses the "format track" function of the FDC
- added initialisation of PIC and DMA in POST - reboot of linux works now
2002-01-01 21:39:28 +00:00
Volker Ruppert
df10d56fe4 - recognize edge/level bit in ICW1, messages updated 2001-12-31 08:38:08 +00:00
Volker Ruppert
d6a1ec5fd9 - removed unnecessary untrigger_irq() call 2001-12-31 08:36:48 +00:00
Volker Ruppert
81ec874c5d - update log actions after reading command line or bochsrc 2001-12-29 11:40:37 +00:00
Volker Ruppert
4b68e7dcd8 - second set of changes to bochs floppy support 2001-12-28 16:39:59 +00:00
Volker Ruppert
d5b13d3131 - second set of changes to bochs floppy support.
* floppy command 'format track' implemented
  * read and write operations with MT=0 are working now
    (function 'increment_sector()' updated)
  * result code of floppy command 'get status' fixed
  * flag FS_MS_DIO is not set while the 'configure' floppy command is pending
2001-12-28 16:38:13 +00:00
Volker Ruppert
a8e9c246c7 - variables for 'format track' and MT=0 support added 2001-12-28 16:36:45 +00:00
Volker Ruppert
e1e51a29d9 - description completed 2001-12-27 20:54:03 +00:00
Volker Ruppert
c7d1e52217 - behaviour of some floppy commands changed 2001-12-27 09:32:54 +00:00
Volker Ruppert
328bd4fb84 - fixed the behaviour of some floppy commands (Windows 95 driver works now)
* diskette controller data register returns last result if no new data
    is available
  * reset will be activated when the reset bit is changed to normal operation
  * reset sets the error bits in status register 0
  * write access to port 0x3f4 will cause a BX_ERROR now
  * unsupported and invalid floppy commands are setting the error status bit
    'invalid command' - BX_PANIC not necessary
  * flag FS_MS_DIO is not set while a floppy command is pending
  * floppy command 'specify': cause a BX_ERROR when non-DMA mode is selected
  * floppy command 'sense interrupt status' returns an error is no interrupt
    is pending
  * floppy command 'read ID' sets the 'busy' flag and returns no data if the
    motor is not on
  * removed SIMX86 section (not defined in bochs)
  * define variable 'sTemp' for win32 only
2001-12-27 09:30:31 +00:00
Volker Ruppert
84f0593409 - added variable 'pending_irq' (needed for 'sense interrupt status' 2001-12-27 09:28:53 +00:00
Volker Ruppert
87e705a553 - implementation of transfer type 0 (verify) - dma write without writing to memory 2001-12-26 14:56:15 +00:00
Volker Ruppert
c7b6a1c58b - int 13 floppy function 08 returns always the pointer to the param table in ROM 2001-12-26 14:53:40 +00:00
Volker Ruppert
d459745df8 - patch is checked in and no problems are reported 2001-12-26 12:33:02 +00:00
Volker Ruppert
76fd8a43f9 - keyword 'virtual' added to the destructor 2001-12-22 20:58:25 +00:00
Volker Ruppert
3492a93d8f - write wave and midi data in binary mode
- adlib registers enabled (OPL emulation still not complete)
- fixed a warning in function opl_data()
- write current time into sb16 logfile
2001-12-22 13:30:10 +00:00
Christophe Bothamy
0f6a92235a - updated keyboard with mf1, mf2 and mf3 scancodes set handling
- Added scancode translation table and BX_KEY to scancode table
- completed BX_KEYS list
2001-12-22 00:00:33 +00:00
Christophe Bothamy
d8d03b431c - updated version of LGPL'd vgabios 2001-12-21 23:41:49 +00:00
Bryce Denney
cbd68598a3 - apply patch.memleaks-tominac from Darko Tominac <darko.tominac@zg.tel.hr>
which fixes some potential memory leaks
2001-12-21 19:33:18 +00:00
Bryce Denney
9884c923cd - previous rev was for version 1.3. This one matches current CVS. 2001-12-21 19:28:45 +00:00
Bryce Denney
a40569fb94 - add patch from Darko Tominac <darko.tominac@zg.tel.hr> 2001-12-21 19:12:48 +00:00
Volker Ruppert
f004e340e8 - asic_write: dma write size and remote bytes fixed (thanks to Mike Lerwill)
- read_handler: fixed a warning
2001-12-21 11:56:52 +00:00
Volker Ruppert
ecabb60da8 - chipmem read/write limit and dma write size fixed - Windows 95 driver works now 2001-12-20 19:44:16 +00:00
Volker Ruppert
384d4f1cce - added Windows(tm) keys to the German keymap 2001-12-19 19:15:12 +00:00
Volker Ruppert
c658faf211 - direction flag added to control port, debug messages improved 2001-12-18 21:58:59 +00:00
Volker Ruppert
868af09f14 - dma16 read/write functions added (untested) 2001-12-18 13:14:46 +00:00
Volker Ruppert
33f4ee6e35 - DMA-2 controller and dma16 read/write functions added 2001-12-18 13:12:45 +00:00
Volker Ruppert
7cd7ebeaa3 - dma 16-bit read/write functions added (untested) 2001-12-17 18:08:02 +00:00
Volker Ruppert
b3c9c1e8b1 - implementation of the DMA-2 controller (not complete) 2001-12-16 17:19:07 +00:00
Volker Ruppert
0093de1adc - missing right control key added to german keymap 2001-12-16 17:17:16 +00:00
Volker Ruppert
16f84392c1 - the patch of Christophe Bothamy is checked in and works, so this file is obsolete 2001-12-14 22:17:56 +00:00
Christophe Bothamy
4f1b2334b2 - Deleted patch as i commited it in main code 2001-12-14 18:05:34 +00:00
Christophe Bothamy
bd7420ade5 - Added XFree86 keyboard mapping (us, fr, de) 2001-12-14 17:56:37 +00:00
Volker Ruppert
051ef5f1c9 - text mode cursur feature added for X and prepared for other GUIs 2001-12-13 18:36:29 +00:00
Volker Ruppert
5427df8b36 - fixed the vga memory read/write functions in text mode
- text mode cursor feature added
2001-12-13 18:34:30 +00:00
Bryce Denney
5b13f74356 - make -C isn't portable, apparantly 2001-12-13 03:05:08 +00:00
Bryce Denney
babdddd5b9 - add typecast to keep gcc happy. on openbsd it's an actual error. 2001-12-13 02:57:03 +00:00
Bryce Denney
c8e1cc0c64 - the shared library wasn't getting rebuilt because of problems in
top level Makefile.in
2001-12-13 02:11:15 +00:00
Bryce Denney
e866d69494 - improve comments a bit 2001-12-12 23:05:46 +00:00
Bryce Denney
9e8ae6d8ee - first try with plugins. This connects a somewhat hacked plex86 keyboard
plugin to bochs.
2001-12-12 23:02:41 +00:00
Bryce Denney
e0e9d2183b - check in a very broken floppy patch so I can work on it later 2001-12-12 21:35:07 +00:00
Volker Ruppert
12ee9dada7 - patch for the vga memory read/write functions in text mode 2001-12-12 18:35:30 +00:00
Volker Ruppert
c06b97077a - patch updated for bochs version 1.3 2001-12-12 18:33:37 +00:00
Christophe Bothamy
70b1367dd1 . Added a keyboard_type option in configuration file
. Modified answer of keyboard controler to a keyboard-identify command
  depending on keyboard_type
. Added the keyboard_type option in bochsrc man page
2001-12-12 10:43:36 +00:00
Christophe Bothamy
d7482737a9 . Added a keyboard_type option in the conf file
. Modified answer of keyboard controler to a keyboard-identify command
  depending on keyboard_type
. Added the keyboard_type option in bochsrc man page
2001-12-12 10:38:39 +00:00
Christophe Bothamy
ba181fc43f Removed after include in the main code 2001-12-12 10:34:52 +00:00
Bryce Denney
319e4fb771 - I was stupid and wrote "enable-amigaos" instead of "with-amigaos". Fixed. 2001-12-12 03:48:48 +00:00
Bryce Denney
1c985e4ee4 - fix obsolete, incorrect comment 2001-12-11 13:42:23 +00:00
Bryce Denney
8685e9f001 - update for 1.3 2001-12-10 21:53:21 +00:00
Bryce Denney
1fcf556297 - include niclist and bochsdbg (debug enabled version) 2001-12-10 21:31:20 +00:00
Bryce Denney
0e82c53d72 - add entry for 1.3 2001-12-10 19:59:10 +00:00
Bryce Denney
fd6aee20d4 - irrelevant now 2001-12-10 19:28:08 +00:00
Bryce Denney
c1befbd716 - remove patches that have been applied already 2001-12-10 19:27:48 +00:00
Bryce Denney
45b303a2c0 - another small beos change from Bernd Korz. 2001-12-10 18:37:39 +00:00
Bryce Denney
c39181a903 - add pointers to the changelog 2001-12-10 14:54:39 +00:00
Bryce Denney
d67fe98719 - eliminate top level list so that I can put <a name=""> anchors 2001-12-10 14:53:27 +00:00
Bryce Denney
d18b42640b - update for version 1.3
- mention where to find the new docs, suggest people look there first
2001-12-10 14:09:03 +00:00
Bryce Denney
a82b1325bf - mention dlx demo 2001-12-10 12:59:18 +00:00
Bryce Denney
80c824e2d5 - fix bad grammar 2001-12-10 12:46:13 +00:00
Bryce Denney
1ab6dd72f0 - select bochs as current project 2001-12-10 12:41:09 +00:00
Bryce Denney
87f226eb6d *** empty log message *** 2001-12-08 18:09:24 +00:00
Bryce Denney
15784018db - revert back to rev 1.12 because 1.13 introduced some potential segfaults.
The idea is still a nice one, so I put the changes in a patch called
  patch.update-vga-on-ask, until it gets fixed.
2001-12-08 18:08:24 +00:00
Bryce Denney
1b5200782d - add some instructions on the main menu 2001-12-08 18:06:12 +00:00
Bryce Denney
0be223b867 - I changed how to build an RPM 2001-12-08 18:05:49 +00:00
Bryce Denney
b61df36c8a - use floating point when computing # of cylinders. The expression
hdsize*1024*1024/16/63/512 was prone to overflowing in 32-bit integer math.
  Thanks to Henry Mohn III <animatorhmiii@netscape.net> for sending a patch.
2001-12-08 17:46:02 +00:00
Bryce Denney
761a5c16a3 - move all RPM build code into a script instead of the makefile. This is
an improvement because you have to do a configure before using any makefile.
  It used to be "configure; make rpm" and now it's just
  "./build/redhat/make-rpm".
2001-12-08 15:59:50 +00:00
Bryce Denney
ff74c51296 - install the vga font compressed. Some systems require this, but I don't
know which.  Since all other fonts are compressed, it seems like the
  standard.
2001-12-08 15:20:55 +00:00
Bryce Denney
ee70e42424 - install as vga.pcf.gz, without first copying to vga.pcf and gzipping.
Also, it was checking for existence of vga.pcf, even though vga.pcf.gz
  was going to be installed.
2001-12-08 15:18:28 +00:00
Bryce Denney
dbf4e8d33e - do not panic on "OUTB set and command 0xaa encountered" 2001-12-08 14:02:57 +00:00
Bryce Denney
0708c77999 - first look for a font called bochsvga, then for one called vga, then
panic
2001-12-08 13:42:55 +00:00
Bryce Denney
2b89beb0c6 - I separated the unzipping/configuration of dlxlinux and the installation
of it into pieces, so that you can unzip&configure with one prefix setting
  and install with another.  This should fix the dlxlinux/bochsrc.txt
  pathname problem.
2001-12-08 13:18:45 +00:00
Bryce Denney
7c7386e591 - don't need to specify mandir anymore 2001-12-08 13:17:23 +00:00
Bryce Denney
f82c3f9b86 - add a little bit of beos support 2001-12-08 13:07:07 +00:00
Bryce Denney
d87b47b0df - fix rpm build so that it uses buildroot again. The trick was to separate
the dlx linux install into 1) unpack and configure, and 2) copy into place.
  Because they are separate, we can unpack and configure with prefix=/usr
  and then copy into place with prefix=$BUILDROOT/dlxlinux.
2001-12-08 05:35:57 +00:00
Bryce Denney
d31eacc1f3 - mention raw cdrom on macosx, which was just added 2001-12-07 22:28:25 +00:00
Bryce Denney
e8bcb173e5 - detect when MacOS X cdrom code can be used: when the header file
"IOKit/storage/IOCDMedia.h" is available.
2001-12-07 22:18:40 +00:00
Bryce Denney
ec7b19a7fb - applied this patch, except for system headers in iodev/Makefile.in which
I threw out.
2001-12-07 22:00:39 +00:00
Bryce Denney
d2bf9cb219 - add support for raw CDROM under MacOS X, from
Scott Brumbaugh <scottcb@gte.net>
2001-12-07 21:56:15 +00:00
Bryce Denney
6ac92c21e6 - already checked in 2001-12-07 21:52:08 +00:00
Bryce Denney
7519c69f95 - add pretty header 2001-12-07 21:50:34 +00:00
Bryce Denney
c326012ae9 - add cdrom support for macos x 2001-12-07 21:48:46 +00:00
Bryce Denney
a73a6c4e18 - include Marton Fabo's keyboard capture filter for BeOS 2001-12-07 19:42:18 +00:00