mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
20 lines
339 B
C
20 lines
339 B
C
|
/*
|
||
|
* 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);
|
||
|
}
|