Kernel without SUN support

"Harald Meinzer" <[email protected]> Sat, 11 Nov 2023 14:09:19 +0100
Newsgroups gmane.os.netbsd.ports.amiga
Message-ID <000d01da14a0$49068d60$db13a820$@de>
Hi out there,

is there somebody out, who could compile a Kernel without this stupid =
384 MB
Ram per Task limit? This is completely obsolete.=20

My A3000 have 1.3 GB of Memory, but I can not compile tools, when the
compiler needs more than 384 MB RAM, that is a mess :(


Regards
Harald

-----Urspr=FCngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von Michael van Elst
Gesendet: Freitag, 10. November 2023 13:49
An: [email protected]
Betreff: Re: Amiga screen modes in wscons

[email protected] (=3D?iso-8859-1?Q?Carlos_Mil=3DE1n_Figueredo?=3D) =
writes:

>Hi everyone!
>Is there a way to change the screen mode used by wscons at boot time?

I don't think so.

>[1] https://i.postimg.cc/FHJrK3wk/warpedvision-netbsd-aga.png
>[2] https://i.postimg.cc/VsGmBK8b/warpedvision-netbsd-ecs.png

It's possible that a kernel compiled without option GRF_AGA_VGA works =
better
for you.

The code for setting up the graphics is in =
sys/arch/amiga/dev/grfabs_cc.c:

/* static, so I can patch and play */

#ifdef GRF_AGA_VGA
int     pAGA_htotal  =3D 0x079;
int     pAGA_vtotal  =3D 0x24d;
int     pAGA_vbstop  =3D 0x019;
int     pAGA_hcenter =3D 0x04b;
#else
int     pAGA_htotal  =3D 0x081;
int     pAGA_vtotal  =3D 0x23d;
int     pAGA_vbstop  =3D 0x017;
int     pAGA_hcenter =3D 0x04f;
#endif
int     pAGA_hsstrt  =3D 0x00f;
int     pAGA_hsstop  =3D 0x019;
int     pAGA_hbstrt  =3D 0x001;
int     pAGA_hbstop  =3D 0x021;
int     pAGA_vsstrt  =3D 0x001;
int     pAGA_vsstop  =3D 0x008;
int     pAGA_vbstrt  =3D 0x000;


So you could also patch the kernel binary instead of recompiling.