Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!ames!apple!sun-barr!newstop!sun!imagen!atari!apratt From: apratt@atari.UUCP (Allan Pratt) Newsgroups: comp.sys.atari.st Subject: Re: legal way to find SPECIAL addresses Message-ID: <1599@atari.UUCP> Date: 10 Jul 89 17:41:16 GMT References: <794@uhnix2.uh.edu> <11830044@hpldola.HP.COM> <783@bridge2.ESD.3Com.COM> Organization: Atari Corp., Sunnyvale CA Lines: 23 pvf@bridge2.ESD.3Com.COM (Paul V. Fries) writes: > I need to know a "legal" way to determine the locations of > the GEMDOS mouse variables. I have a mouse trapping > program that was written for the particular ROMS that are > in my 1040ST. As we all know, TOS 1.4 will soon be here. > I want to fix up the program to be more general so I don't > get bitten when the new TOS arrives. You can do this legally, but you might not be able to do it from the AUTO folder, and you can't do it legally the way you describe (linking into the trap and clobbering the Y movement value). What you should do is use the VDI exchange-mouse-movement-vector call. It will have the same effect as you describe, but will be legal. Another way is to use the negative Line-A variables... If you're a developer, get SALAD (Still Another Line A Document). If you aren't, then you should become one because you get cool stuff like Landon Dyer's assembler, my linker, my debugger, and SALAD. ============================================ Opinions expressed above do not necessarily -- Allan Pratt, Atari Corp. reflect those of Atari Corp. or anyone else. ...ames!atari!apratt