D-Bug & Automation Forum
D-Bug & Automation Forum >> Coding >> Either a force relocation packer or a routine to relocate
http://d-bug.mooo.com/dbugforums/cgi-bin/yabb2/YaBB.pl?num=1334222877

Message started by Phill on 12.04.12 at 09:27:56

Title: Re: Either a force relocation packer or a routine to relocate
Post by Klapauzius on 19.04.12 at 10:49:14

Phill wrote on 18.04.12 at 23:14:01:

Does that interrupt stay active or does it automatically close when a mouse event has occured?


It will stay active, but, as mentioned above, the game will always have to poll the mouse state. There will be no automatic mouse report interrupts.
Keys will still be reported automatically via an interrupt.

In the game's ikbd routine, look for the place where the routine checks for an $f7 byte. This is the header byte for an absolute mouse packet. The game should set a flag somewhere to remember that. The next five interrupts following will report the absolute mouse packet proper, byte by byte.

D-Bug & Automation Forum » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.