2015-02-11 19:34:08 +01:00

14 lines
294 B
C

/* adjust HGR scanline array from page 2 to page 1
to use existing loaders for ProDOS SYS programs in
programs that use graphics page 1 (i.e. shell programs) */
extern unsigned HB[];
hbsh()
{
unsigned y;
if (HB[0] == 0x4000) {
for (y= 0; y < 192;y++) HB[y] = (HB[y] - 0x2000);
}
}