Skip to content

Instantly share code, notes, and snippets.

View tsutsui's full-sized avatar

Izumi Tsutsui tsutsui

View GitHub Profile
SELF-TEST MODE
Copyright 1988,
Hewlett-Packard Company.
All Rights Reserved.
BOOTROM Rev. C1
Bit Mapped Display
MC68030 Processor
MC68882 Coprocessor
Keyboard
_ _ .____
| |_| | | _ \
| _ | | (_))
| |-| | | |
|_| |_| |_| ..
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
@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()
@tsutsui
tsutsui / qt6-qtbase-with-debuginfo.log
Last active January 1, 2023 14:05
pkgsrc-2022Q4 pkgsrc/x11/qt6-qtbase build error on NetBSD/i386 9.3
# gdb /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/bin/qdbusxml2cpp /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/src/gui/qdbusxml2cpp.core
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i486--netbsdelf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@tsutsui
tsutsui / qt6-qtbase.log
Created December 31, 2022 16:27
full build error log of pkgsrc/x11/qt6-qtbase on NetBSD/i386 9.3 and pkgsrc-2022Q4
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for qtbase-everywhere-src-6.4.1.tar.xz
=> Checksum SHA512 OK for qtbase-everywhere-src-6.4.1.tar.xz
===> Installing dependencies for qt6-qtbase-6.4.1
==========================================================================
The supported build options for qt6-qtbase are:
cups dbus gtk3
The currently selected options are: