From: cpg Date: Sun, 7 Aug 2005 16:02:06 +0000 (+0000) Subject: _graphmode_used doesn't exist anymore X-Git-Tag: V2.12.0~273 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f20dc7606e3b91a84d43b0ed93d7cb5128eab1bb;p=cc65 _graphmode_used doesn't exist anymore git-svn-id: svn://svn.cc65.org/cc65/trunk@3571 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/testcode/lib/atari/mem.c b/testcode/lib/atari/mem.c index 673617f41..5e9855da0 100644 --- a/testcode/lib/atari/mem.c +++ b/testcode/lib/atari/mem.c @@ -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());