├── .emurc ├── .gitignore ├── .gitmodules ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── TODO ├── arch ├── Makefile ├── arch.h ├── osecpu │ ├── Makefile │ ├── emulator.cc │ ├── emulator.h │ ├── instruction.cc │ └── instruction.h └── x86 │ ├── Makefile │ ├── emulator.cc │ ├── emulator.h │ ├── insndata.cc │ ├── insndata.h │ ├── instruction.cc │ ├── instruction.h │ ├── instruction16.cc │ ├── instruction16.h │ ├── instruction32.cc │ ├── instruction32.h │ ├── register.cc │ └── register.h ├── bios ├── .gitignore ├── Makefile ├── base.h ├── junk_base.h └── junk_x86.h ├── com_mak.txt ├── common.h ├── common.mk ├── debug.cc ├── debug.h ├── device ├── Makefile ├── device.h ├── display.cc ├── display.h ├── floppy.cc ├── floppy.h ├── keyboard.h └── pic.h ├── docs ├── demo │ ├── emu.data │ ├── emu.html │ ├── emu.js │ └── emu.wasm ├── format.md └── memo.md ├── emulator.cc ├── emulator.h ├── emulator_base.cc ├── emulator_base.h ├── font ├── .gitignore ├── Makefile ├── font.cc ├── font.h ├── hankaku.txt ├── makefont.c └── sjis2utf8.sh ├── gui.cc ├── gui.h ├── gui_old ├── Makefile ├── gui.cc └── gui.h ├── insn_base.h ├── interrupt.h ├── io.h ├── main.cc ├── memory.cc ├── memory.h ├── register_base.cc ├── register_base.h ├── sample ├── .gitignore ├── Makefile ├── main.c ├── osecpu │ ├── app0100.ose │ └── app0102.ose └── startup.asm ├── script_out.txt └── shell ├── Makefile ├── command.cc ├── command.h ├── shell.cc └── shell.h /.emurc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/.emurc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/README.md -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/TODO -------------------------------------------------------------------------------- /arch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/Makefile -------------------------------------------------------------------------------- /arch/arch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/arch.h -------------------------------------------------------------------------------- /arch/osecpu/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/osecpu/Makefile -------------------------------------------------------------------------------- /arch/osecpu/emulator.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/osecpu/emulator.cc -------------------------------------------------------------------------------- /arch/osecpu/emulator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/osecpu/emulator.h -------------------------------------------------------------------------------- /arch/osecpu/instruction.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/osecpu/instruction.cc -------------------------------------------------------------------------------- /arch/osecpu/instruction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/osecpu/instruction.h -------------------------------------------------------------------------------- /arch/x86/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/Makefile -------------------------------------------------------------------------------- /arch/x86/emulator.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/emulator.cc -------------------------------------------------------------------------------- /arch/x86/emulator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/emulator.h -------------------------------------------------------------------------------- /arch/x86/insndata.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/insndata.cc -------------------------------------------------------------------------------- /arch/x86/insndata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/insndata.h -------------------------------------------------------------------------------- /arch/x86/instruction.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/instruction.cc -------------------------------------------------------------------------------- /arch/x86/instruction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/instruction.h -------------------------------------------------------------------------------- /arch/x86/instruction16.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/instruction16.cc -------------------------------------------------------------------------------- /arch/x86/instruction16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/instruction16.h -------------------------------------------------------------------------------- /arch/x86/instruction32.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/instruction32.cc -------------------------------------------------------------------------------- /arch/x86/instruction32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/instruction32.h -------------------------------------------------------------------------------- /arch/x86/register.cc: -------------------------------------------------------------------------------- 1 | #include "register.h" 2 | -------------------------------------------------------------------------------- /arch/x86/register.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/arch/x86/register.h -------------------------------------------------------------------------------- /bios/.gitignore: -------------------------------------------------------------------------------- 1 | bios.bin 2 | seabios/ 3 | -------------------------------------------------------------------------------- /bios/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/bios/Makefile -------------------------------------------------------------------------------- /bios/base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/bios/base.h -------------------------------------------------------------------------------- /bios/junk_base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/bios/junk_base.h -------------------------------------------------------------------------------- /bios/junk_x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/bios/junk_x86.h -------------------------------------------------------------------------------- /com_mak.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/com_mak.txt -------------------------------------------------------------------------------- /common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/common.h -------------------------------------------------------------------------------- /common.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/common.mk -------------------------------------------------------------------------------- /debug.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/debug.cc -------------------------------------------------------------------------------- /debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/debug.h -------------------------------------------------------------------------------- /device/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/device/Makefile -------------------------------------------------------------------------------- /device/device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/device/device.h -------------------------------------------------------------------------------- /device/display.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/device/display.cc -------------------------------------------------------------------------------- /device/display.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/device/display.h -------------------------------------------------------------------------------- /device/floppy.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/device/floppy.cc -------------------------------------------------------------------------------- /device/floppy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/device/floppy.h -------------------------------------------------------------------------------- /device/keyboard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/device/keyboard.h -------------------------------------------------------------------------------- /device/pic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/device/pic.h -------------------------------------------------------------------------------- /docs/demo/emu.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/docs/demo/emu.data -------------------------------------------------------------------------------- /docs/demo/emu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/docs/demo/emu.html -------------------------------------------------------------------------------- /docs/demo/emu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/docs/demo/emu.js -------------------------------------------------------------------------------- /docs/demo/emu.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/docs/demo/emu.wasm -------------------------------------------------------------------------------- /docs/format.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/docs/format.md -------------------------------------------------------------------------------- /docs/memo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/docs/memo.md -------------------------------------------------------------------------------- /emulator.cc: -------------------------------------------------------------------------------- 1 | #include "emulator.h" 2 | 3 | 4 | -------------------------------------------------------------------------------- /emulator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/emulator.h -------------------------------------------------------------------------------- /emulator_base.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/emulator_base.cc -------------------------------------------------------------------------------- /emulator_base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/emulator_base.h -------------------------------------------------------------------------------- /font/.gitignore: -------------------------------------------------------------------------------- 1 | makefont 2 | -------------------------------------------------------------------------------- /font/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/font/Makefile -------------------------------------------------------------------------------- /font/font.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/font/font.cc -------------------------------------------------------------------------------- /font/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/font/font.h -------------------------------------------------------------------------------- /font/hankaku.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/font/hankaku.txt -------------------------------------------------------------------------------- /font/makefont.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/font/makefont.c -------------------------------------------------------------------------------- /font/sjis2utf8.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/font/sjis2utf8.sh -------------------------------------------------------------------------------- /gui.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/gui.cc -------------------------------------------------------------------------------- /gui.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/gui.h -------------------------------------------------------------------------------- /gui_old/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/gui_old/Makefile -------------------------------------------------------------------------------- /gui_old/gui.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/gui_old/gui.cc -------------------------------------------------------------------------------- /gui_old/gui.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/gui_old/gui.h -------------------------------------------------------------------------------- /insn_base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/insn_base.h -------------------------------------------------------------------------------- /interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/interrupt.h -------------------------------------------------------------------------------- /io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/io.h -------------------------------------------------------------------------------- /main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/main.cc -------------------------------------------------------------------------------- /memory.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/memory.cc -------------------------------------------------------------------------------- /memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/memory.h -------------------------------------------------------------------------------- /register_base.cc: -------------------------------------------------------------------------------- 1 | #include "register_base.h" 2 | -------------------------------------------------------------------------------- /register_base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/register_base.h -------------------------------------------------------------------------------- /sample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/sample/.gitignore -------------------------------------------------------------------------------- /sample/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/sample/Makefile -------------------------------------------------------------------------------- /sample/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/sample/main.c -------------------------------------------------------------------------------- /sample/osecpu/app0100.ose: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/sample/osecpu/app0100.ose -------------------------------------------------------------------------------- /sample/osecpu/app0102.ose: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/sample/osecpu/app0102.ose -------------------------------------------------------------------------------- /sample/startup.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/sample/startup.asm -------------------------------------------------------------------------------- /script_out.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shell/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/shell/Makefile -------------------------------------------------------------------------------- /shell/command.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/shell/command.cc -------------------------------------------------------------------------------- /shell/command.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/shell/command.h -------------------------------------------------------------------------------- /shell/shell.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/shell/shell.cc -------------------------------------------------------------------------------- /shell/shell.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sksat/emu/HEAD/shell/shell.h --------------------------------------------------------------------------------