Skip to content

Instantly share code, notes, and snippets.

@lpproj
lpproj / unlzexe.c
Last active March 28, 2020 14:48
a private fork of unlzexe
/* unlzexe.c */
#define VERSION "0.8p1 (2020-03-26)"
/* unlzexe ver 0.5 (PC-VAN UTJ44266 Kou )
* UNLZEXE converts the compressed file by lzexe(ver.0.90,0.91) to the
* UNcompressed executable one.
*
* usage: UNLZEXE packedfile[.EXE] [unpackedfile.EXE]
v0.6 David Kirschbaum, Toad Hall, kirsch@usasoc.soc.mil, Jul 91

いまさら人に聞けないx86アセンブラの書き方(読み方)―記数法

MASMやNASMなどの、16~32ビットx86アセンブラでよく使われる数の書き方を念のため書いてみる。 (これいる?)

10進数(decimal)、2進数(binary)、16進数(hexadecimal)、8進数(octal)

10進数

@lpproj
lpproj / fdkernel_nec98_history.txt
Last active February 12, 2021 10:51
FreeDOS DBCS版カーネル更新履歴(手動)
history of fdkernel(nec98test)
2021-02-10
* NEC98: シフトJIS領域外の2バイト文字表示を修正(MS-DOSとの互換性向上)
2021-01-24
* NEC98: SYS_FD98.TXT更新(FORCELBA関連記述)
@lpproj
lpproj / nec98int.txt
Last active February 25, 2021 05:49
FreeDOS(98) kernel におけるNEC版MS-DOS固有機能のサポート状況について
Support Status on FreeDOS(98): NEC PC-98x1 specific features
============================================================
reference
---------
undoc1: Undocumented PC-9801/9821 volume 1 (BIOS)
undoc2: Undocumented PC-9801/9821 volume 2 (Memory & IOports)
dos33cref: NEC MS-DOS 3.3C programmers' reference volume 1 and 2
dos5ref: NEC MS-DOS 5.0 programmers' reference volume 1 and 2
description (in Japanese, encoded with UTF-8) :
Intel EtherExpress PRO/100B用のパケットドライバをNEC PC-9821シリーズで
使えるようにする差分。
この差分はTinysoft(KAZ.K氏)のバイナリパッチ(EEPD98p4)をソース上に
対応させたものです。
パッチ適用元のバイナリとソース http://crynwr.com/drivers/e100b11c.zip
バイナリパッチ https://hp.vector.co.jp/authors/VA012845/prapa9.html#eepd
diff --git a/src/raspberrypi/rascsi.cpp b/src/raspberrypi/rascsi.cpp
--- a/src/raspberrypi/rascsi.cpp
+++ b/src/raspberrypi/rascsi.cpp
@@ -887,6 +887,19 @@ int main(int argc, char* argv[])
// セレクション信号が無ければ無視
bus->Aquire();
+#if defined(USE_SEL_EVENT_ENABLE)
+ if (bus->GetSEL() && !bus->GetIO() && bus->GetBSY()) {
+ // アービトレーションフェーズ→セレクションフェーズへの入りかけ(?)
%if 0
----
ぷちどる (petit idle)
a minimal CPU cooler for DOS (mostly for NEC PC-98 series)
To build:
nasm -f bin -o petidle.com petidle.nas
License: Public Domain
%if 0
np2sense.sys : ad hoc MS-DOS driver to fix mounting 2DD(640/720K) disk for NP2
Copyright (C) 2015 sava (t.ebisawa)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.