Commit Graph

226 Commits

Author SHA1 Message Date
Volker Ruppert
a15de4430b - boot sequence with up to 3 boot devices inplemented. The sequence is stored
in the CMOS regs 0x3d and 0x38. TODO: change config option "boot" to use this
  feature.
2004-10-15 15:37:01 +00:00
Volker Ruppert
5d7cc42431 - extented floppy parameter table (floppy fix for NT4 from qemu written by Mike
Nordell and Derek Fawcus)
- int 13h diskette function 08h should return the pointer to the floppy parameter
  table stored in int 1Eh
2004-10-04 19:31:02 +00:00
Volker Ruppert
a6d14987cd - PCI IRQs must always be level sensitive (setup ELCR1/ELCR2 in pcibios init) 2004-10-02 12:29:54 +00:00
Volker Ruppert
0fd0fc7384 - pci irq initialisation added (TODO: initialize pci memory + i/o space) 2004-09-25 17:23:06 +00:00
Volker Ruppert
b3d0c18838 - int 15 / ah=87h should not clear cr0 when setting bit 0 (SF patch #969967
by Ben Lunt)
2004-09-13 17:54:53 +00:00
Volker Ruppert
9956e47f3e - modified the bios / vgabios panic handling. BX_PANIC messages sent by the bios
now appear correctly as the Bochs panic message. Now we can get rid of messages
  with the line number in the source file.
- updated / fixed description in biosdev.cc
2004-09-05 17:57:22 +00:00
Volker Ruppert
e5761d230c - calculate checksum of expansion rom (must be 0) 2004-09-03 19:52:24 +00:00
Volker Ruppert
c5ba313fd1 - changed the size of the vgabios files to exactly 32k with a checksum at the
last byte. This change is required for a correct checksum in the rom scan loop.
2004-09-02 17:14:34 +00:00
Volker Ruppert
b4fbbe3af1 - implement int15, ah=83 Start/Stop Wait Timer (patch.rombios.markevich from Kory Markevich)
- applied patch from sava (t.ebisawa / http://ebisa.hp.infoseek.co.jp/bochs/arcs/bochs-2.1.1-jpfix-20040214.zip)
  * int09_handler: pusha before int15, ah=4f
     (for "jis_a01" japanese keybord driver, which breaks some registers)
  * int15_function: add new functions int15_function32, int15_function_mouse
     (to avoid stack overflow ... DOS/Win9x works better)
  * int16, ah=00/01/10/11 ignore special key code (F0)
- set missing return value and flag for unimplemented EISA BIOS
2004-08-21 13:33:28 +00:00
Volker Ruppert
40e576cbb3 - A20 gate control implemented (int 15h, ah = 24h)
- debug message for unsupported EISA bus features added (int 15h, ah = d8h)
- moving rom scan loop to a separate function saves space in the main post code
  (TODO: add code for rom checksum)
- interrupt vector 0x79 set to 0 (TODO: some other vectors seem to be 0, too)
2004-08-20 10:02:04 +00:00
Volker Ruppert
ca95fc885c - gate A20 control implemented (int 15h, ah = 24h)
- debug message for unsupported EISA bus features added (int 15h, ah = d8h)
- moving rom scan loop to a separate function saves space in the main post code
  (TODO: add code for rom checksum)
- interrupt vector 0x79 set to 0 (TODO: some other vectors seem to be 0, too)
2004-08-20 09:59:49 +00:00
Volker Ruppert
c6834907ad - pci irq routing fixed and initialization added (BUG: ne2k-pci only works with
irq 11 in Win95)
- bios: irq routing table fixed and updated for 5 slots
- ne2k: unnecessary reset call in init() removed
- usb: don't execute reset if disabled
2004-07-04 17:10:05 +00:00
Volker Ruppert
1f33aa72b8 - APM and system shutdown support for 16-bit real mode and 32-bit protected mode
(patch from Fabrice Bellard)
2004-06-20 18:28:40 +00:00
Volker Ruppert
c757b06db8 - int13_cdrom / 32 bit register update fix (aka FreeBSD cdrom boot) (patch from
Fabrice Bellard found in LGPL'd VGABIOS patches section)
2004-05-31 13:13:58 +00:00
Christophe Bothamy
b663c5112f - remove old commented code 2004-04-28 16:59:52 +00:00
Volker Ruppert
b66c8403f7 - turn floppy motor off 2 seconds after last read/write/recalibrate command
(patch from Ben Lunt)
2004-02-09 16:49:41 +00:00
Volker Ruppert
a0457f980e - int17_function updated for multiple parallel ports
- detection of serial port 3 + 4 added
2004-01-28 19:14:56 +00:00
Volker Ruppert
795cb05b42 - fixed int13_harddisk function 10h 2004-01-25 22:15:56 +00:00
Daniel Gimpelevich
eae5c1eaba Rebuilt BIOS from latest rombios.c 2004-01-15 03:32:14 +00:00
Daniel Gimpelevich
6c26e6a65f Introduced Frank Cornelis's PCIDEV patch. 2004-01-15 02:08:37 +00:00
Christophe Bothamy
1c9de422d2 - apply patch #874517 Bugfix in int15h function 0xe820 by flashburn 2004-01-14 23:09:31 +00:00
Volker Ruppert
623ba8b00d - INT 16h function 05h implemented (grabbed from patch #707931) 2003-12-18 16:49:22 +00:00
Christophe Bothamy
22f3930b81 - apply patch from Frank Cornelis to have bcc able to compile gcc-3.2-preprocessed rombios.c 2003-12-08 20:35:20 +00:00
Christophe Bothamy
9d38eca4c5 - recompile rombios.c rev1.102 2003-11-27 00:35:24 +00:00
Christophe Bothamy
89821fcd81 - remove hlt from BX_PANIC function, because the user can choose to
continue after a panic.
- add the hlt instruction in int18 handler. This should stop the
  simulation if the boot disk can not be read
2003-11-25 22:56:11 +00:00
Christophe Bothamy
e9efb9aed0 - stop execution with an 'hlt' if the bios can not read the boot disk 2003-11-25 22:46:20 +00:00
Christophe Bothamy
93ff40743f - recompiled with rombios.c rev1.100 2003-11-15 00:03:57 +00:00
Christophe Bothamy
0276bfdef7 - add fix to get v2os to boot : preserve eax top 16bits on int1A function B101 call 2003-11-15 00:00:37 +00:00
Volker Ruppert
4c8015f84b - biossums added to make target 'clean' 2003-11-11 18:18:11 +00:00
Christophe Bothamy
42cd5f2699 - update with vgabios v0.4c 2003-11-06 00:17:35 +00:00
Christophe Bothamy
a7ea447861 - update with vgabios v0.4b 2003-11-04 23:08:48 +00:00
Volker Ruppert
568cd93523 - detect_serial: detection simplified using IER and IIR
- detect_parport: save base address and timeout using push/pop
2003-11-02 12:40:51 +00:00
Daniel Gimpelevich
5586f6054b *** empty log message *** 2003-10-24 11:16:25 +00:00
Christophe Bothamy
3dd4b321b7 - make now runs biossums on generated bios files 2003-10-17 12:01:28 +00:00
Christophe Bothamy
0798cad04d - add biossums utility, to set various checksums in bios files, written by Eike W. 2003-10-17 11:59:57 +00:00
Volker Ruppert
5be03ffb09 - int 0x16 function 0x0A implemented (GET KEYBOARD ID)
- int 0x16 functions 0x10/0x11 fixed (don't change the ascii code to 0xE0)
2003-10-16 19:31:33 +00:00
Daniel Gimpelevich
227933bc11 Fix ATA/Serial ioport conflict 2003-10-07 01:44:34 +00:00
Daniel Gimpelevich
296dbe928a Fix ATA/Serial ioport conflict 2003-10-07 00:21:10 +00:00
Daniel Gimpelevich
c249cc8709 Update to coincide with Volker's adjustment to VGA-BIOS upstream. 2003-10-05 23:15:45 +00:00
Christophe Bothamy
109805f5b8 - remove the comment about 8x8 font.
Volker confirmed that the whole 8x8 font should be present in the vgabios.
2003-08-17 21:48:15 +00:00
Christophe Bothamy
485ee8838b - update LGPL'd vgabios with release 0.4a 2003-08-17 15:41:12 +00:00
Christophe Bothamy
1e568ccba3 - regen from rombios.c rev1.95 2003-08-16 20:13:18 +00:00
Christophe Bothamy
f75ef317e5 - add 128 first 8x8 chars at 0xfa6e (fixes bug #787138 No ROM BIOS character map) 2003-08-16 20:11:28 +00:00
Christophe Bothamy
6712256448 - recompile rombios.c rev1.94 2003-08-07 00:04:05 +00:00
Christophe Bothamy
8fba74e1d1 - fix sf bug #764473 Freesco Linux crashes on boot
Syslinux 1.48 that is used to boot freesco, did not like the latest
  int15 function e801 returning AX=0 and BX=0, although my real
  system does, and Ralph Brown list allow it.

  Interestingly enough, the symptoms were floppy accesses with a track
  number > 100. Funny.

  Now int15 function e801 returns both extended and configured memory.
2003-08-07 00:02:24 +00:00
Christophe Bothamy
ae0b7c45a3 - Fix Elpin VGAbios size. It can't really be 32769 bytes.
I stripped the last byte, it seems to work ok.
2003-08-05 13:03:22 +00:00
Christophe Bothamy
b5562fc8ee - compile rombios rev1.93 2003-04-25 22:15:30 +00:00
Christophe Bothamy
d112043348 - fix int15 function e801 (get memory size) 2003-04-25 22:13:24 +00:00
Christophe Bothamy
20091e7f3c - compile rombios.c rev 1.92 2003-03-08 23:01:07 +00:00
Christophe Bothamy
479fbe2a25 - apply patch "[ 682539 ] Fix CapsLock and NumLock behavior" from rock at gimp.org 2003-03-08 22:59:17 +00:00