Article View: demon.tech.amiga
Article #426Re: Ten-minute timer ... How?
From: Dave Beames
Date: Sun, 07 May 2000 00:00
Date: Sun, 07 May 2000 00:00
40 lines
2378 bytes
2378 bytes
Dave Sparks wrote: > >>>>> "DB" == Dave Beames <dave@beames.demon.co.uk> writes: > > DB> I've just started trying to un-cripple a small text editor > DB> I'm still on WB3.0, and I don't have the expensive books, so I don't > DB> know what's in what library. I know the ordinary clock-read function > DB> is (or was) in dos.library, but he doesn't seem to open that. ... > > He probably uses the timer device, which counts either vertical > blanking intervals or the 8520 timer. VBLANK would be the more > sensible choice, except that the time interval would then be > affected if you use a graphics card. I *do* use CyberVision. But the ordinary video port is still operable, bypassing the CV -- won't the "old" blanking still be available? > Look for 'timerequest' and 'TR_ADDREQUEST'. The timer event would > be requested by a 'DoIO'. Commenting out the 'DoIO' call would then be > enough to disable the timer. > > Does the code have any comments in it? Er ... all I have is the binary, disassembled. That's why I asked about offsets, so that I could look for lines like JSR -<offset>(An) I know where he puts the pointers to all the libraries that he opens, so I can tell which library he's looking at with each JSR, so if I knew the actual offset value for (eg) the "what's the time" routine, I could easily find where he called it from. Except that he doesn't open dos.library, as I said. But you seem to be suggesting that he's not using library routines at all. What would the sort of thing that you are suggesting look like in assembler? Or isn't that a meaningful question :-( Thanks for taking an interest. You may regret it :-) DaveB
Technical Details
Message-ID:
<200005072238.0pnt@beames.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<200005062051.0pmo@beames.demon.co.uk> <N.20000507.jowb@sisyphus.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1160fd,f0022bbe48f936f5 X-Google-Attributes: gid1160fd,public From: dave@beames.demon.co.uk (Dave Beames) Subject: Re: Ten-minute timer ... How? Date: 2000/05/07 Message-ID: <200005072238.0pnt@beames.demon.co.uk> X-Deja-AN: 620804088 X-Mail2News-Path: news.demon.net!finch-post-12.mail.demon.net!beames.demon.co.uk References: <200005062051.0pmo@beames.demon.co.uk> <N.20000507.jowb@sisyphus.demon.co.uk> X-Trace: mail2news.demon.co.uk 957817403 mail2news:22328 mail2news mail2news.demon.co.uk Organization: the Top of our Stairs Newsgroups: demon.tech.amiga X-Complaints-To: abuse@demon.net