4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[メモ] らずぱいでWinNT4(bochs-2.6.8)

Last updated at Posted at 2016-06-27

03.png

  • インターネットエクスプローラ Ver.3 (pngとUTF-8コードに対応してない??)
    NT4_24.png

概要

  • らずぱい(Raspberry Pi 3)で、Windows NT4を動かした。
  • bochs-2.6.8使用
    • apt-get install bochs*でインストールされるのは、2.6でちょいと古い
    • 仮想環境の設定・イメージ作成は、Windows PC(bochs-2.6.8)で。
    • 母艦で作った設定ファイルを使うために、ラズパイ側も2.6.8にした。

手順

(らずぱい)bochs-2.6.8のビルド

  1. sudo apt-get install bochs-x; sudo apt-get remove bochs-x;
    # 動作に必要なライブラリを入れる。

  2. sudo apt-get build-dep bochs-x
    # 開発に必要なライブラリなどは、これでインストール

  3. ビルド - インストール先は /home/pi/usr以下になる。(--prefix=~~~~あたりを変更)

mkdir -p $HOME/dev
cd $HOME/dev
wget https://sourceforge.net/projects/bochs/files/bochs/2.6.8/bochs-2.6.8.tar.gz
tar xf ./bochs-2.6.8.tar.gz
cd bochs-2.6.8

configureにパッチ.

sed -i 's/2.6*|3.*)/2.6*|3.*|4.*)/g' configure

-Werror=format-securityは使わない。

CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-Wall -g -O2 -fstack-protector-strong -Wformat"
CXXFLAGS="-Wall -g -O2 -fstack-protector-strong -Wformat"
./configure
--build arm-linux-gnueabihf
--prefix=$HOME/usr
--mandir=${prefix}/share/man
--with-x11
--with-rfb
--with-term
--with-sdl
--with-wx
--disable-docbook
--enable-cdrom
--enable-pci
--enable-a20-pin
--enable-cpu-level=6
--enable-x86-64
--enable-avx
--enable-vmx=2
--enable-fpu
--enable-debugger
--enable-debugger-gui
--enable-disasm
--enable-idle-hack
--enable-all-optimizations
--enable-repeat-speedups
--enable-plugins
--enable-clgd54xx
--enable-sb16
--enable-es1370
--enable-ne2000
--enable-pnic
--enable-pcidev

make -j 4

make install

PATHを通す.

export PATH=$HOME/usr/bin:$PATH


### bochsにWinNT4をインストールする手順
- `cpuid`に`cpuid_limit_winnt=1`
- user shortcutで、`ctrl-alt-del`を送信してログオンする。
- ... あとはそのうち...

## その他
- bochsにNT4をいれて、動作させるほうが大変かも..


## スクショ
![01.png](https://qiita-image-store.s3.amazonaws.com/0/75594/f28255db-0c09-ab6d-186c-d39a37b0c384.png)

![02.png](https://qiita-image-store.s3.amazonaws.com/0/75594/7afd3d99-6d78-91e2-ad5d-dd51c49de87c.png)

![03.png](https://qiita-image-store.s3.amazonaws.com/0/75594/bb0755ab-3a7f-0f6a-91b9-ddd623ab1610.png)

![04.png](https://qiita-image-store.s3.amazonaws.com/0/75594/1dd30370-618c-a3dc-59eb-76da63051ca6.png)

![05.png](https://qiita-image-store.s3.amazonaws.com/0/75594/8a9c1880-a783-94a7-5b72-12ec80c92c79.png)

![06.png](https://qiita-image-store.s3.amazonaws.com/0/75594/2d4fcaaa-7987-dc6e-0a55-66ec172a07fd.png)

![07.png](https://qiita-image-store.s3.amazonaws.com/0/75594/b5ea28f8-7274-4fbf-d239-83e2a0504c11.png)

![08.png](https://qiita-image-store.s3.amazonaws.com/0/75594/e28c7dc4-0e41-edfe-c4e4-251b78644637.png)

![09.png](https://qiita-image-store.s3.amazonaws.com/0/75594/3b254c6d-2fde-88cb-9bda-4a0da8142dbe.png)

![10.png](https://qiita-image-store.s3.amazonaws.com/0/75594/3a731364-41a1-e9d7-18c3-5e77ce9550e4.png)

![11.png](https://qiita-image-store.s3.amazonaws.com/0/75594/279ce21f-0707-a443-0bdf-010b6bf32933.png)


### インターネットエクスプローラ V3
- デフォルト(msn.com ?)<br>![NT4_21.png](https://qiita-image-store.s3.amazonaws.com/0/75594/0eb56e7a-7bfe-ac3b-c0c6-cf73fb96356f.png)<br>![NT4_22.png](https://qiita-image-store.s3.amazonaws.com/0/75594/8fdae021-da24-eb62-8e50-df745b2eb7f5.png)

- ぐぐるぜ!<br>![NT4_23.png](https://qiita-image-store.s3.amazonaws.com/0/75594/1a6f43aa-f11e-06e0-6d03-4dccdff548c1.png)
<font ![NT4_23.png](https://qiita-image-store.s3.amazonaws.com/0/75594/bd745df8-a7d1-25ca-83d9-d4139dd5e7e9.png)></font>

- Yahoo JAPAN!<br>![NT4_24.png](https://qiita-image-store.s3.amazonaws.com/0/75594/cb4b8018-ebd3-60d0-c2ca-6e0c75ba81a7.png)

- 2ちゃん<br>![NT4_25.png](https://qiita-image-store.s3.amazonaws.com/0/75594/5ddb7af2-e415-20cd-4ad6-1d62bef82c1d.png)

- Qiita .. <br>![NT4_26.png](https://qiita-image-store.s3.amazonaws.com/0/75594/d3d3142a-a63e-a95f-c066-201d87755146.png)

- Microsoft インターネットエクスプローラ Version 3.0
![NT4_27.png](https://qiita-image-store.s3.amazonaws.com/0/75594/6ce76b83-b2b4-bed1-55e6-eaf96075c65a.png)





4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?