Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#156 Incredible Machine mouse problem (CVS)

0.60
closed
5
2012-09-07
2003-10-11
Jurgen De Backer
No

The mouse doesn"t work anymore in the latest cvs (today);
I still can play the game using the cursor keys.

Discussion

  • Peter Veenstra
    Peter Veenstra
    2003-10-12

    Logged In: YES
    user_id=535630

    Could you descibe the mouse problem and
    how did you get the cvs source ?(could be wrong code ?)

    I just played it and i was able to move the mouse (except
    for on the title screen. but one mouseclick put me into it.)

    Did you click with your mouse in the screen ? You need to
    click else dosbox doesn't know you are talking to it.

     
  • Logged In: YES
    user_id=792995

    I got the CVS source from the sourceforge project page (on
    11/10/2003) , I followed the instructions on how to get the
    source from anonymous cvs.
    The mouse doesn't react ; I gets 'grabbed' by dosbox once
    the title screen is there, but then I have to press <space>
    or <enter> to get into the game, and use cursor keys + space
    to play.
    It worked well in 0.58.
    Maybe this helps :
    Mandrake 9.1, mouse is Microsoft Explorer (PS/2),
    gcc 3.2.2
    and i edited the config.h a bit :

    define C_CORE_INLINE 1

    define C_MODEM 0

    Hope this helps,

     
  • Peter Veenstra
    Peter Veenstra
    2003-10-14

    Logged In: YES
    user_id=535630

    my system specs:
    gcc 3.3.2
    debian testing
    config.h
    the same as yours : works
    default works

    the version of the game TIm 1.0 eng.

    Still works.

     
  • Logged In: YES
    user_id=792995

    Hi,
    I searched a bit further, and found that if I configure the
    game for pc speaker sound and then restart dosbox , the
    mouse works. If i select GeneralMIDI or Soundblaster, it
    doesn't. (tried it with the Windows and Linux versions)
    I run Dosbox at 3000 cycles, frameskip 0,
    (same version of TIM : 1.0 english)
    J.

     
  • Peter Veenstra
    Peter Veenstra
    2003-11-27

    Logged In: YES
    user_id=535630

    Well I agree with you on that.

    I checked it the soundblaster routine of the game.
    (the one that acknowledges the irq) masks the mouse irq.

    I have no idea why it does that.

     
  • Peter Veenstra
    Peter Veenstra
    2003-12-10

    Logged In: YES
    user_id=535630

    I added the unmasking of the mouse irq to the hardware reset
    function of the mouse.
    Fixes this game. Hope it doesn't break a thing

    The changes are in the cvs.