├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── bin ├── dn1.bin ├── egame.map ├── hello.exe ├── hello.lst ├── hellofar.exe ├── link.map └── psp.bin ├── diagrams ├── process-stable.d2 └── process-stable.svg ├── include └── dos │ ├── address.h │ ├── analysis.h │ ├── codemap.h │ ├── cpu.h │ ├── dos.h │ ├── editdistance.h │ ├── error.h │ ├── executable.h │ ├── instruction.h │ ├── interrupt.h │ ├── memory.h │ ├── modrm.h │ ├── mz.h │ ├── opcodes.h │ ├── output.h │ ├── psp.h │ ├── registers.h │ ├── routine.h │ ├── scanq.h │ ├── signature.h │ ├── types.h │ └── util.h ├── src ├── address.cpp ├── addrtool.cpp ├── analysis.cpp ├── codemap.cpp ├── cpu.cpp ├── dos.cpp ├── executable.cpp ├── instruction.cpp ├── interrupt.cpp ├── memory.cpp ├── modrm.cpp ├── mz.cpp ├── mzdata.cpp ├── mzdiff.cpp ├── mzdup.cpp ├── mzhdr.cpp ├── mzmap.cpp ├── mzptr.cpp ├── mzsig.cpp ├── opcodes.cpp ├── output.cpp ├── psp.cpp ├── psptool.cpp ├── registers.cpp ├── routine.cpp ├── scanq.cpp ├── signature.cpp └── util.cpp ├── test ├── analysis_test.cpp ├── cpu_test.cpp ├── debug.h ├── dos_test.cpp ├── memory_test.cpp ├── sub.asm └── test_main.cpp ├── todo.txt ├── tools ├── bindiff.sh ├── bitdump.py ├── bruteflags.py ├── compare.sh ├── config.py ├── diff.sh ├── disasm.sh ├── disasmdiff.sh ├── dosbuild.sh ├── exeimgdump.sh ├── extract_routines.py ├── fingerprint.sh ├── helper.py ├── hexgrep.py ├── lowercase.sh ├── lst2asm.py ├── lst2ch.py ├── output.py ├── reasm_clean.py ├── replace_routines.py ├── segaddr.py ├── test.sh ├── util.py ├── version_gen.sh ├── vga2bmp.py └── vgashow.py └── version.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/README.md -------------------------------------------------------------------------------- /bin/dn1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/bin/dn1.bin -------------------------------------------------------------------------------- /bin/egame.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/bin/egame.map -------------------------------------------------------------------------------- /bin/hello.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/bin/hello.exe -------------------------------------------------------------------------------- /bin/hello.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/bin/hello.lst -------------------------------------------------------------------------------- /bin/hellofar.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/bin/hellofar.exe -------------------------------------------------------------------------------- /bin/link.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/bin/link.map -------------------------------------------------------------------------------- /bin/psp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/bin/psp.bin -------------------------------------------------------------------------------- /diagrams/process-stable.d2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/diagrams/process-stable.d2 -------------------------------------------------------------------------------- /diagrams/process-stable.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/diagrams/process-stable.svg -------------------------------------------------------------------------------- /include/dos/address.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/address.h -------------------------------------------------------------------------------- /include/dos/analysis.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/analysis.h -------------------------------------------------------------------------------- /include/dos/codemap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/codemap.h -------------------------------------------------------------------------------- /include/dos/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/cpu.h -------------------------------------------------------------------------------- /include/dos/dos.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/dos.h -------------------------------------------------------------------------------- /include/dos/editdistance.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/editdistance.h -------------------------------------------------------------------------------- /include/dos/error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/error.h -------------------------------------------------------------------------------- /include/dos/executable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/executable.h -------------------------------------------------------------------------------- /include/dos/instruction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/instruction.h -------------------------------------------------------------------------------- /include/dos/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/interrupt.h -------------------------------------------------------------------------------- /include/dos/memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/memory.h -------------------------------------------------------------------------------- /include/dos/modrm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/modrm.h -------------------------------------------------------------------------------- /include/dos/mz.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/mz.h -------------------------------------------------------------------------------- /include/dos/opcodes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/opcodes.h -------------------------------------------------------------------------------- /include/dos/output.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/output.h -------------------------------------------------------------------------------- /include/dos/psp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/psp.h -------------------------------------------------------------------------------- /include/dos/registers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/registers.h -------------------------------------------------------------------------------- /include/dos/routine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/routine.h -------------------------------------------------------------------------------- /include/dos/scanq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/scanq.h -------------------------------------------------------------------------------- /include/dos/signature.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/signature.h -------------------------------------------------------------------------------- /include/dos/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/types.h -------------------------------------------------------------------------------- /include/dos/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/include/dos/util.h -------------------------------------------------------------------------------- /src/address.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/address.cpp -------------------------------------------------------------------------------- /src/addrtool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/addrtool.cpp -------------------------------------------------------------------------------- /src/analysis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/analysis.cpp -------------------------------------------------------------------------------- /src/codemap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/codemap.cpp -------------------------------------------------------------------------------- /src/cpu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/cpu.cpp -------------------------------------------------------------------------------- /src/dos.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/dos.cpp -------------------------------------------------------------------------------- /src/executable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/executable.cpp -------------------------------------------------------------------------------- /src/instruction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/instruction.cpp -------------------------------------------------------------------------------- /src/interrupt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/interrupt.cpp -------------------------------------------------------------------------------- /src/memory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/memory.cpp -------------------------------------------------------------------------------- /src/modrm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/modrm.cpp -------------------------------------------------------------------------------- /src/mz.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/mz.cpp -------------------------------------------------------------------------------- /src/mzdata.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/mzdata.cpp -------------------------------------------------------------------------------- /src/mzdiff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/mzdiff.cpp -------------------------------------------------------------------------------- /src/mzdup.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/mzdup.cpp -------------------------------------------------------------------------------- /src/mzhdr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/mzhdr.cpp -------------------------------------------------------------------------------- /src/mzmap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/mzmap.cpp -------------------------------------------------------------------------------- /src/mzptr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/mzptr.cpp -------------------------------------------------------------------------------- /src/mzsig.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/mzsig.cpp -------------------------------------------------------------------------------- /src/opcodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/opcodes.cpp -------------------------------------------------------------------------------- /src/output.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/output.cpp -------------------------------------------------------------------------------- /src/psp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/psp.cpp -------------------------------------------------------------------------------- /src/psptool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/psptool.cpp -------------------------------------------------------------------------------- /src/registers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/registers.cpp -------------------------------------------------------------------------------- /src/routine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/routine.cpp -------------------------------------------------------------------------------- /src/scanq.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/scanq.cpp -------------------------------------------------------------------------------- /src/signature.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/signature.cpp -------------------------------------------------------------------------------- /src/util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/src/util.cpp -------------------------------------------------------------------------------- /test/analysis_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/test/analysis_test.cpp -------------------------------------------------------------------------------- /test/cpu_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/test/cpu_test.cpp -------------------------------------------------------------------------------- /test/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/test/debug.h -------------------------------------------------------------------------------- /test/dos_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/test/dos_test.cpp -------------------------------------------------------------------------------- /test/memory_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/test/memory_test.cpp -------------------------------------------------------------------------------- /test/sub.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/test/sub.asm -------------------------------------------------------------------------------- /test/test_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/test/test_main.cpp -------------------------------------------------------------------------------- /todo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/todo.txt -------------------------------------------------------------------------------- /tools/bindiff.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/bindiff.sh -------------------------------------------------------------------------------- /tools/bitdump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/bitdump.py -------------------------------------------------------------------------------- /tools/bruteflags.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/bruteflags.py -------------------------------------------------------------------------------- /tools/compare.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/compare.sh -------------------------------------------------------------------------------- /tools/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/config.py -------------------------------------------------------------------------------- /tools/diff.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/diff.sh -------------------------------------------------------------------------------- /tools/disasm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/disasm.sh -------------------------------------------------------------------------------- /tools/disasmdiff.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/disasmdiff.sh -------------------------------------------------------------------------------- /tools/dosbuild.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/dosbuild.sh -------------------------------------------------------------------------------- /tools/exeimgdump.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/exeimgdump.sh -------------------------------------------------------------------------------- /tools/extract_routines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/extract_routines.py -------------------------------------------------------------------------------- /tools/fingerprint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/fingerprint.sh -------------------------------------------------------------------------------- /tools/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/helper.py -------------------------------------------------------------------------------- /tools/hexgrep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/hexgrep.py -------------------------------------------------------------------------------- /tools/lowercase.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/lowercase.sh -------------------------------------------------------------------------------- /tools/lst2asm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/lst2asm.py -------------------------------------------------------------------------------- /tools/lst2ch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/lst2ch.py -------------------------------------------------------------------------------- /tools/output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/output.py -------------------------------------------------------------------------------- /tools/reasm_clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/reasm_clean.py -------------------------------------------------------------------------------- /tools/replace_routines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/replace_routines.py -------------------------------------------------------------------------------- /tools/segaddr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/segaddr.py -------------------------------------------------------------------------------- /tools/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/test.sh -------------------------------------------------------------------------------- /tools/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/util.py -------------------------------------------------------------------------------- /tools/version_gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/version_gen.sh -------------------------------------------------------------------------------- /tools/vga2bmp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/vga2bmp.py -------------------------------------------------------------------------------- /tools/vgashow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neuviemeporte/mzretools/HEAD/tools/vgashow.py -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | 1.0.11 2 | --------------------------------------------------------------------------------