Subject: Re: picasso II
To: None <Olivier.Toebosch@ping.be>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: port-amiga
Date: 10/01/1996 14:50:58
Welll... a fix would be a bit of driver programming.

(to auto-detect how much memory that card _really_ has.)

The 1 MB Picassos lie about their memory sizes and claim its 2 MB.

However, there is a workaround:

a) somehow, get your system to work:

use the shutup program (can be found alongside with gobsd in gobsd.lha
on e.g. ftp.uni-regensburg.de:/pub/NetBSD-Amiga/utils/ (If I recall right)

to disable your picasso, then use gobsd to boot netbsd without the picasso.

b) build your own kernel, where you patch it to always use 1 MB on Picassi.

in file /sys/arch/amiga/dev/grf_cl.c

in function grfclattach()

there are three lines:

	printf("grfcl: %dMB ", cl_fbsize / 0x100000);
	case PICASSO:
		printf("Picasso II");

after that insert:
		cl_fbsize >>= 1;
		printf(", using %dMB", cl_fbsize / 0x100000);

(For a check, the next lines are:
		cl_maxpixelclock = 86000000;
		break;
)

The kernel built this way will always use 1 MB only on Picasso. Don't
know if this works at all with 2 MB Picasso boards.

Regards,
	Ignatios