mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 01:31:55 +00:00
displays upper memory limit on Atari machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@140 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e3ee0a278e
commit
c4cf60b521
19
testcode/lib/atari/mem.c
Normal file
19
testcode/lib/atari/mem.c
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* test program to display avail. mem.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
unsigned int *APPMHI = (unsigned int *)0xe;
|
||||
unsigned int *MEMTOP = (unsigned int *)0x2e5;
|
||||
|
||||
unsigned char _graphmode_used = 0;
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("APPMHI = %04X, MEMTOP = %04X\n",*APPMHI,*MEMTOP);
|
||||
printf("press return!\n");
|
||||
getchar();
|
||||
return(0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user