1 // cl65 -t apple2 --start-addr 0x4000 hgrshow.c
15 tgi_install (a2_hi_tgi);
19 while (ent = readdir (dir)) {
23 ext = strrchr (ent->d_name, '.');
24 if (!ext || strcasecmp (ext, ".hgr"))
27 hgr = open (ent->d_name, O_RDONLY);
28 read (hgr, (void*)0x2000, 0x2000);