Skip to content

Instantly share code, notes, and snippets.

View h1romas4's full-sized avatar
🍕
< Pizza Time

hiromasa h1romas4

🍕
< Pizza Time
View GitHub Profile
@h1romas4
h1romas4 / eeebook-dmesg-ubuntu-6.2.0-63-generic.log
Created November 5, 2023 09:06
ASUS EeeBook X205TA dmesg with Ubuntu 22.04.3 6.2.0-63-generic
[ 0.000000] microcode: microcode updated early to revision 0x838, date = 2019-04-22
[ 0.000000] Linux version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2 (Ubuntu 6.2.0-36.37~22.04.1-generic 6.2.16)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.0-36-generic root=UUID=1df7fe23-da78-4f7c-a518-44120065bf54 ro quiet splash snd_intel_dspcfg.dsp_driver=1 vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] BIOS-provided physical RAM map:

タイトル

第一章

@h1romas4
h1romas4 / user_profile.ps1
Created February 27, 2023 12:38
PowerShell の Profile
# code $PROFILE.CurrentUserCurrentHost
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\paradox.omp.json" | Invoke-Expression
Set-PSReadLineKeyHandler -Key Tab -Function Complete
Set-PSReadLineOption -EditMode Emacs
Set-PSReadLineOption -BellStyle None
Set-PSReadLineKeyHandler -Chord 'Ctrl+d' -Function DeleteChar
@h1romas4
h1romas4 / mame_c_cpp_properties.md
Last active February 10, 2023 15:41
MAME 向け VS Code の c_cpp_properties

c_cpp_properties.json

{
    "configurations": [
        {
            "name": "Linux",
            "intelliSenseMode": "gcc-x64",
            "cStandard": "c11",
            "cppStandard": "c++17",
@h1romas4
h1romas4 / c_cpp_properties.json
Created December 19, 2022 05:53
VS Code C/C++ setting for MAME
{
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "gcc-x64",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${workspaceFolder}/src/**",
"${workspaceFolder}/3rdparty/**",
@h1romas4
h1romas4 / launch.json
Created December 10, 2022 11:46
Project in DeZog/MAME
{
// IntelliSense を使用して利用可能な属性を学べます。
// 既存の属性の説明をホバーして表示します。
// 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "dezog",
"request": "launch",
"name": "DeZog",
@h1romas4
h1romas4 / add-support-msx-cbios.patch
Last active November 23, 2022 11:13
build MAME for MSX C-BIOS support
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 47df942731c..fd11ec76d5f 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -31402,6 +31402,7 @@ canonv20f //
canonv20g //
canonv20s //
canonv8 //
+cbiosm1jp // C-BIOS MSX
cf1200 // 1984 MSX Japan
@h1romas4
h1romas4 / esp32-s3-efuse.txt
Created October 18, 2022 06:30
ESP32-S3 efuse summary
$ espefuse.py summary
Connecting....
Detecting chip type... ESP32-S3
espefuse.py v3.3.2-dev
=== Run "summary" command ===
EFUSE_NAME (Block) Description = [Meaningful Value] [Readable/Writeable] (Hex Value)
----------------------------------------------------------------------------------------
Config fuses:
DIS_ICACHE (BLOCK0) Disables ICache = False R/W (0b0)
@h1romas4
h1romas4 / 0001-add-z88dk-symbol-read-hack.patch
Created May 4, 2022 14:57
Ubuntu 20.04 LTS 版の openmsx-debugger の Qt 修正 + z88dk の -m 形式の .map symbol を読ませる hack
diff --git a/src/DebuggerForm.cpp b/src/DebuggerForm.cpp
index 7e03c9e..b1df51a 100644
--- a/src/DebuggerForm.cpp
+++ b/src/DebuggerForm.cpp
@@ -632,7 +632,7 @@ void DebuggerForm::createForm()
// add widgets
for (int i = 0; i < list.size(); ++i) {
- QStringList s = list.at(i).split(" ", Qt::SplitBehaviorFlags::SkipEmptyParts);
+ QStringList s = list.at(i).split(" ", QString::SplitBehavior::SkipEmptyParts);
From 2913041b0dc763fcb324c718c338d91747cd4233 Mon Sep 17 00:00:00 2001
From: h1romas4 <h1romas4@gmail.com>
Date: Wed, 4 May 2022 16:50:30 +0900
Subject: [PATCH] support z88dk map symble file
---
src/SymbolManager.cpp | 3 +++
src/SymbolTable.cpp | 32 +++++++++++++++++++++++++++++++-
src/SymbolTable.h | 2 ++
3 files changed, 36 insertions(+), 1 deletion(-)