Skip to content

benja2998/BVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

BVM (Batch Virtual Machine)

Virtual machine software written in Batch

Adding new CPU architectures

To add a new CPU architecture, follow these steps:

  • See CONTRIBUTING.md
  • Create a folder inside of /src/cpu-archs/ with the name of the CPU architecture
  • Follow the example directory structure for the directories inside /src/cpu-archs:
<cpu name>/
    emulation.bat
        examples/
            example1.bvm
            <other examples are optional>

Usage

You must clone the repository:

git clone https://github.com/benja2998/BVM.git
cd BVM

You should then run src/bvm.bat:

cd src
bvm.bat

On Unix-like systems, you can run the script with:

cd src
wine cmd /c bvm.bat # Assuming you have Wine installed
# Not guaranteed to work, very likely to fail!
# Report any issues with compatibility of the Batch file to WineHQ, NOT us!

FAQ

Why is this written in Batch?

I wanted to prove Batch can do a lot more than most people think.

Why not use a more powerful language?

No.