#JAP このプログラムを手に取っていただきありがとうございます。 -最初に- このプログラムはIA-32プロセッサー(32Bit x86 CPU)の動きを可視化して仕組みを理解するのを助けます。 すべてのx86 CPUは最初はリアルモード(8086互換)で動いていてエントリーポイントは0xFFFFFFF0(-16)に設定されています。 そのためこのプログラム上でもプロテクトモードを使うには各種ディスクリプター(割り込みディスクリプターテーブル、ヌルディスクリプターなど)を初期化する必要があります。 -使い方- 以下のファイルが仮想x86 CPUから見た以下のアドレスに配置されるので各種ファイル(特に"memory4unreal.bin"の0xFFF0に最初に実行される命令を配置する)を適切に構成してください。 "memory4unreal.bin" FFFF0000-FFFFFFFF "memory4vec.bin" 00000000-0000FFFF また、サンプルの"memory4unreal.bin"をサンプルファイルとして同梱します #ENG Thank you for got the program! -First- This program shows progress of the x86(IA-32) CPU and memory stats to help the users studing How CPUs works! The all of the x86 CPUs would be begun as Real Addressing 8086 Compatible mode at Unreal(0xFFFFFFF0(-16)). so If you want to use Protected Addressing mode in this program,You might be setup necessary Descriptor to use the mode like IDTs, Null Descriptor, etc. -How to use- The bellow image file for the virtual x86(IA-32) CPU loaded at bellow address. so you have to put them files to see the process of the CPU working with your program in this program! And we recomend to put first instructions at 0xFFF0 to an appropriate jump address or first instructions in "memory4unreal.bin". "memory4unreal.bin" FFFF0000-FFFFFFFF "memory4vec.bin" 00000000-0000FFFF And we preparate an example of the file "memory4unreal.bin"!