Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75345

CALCnet 2.2 :: RE: Basic Asm( Utility for Cn2.2

$
0
0
Author: KermMartian
Posted: 19 Feb 2013 11:51:04 pm (GMT -5)

geekboy1011 wrote:
because you call screen off and the intterupt keeps firing and looping back to where it is. I also see we do not go back to IM 2 after a power off. What are we doing in this code... @ pm on irc
That (1) debounces the ON key (2) turns off (3) turns back on. This line in particular should go:
Code:
res OnInterrupt,(iy+OnFlags)
In Cn2.2-enabled ASM programs, the OS interrupt is disabled, and there's no risk of it setting that flag. In BASIC programs, the OS interrupt SHOULD be allowed to set the flag. Please try commenting that line and see what happens.,
_________________




Viewing all articles
Browse latest Browse all 75345

Trending Articles