aboutsummaryrefslogtreecommitdiffstats
path: root/src/mouse.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-03-02 13:58:23 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-03-02 13:58:23 -0500
commitc65a3804a93eba39e84647d4510d0338a388c8ae (patch)
tree95ff2b371dd659e788be93a63d62867d75b10c16 /src/mouse.c
parent44c631dfd23de0ee83a8a98a95815b452727ba95 (diff)
downloadseabios-c65a3804a93eba39e84647d4510d0338a388c8ae.tar.gz
Bug fixes; get mouse working.
Fix bug in post causing PIC2 to not be initialized properly. Only run ata_detect if CONFIG_ATA enabled. Improve debugging aids - introduce debug_isr(); move DEBUGF to each file. Enable mouse by default. Fix bug in floppy causing extra test of PORT_FD_STATUS on recalibrate. Always disable/enable kbd in handle_09 event.
Diffstat (limited to 'src/mouse.c')
-rw-r--r--src/mouse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mouse.c b/src/mouse.c
index e3c17897..fd462193 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -191,7 +191,6 @@ mouse_15c203(struct bregs *regs)
// 1 = 50 dpi, 2 counts per millimeter
// 2 = 100 dpi, 4 counts per millimeter
// 3 = 200 dpi, 8 counts per millimeter
- bprintf(0, "ebda_seg=%x\n", GET_BDA(ebda_seg));
u8 comm_byte = inhibit_mouse_int_and_events(); // disable IRQ12 and packets
if (regs->bh >= 4) {
handle_ret(regs, RET_EUNSUPPORTED);
@@ -235,7 +234,6 @@ mouse_15c205(struct bregs *regs)
handle_ret(regs, RET_EINTERFACE);
return;
}
- bprintf(0, "ebda_seg=%x\n", GET_BDA(ebda_seg));
SET_EBDA(mouse_flag1, 0x00);
SET_EBDA(mouse_flag2, regs->bh);
@@ -340,7 +338,7 @@ mouse_15c2XX(struct bregs *regs)
void
handle_15c2(struct bregs *regs)
{
- debug_stub(regs);
+ //debug_stub(regs);
if (! CONFIG_PS2_MOUSE) {
handle_ret(regs, RET_EUNSUPPORTED);
@@ -417,7 +415,7 @@ int74_function()
void VISIBLE
handle_74(struct bregs *regs)
{
- debug_enter(regs);
+ //debug_isr(regs);
irq_enable();
int74_function();