Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Kernel without SUN support



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. 

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üngliche Nachricht-----
Von: port-amiga-owner%NetBSD.org@localhost [mailto:port-amiga-owner%NetBSD.org@localhost] Im
Auftrag von Michael van Elst
Gesendet: Freitag, 10. November 2023 13:49
An: port-amiga%netbsd.org@localhost
Betreff: Re: Amiga screen modes in wscons

cmilanf%hispamsx.org@localhost (=?iso-8859-1?Q?Carlos_Mil=E1n_Figueredo?=) 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  = 0x079;
int     pAGA_vtotal  = 0x24d;
int     pAGA_vbstop  = 0x019;
int     pAGA_hcenter = 0x04b;
#else
int     pAGA_htotal  = 0x081;
int     pAGA_vtotal  = 0x23d;
int     pAGA_vbstop  = 0x017;
int     pAGA_hcenter = 0x04f;
#endif
int     pAGA_hsstrt  = 0x00f;
int     pAGA_hsstop  = 0x019;
int     pAGA_hbstrt  = 0x001;
int     pAGA_hbstop  = 0x021;
int     pAGA_vsstrt  = 0x001;
int     pAGA_vsstop  = 0x008;
int     pAGA_vbstrt  = 0x000;


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



Home | Main Index | Thread Index | Old Index