home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!newsstand.cit.cornell.edu!piccolo.cit.cornell.edu!crux2!jmk3
- From: jmk3@crux2.cit.cornell.edu (Jay Krell)
- Subject: Re: IRQ/video counter problem
- Message-ID: <jmk3.728077383@crux1.cit.cornell.edu>
- Sender: news@piccolo.cit.cornell.edu (USENET News System)
- Nntp-Posting-Host: crux2.cit.cornell.edu
- Organization: Cornell Information Technologies
- References: <1k2endINNjck@darkstar.UCSC.EDU>
- Date: 26 Jan 93 19:43:03 GMT
- Lines: 17
-
- I don't know what is wrong with your program but something to
- definitely watch out for when using the video counters is that
- (the) fact that you might never see certains values.
- Heartbeat (VBL) interrupts trigger at line 192. You are not likely
- to ever see 192-??? (depends on how many heartbeat tasks and
- how long they take.)
-
- Interrupts would not mess with the video counters. Be sure to
- access them 8-bits at a time (unless you know what the next location
- is, it might be safe. The video counters are two neighboring bytes,
- aren't they.) And using the video counters would not mess up interrupts.
- (I forget which you asked.) Also, be sure that cmp #$xx is only
- 8-bit if the accumulator is 8-bits then. That is an easy way
- to get a brk instruction in your code.
-
- J
-
-