Re: Amiga screen modes in wscons
[email protected] (Michael van Elst) Fri, 10 Nov 2023 12:49:29 -0000 (UTC)
| Newsgroups | gmane.os.netbsd.ports.amiga |
|---|---|
| Organization | Serpens User Group |
| Message-ID | <[email protected]> |
[email protected] (=?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.