diff code_part1/OSTC_code_asm_part1/strings.inc @ 209:cdba979821ee

frame around logbook scale, some more speed improvements new WIN_FRAME_COLOR macro
author heinrichsweikamp
date Sun, 20 Feb 2011 10:59:03 +0100
parents 6a94f96e9cea
children
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/strings.inc	Sat Feb 19 18:44:22 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/strings.inc	Sun Feb 20 10:59:03 2011 +0100
@@ -179,4 +179,10 @@
         db      top, (bottom)-(top)+1, left, (right)-(left)+1
         endm
 
+; Draw a frame with color from WREG (8bits rrrgggbb)
+WIN_FRAME_COLOR macro   top, bottom, left, right
+        call    box_frame_color
+        db      top, (bottom)-(top)+1, left, (right)-(left)+1
+        endm
 
+