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

#106 Hexx (Heresy of the The Wizard) and Mouse button

0.57
closed
nobody
None
5
2012-09-07
2002-12-25
Michael Bonfils
No

Mouse buttons doesn't work with Hexx but the mouse moves

Discussion

  • Logged In: YES
    user_id=186606

    I'm found the problems with Hexx and the mouse button that
    doesn't works:

    When Hexx calls INT 33,0005, it doesn't set BX with 0
    so I modify INT33_Handler with

    case 0x05: / Return Button Press Data /
    {
    Bit16u but=reg_bx;
    if (but>=MOUSE_BUTTONS) break;
    ...
    in
    case 0x05: / Return Button Press Data /
    {
    Bit16u but=reg_bx;
    if (but>=MOUSE_BUTTONS) but=0;
    ...
    and it works, maybe somes others games may be broken
    but I don't think