Skip to content

Instantly share code, notes, and snippets.

View tsutsui's full-sized avatar

Izumi Tsutsui tsutsui

View GitHub Profile
@tsutsui
tsutsui / pkgsrc-2023Q2-NetBSD-i386-9.3-emacs28-failed.log
Created July 1, 2023 06:56
pkgsrc/editors/emacs28 on pkgsrc-2023Q2 fails to build and dumps core
/usr/pkg/bin/gmake -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
gmake[3]: Entering directory '/s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/admin/unidata'
SCRAPE . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ...
SCRAPE ./cedet/semantic/analyze ./cedet/semantic/bovine ...
SCRAPE ./cedet/semantic/decorate ./cedet/semantic/symref ...
SCRAPE ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ...
SCRAPE ./erc ./eshell ./gnus ./image ./international ./language ./leim ...
SCRAPE ./leim/ja-dic ./leim/quail ./mail ./mh-e ./net ./nxml ./org ...
SCRAPE ./play ./progmodes ./textmodes ./url ./vc
ELC uvs.elc
SELF-TEST MODE
Copyright 1988,
Hewlett-Packard Company.
All Rights Reserved.
BOOTROM Rev. C1
Bit Mapped Display
MC68030 Processor
MC68882 Coprocessor
Keyboard
_ _ .____
| |_| | | _ \
| _ | | (_))
| |-| | | |
|_| |_| |_| ..
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
@tsutsui
tsutsui / LUNA-II-PS-capacitor-list.txt
Last active May 8, 2023 01:13
OMRON LUNA-II および LUNA-88K の電源ユニットに使用されている要交換な四級塩電解コンデンサのリスト。詳細は http://togetter.com/li/215988 http://togetter.com/li/354562 あたりを参照。
LUNA-II, LUNA-88K 電源ユニット(PTD573-51) 四級塩電解コンデンサ一覧
(1)ニチコン PL品
---メイン基板出力平滑---
C24,25 10V 3300uF ×2
C63,64 10V 470uF ×2
C14 25V 220uF ×1
C15,54 25V 330uF ×2 C54は絶縁チューブ付き
C65 16V 820uF ×1 敷板付き
@tsutsui
tsutsui / NetBSD-news68k-nono-si.diff
Created April 19, 2023 11:10
NetBSD/news68k diff for nono
Index: dev/si.c
===================================================================
RCS file: /cvsroot/src/sys/arch/news68k/dev/si.c,v
retrieving revision 1.26
diff -u -p -d -r1.26 si.c
--- dev/si.c 20 Nov 2011 15:38:00 -0000 1.26
+++ dev/si.c 18 Apr 2023 14:57:09 -0000
@@ -72,6 +72,7 @@ struct si_softc {
static int si_match(device_t, cfdata_t, void *);
Index: dev/spc.c
===================================================================
RCS file: /cvsroot/src/sys/arch/luna68k/dev/spc.c,v
retrieving revision 1.10
diff -u -p -d -r1.10 spc.c
--- dev/spc.c 22 Jan 2013 15:44:25 -0000 1.10
+++ dev/spc.c 13 Apr 2023 12:13:17 -0000
@@ -40,6 +40,7 @@ __KERNEL_RCSID(0, "$NetBSD: spc.c,v 1.10
#include <machine/bus.h>
#include <machine/cpu.h>
[ 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] 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 9.3_STABLE (GENERIC) #43: Tue Feb 21 00:40:24 JST 2023
[ 1.0000000] tsutsui@mirage:/s/netbsd-9/src/sys/arch/next68k/compile/GENERIC
[ 1.0000000] NeXT/MC68040 CPU+MMU+FPU, 4k on-chip physical I/D caches
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 9.3_STABLE (GENERIC) #38: Mon Feb 20 00:08:48 JST 2023
tsutsui@mirage:/s/netbsd-9/src/sys/arch/next68k/compile/GENERIC
NeXT/MC68040 CPU+MMU+FPU, 4k on-chip physical I/D caches
Index: src/ditool/UFS.cpp
===================================================================
--- src/ditool/UFS.cpp (revision 1291)
+++ src/ditool/UFS.cpp (working copy)
@@ -86,24 +86,24 @@
fBlk -= iPtrCnt;
uint32_t lvl2Idx = fBlk & (fsBMask >> 2);
uint32_t lvl1Idx = fBlk >> (fsBShift - 2);
- if((lvl1CacheIndex = fillCacheWithBlock(fsv(inode.ic_ib[1]))) < 0 ) {
+ if((lvl1CacheIndex = fillCacheWithBlock(fsv((uint32_t)inode.ic_ib[1]))) < 0 ) {
#include <stdio.h>
int cmp(double d1, double d2)
{
if (d1 == d2) return 0;
else if (d1 - d2 < 0) return -1;
else return 1;
}
int main()