Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 722
Introducing Interrupts - Intellivision Wiki

Introducing Interrupts


Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/content/30/6867330/html/intellivision/wiki/includes/MagicWord.php on line 722
From Intellivision Wiki

Jump to: navigation, search
(So What are Interrupt Handlers?)
(Step 3: Displaying the time)
Line 512: Line 512:
         [[MVII]]    #7,    R3      ; Set our format word to "white"
         [[MVII]]    #7,    R3      ; Set our format word to "white"
         [[MVII]]    #$200 + 5*20 + 5, R4    ; Start in row 5, column 5
         [[MVII]]    #$200 + 5*20 + 5, R4    ; Start in row 5, column 5
-
 
+
         [[CALL]]    PRNUM16.z      ; Display the hours
         [[CALL]]    PRNUM16.z      ; Display the hours
         [[INCR]]    R4              ; Leave a blank space after hours
         [[INCR]]    R4              ; Leave a blank space after hours
-
 
+
         [[PULR]]    R0              ; Get minutes
         [[PULR]]    R0              ; Get minutes
         [[CALL]]    PRNUM16.z      ; Display the minutes
         [[CALL]]    PRNUM16.z      ; Display the minutes
         [[INCR]]    R4              ; Leave a blank space after minutes
         [[INCR]]    R4              ; Leave a blank space after minutes
-
+
 
         [[PULR]]    R0              ; Get seconds
         [[PULR]]    R0              ; Get seconds
         [[CALL]]    PRNUM16.z      ; Display the seconds
         [[CALL]]    PRNUM16.z      ; Display the seconds
         [[INCR]]    R4              ; Leave a blank space after seconds
         [[INCR]]    R4              ; Leave a blank space after seconds
-
+
 
         [[PULR]]    R0              ; Get tics
         [[PULR]]    R0              ; Get tics
         [[CALL]]    PRNUM16.z      ; Display the tics
         [[CALL]]    PRNUM16.z      ; Display the tics
Line 538: Line 538:
order—minutes, seconds and then tics.
order—minutes, seconds and then tics.
<br/><br/>
<br/><br/>
 +
=== Step 4:  Go back to step 1 ===
=== Step 4:  Go back to step 1 ===

Revision as of 20:38, 21 November 2007

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox