以下は、あなたが挙げた 3 つの参照(デバドラ書き方・genfb_pci.c・genfb_machdep.c)の“やり方”に合わせて、ISA VGA(VESA LFB 前提)で genfb を wsdisplay フレームバッファコンソールとして使うための
src/sys/dev/isa/genfb_isa.cの設計書(要点)- 実装(KNF寄り)
を、NetBSD/x86(i386/amd64)限定としてまとめたものです。
| diff --git a/PubdicPlus/pod.c b/PubdicPlus/pod.c | |
| index 009daa7..315b96d 100644 | |
| --- a/PubdicPlus/pod.c | |
| +++ b/PubdicPlus/pod.c | |
| @@ -154,17 +154,18 @@ static struct descpack *searchdesc (Wchar *hin); | |
| static void store_description (void); | |
| static long internkind (Wchar *s); | |
| static void listkinds (void); | |
| -static int kindcompar (struct kindpack *k1, struct kindpack *k2); | |
| +static int kindcompar (const void *k1, const void *k2); |
| [ 1.0000000] NetBSD/evbarm (fdt) booting ... | |
| [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, | |
| [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, | |
| [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, | |
| [ 1.0000000] 2024, 2025, 2026 | |
| [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. | |
| [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 | |
| [ 1.0000000] The Regents of the University of California. All rights reserved. | |
| [ 1.0000000] NetBSD 11.0_RC2 (GENERIC64_INSECURE) #6: Wed Mar 18 20:43:08 JST 2026 |
| ok | |
| [ 1.0000000] uboot: args 0, 0xc42, 0x2eff6a00, 0x1000040 | |
| [ 1.0000000] NetBSD/evbarm (fdt) booting ... | |
| [ 1.0000000] FDT /memory @ 0x0 size 0x3b400000 | |
| [ 1.0000000] FDT /memory @ 0x40000000 size 0xbc000000 | |
| [ 1.0000000] initarm: memory start 0 end fc000000 (len fc000000) | |
| [ 1.0000000] initarm: fdt_build_bootconfig | |
| [ 1.0000000] Usable memory: | |
| [ 1.0000000] 1000 - 3b3fffff | |
| [ 1.0000000] 40000000 - fbffffff |
| /* | |
| * gpio_mmap_test.c | |
| * Minimal Raspberry Pi GPIO test using GPIO access via /dev/mem mmap(2) | |
| * | |
| * Wiring: | |
| * GPIO20 -> LED (1: on, 0: off) | |
| * | |
| * Build: | |
| * cc -O2 -Wall -Wextra -o gpio_mmap_test gpio_mmap_test.c | |
| */ |
| Index: sys/lib/libsa/bootcfg.c | |
| =================================================================== | |
| RCS file: /cvsroot/src/sys/lib/libsa/bootcfg.c,v | |
| retrieving revision 1.10 | |
| diff -u -p -d -r1.10 bootcfg.c | |
| --- sys/lib/libsa/bootcfg.c 6 May 2025 18:16:12 -0000 1.10 | |
| +++ sys/lib/libsa/bootcfg.c 24 Dec 2025 16:34:02 -0000 | |
| @@ -291,11 +291,11 @@ print_bootcfg_banner(const char *bootpro | |
| /* If the user has not specified a banner, print a default one. */ | |
| HP9000/362,382 Ethernet |
PC-6001 PSG音源ドライバ用 MMLコンパイラ (C言語コマンドライン版)
よっしゅさん作の PC-6001用PSG音源ドライバ ver1.1c 向けの MMLソーステキストを、音源ドライバがそのまま演奏可能な