]> git.sur5r.net Git - cc65/commitdiff
_graphmode_used doesn't exist anymore
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 7 Aug 2005 16:02:06 +0000 (16:02 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 7 Aug 2005 16:02:06 +0000 (16:02 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3571 b7a2c559-68d2-44c3-8de9-860c34a00d81

testcode/lib/atari/mem.c

index 673617f413735aa119959d55e76bfb8684509ab6..5e9855da0d2478fd8397a2308bd8bd071b64be02 100644 (file)
@@ -12,7 +12,7 @@
 extern int getsp(void);                         /* comes from ../getsp.s */
 
 extern char _dos_type;                          /* bss variable */
-extern unsigned char _graphmode_used;           /* data variable */
+unsigned char data = 0x12;                      /* data variable */
 
 unsigned int *APPMHI = (unsigned int *)14;      /* 14,15 */
 unsigned char *RAMTOP = (unsigned char *)106;   /* in pages */
@@ -36,7 +36,7 @@ int main(void)
 
   printf("  ----------------------\n");
   printf("  main:            $%04X  (code)\n", &main);
-  printf("  _graphmode_used: $%04X  (data)\n", &_graphmode_used);
+  printf("  data:            $%04X  (data)\n", &data);
   printf("  _dos_type:       $%04X  (bss)\n", &_dos_type);
   printf("  allocmem:        $%04X  (dyn. data)\n", allocmem);
   printf("  sp:              $%04X  (stack ptr)\n", getsp());