This is a general repository containing source code related to Vircon32 implementation, this is, software that does NOT run in the console itself but in an external computer or device.
This will include:
- Emulator for desktop PC
- Development tools (assembler, C compiler, file importers)
- Any future emulators (for Raspberry Pi, etc)
- Other tools (texture region editor, etc)
- The C compiler's standard library (it DOES run on the console, but it is part of the compiler)
However, it does not include console software such as the following:
- Games and demos
- Examples and tutorials
- The BIOS
Most of these projects are written in C++ version 2011, and use portable libraries (SDL, OpenGL, OpenAL) along with CMake in an attempt to support multiplatform compilation.
If you are not familiar with Vircon32, a 32-bit virtual game console, you can visit its website www.vircon32.com for more information. There you will also find everything you may need to try out the console and to make games for it.
This repository contains several elements, so any of them might have their own license. But unless otherwise specified, the global license is:
- Software is provided under the 3-Clause BSD License.
- Assets and documents are provided under CC BY 4.0 License
The intent of Vircon32 is to be open and free, that is why the chosen licenses are very permissive and should allow most uses.
All C++ projects in this repository are prepared to compile using CMake. The CMake scripts do try to support (at least) building under Windows, Linux and Mac. Note that, under Windows, CMake defaults to building with Visual C++, but this is currently untested. To instruct CMake to build with MSYS2+MinGW, open a MinGW32 console and go to your desired build directory. Then use the command: cmake -G 'MSYS Makefiles' <project's root CMake folder>
. For example, if you are at the project's root folder (i.e. the folder with the main CMakeLists.txt file) you could write these commands to make the build in a temporary folder and then install the software:
mkdir build
to create a folder for your buildcd build
to enter the build foldercmake -G 'MSYS Makefiles' ..
to have CMake configure the project for MinGWmake
to build the projectcmake --install .
to install the built software
At that point, if no errors happened, your programs should be installed and able to run correctly. Install folder will be named "Vircon32" and placed in your system's default program path. You can then delete the temporary 'build' directory: it is no longer needed.
To correctly build the software in this repository you will need to have at least the following libraries available in your build system. Note that these may in turn have dependencies themselves, which you will also need.
- SDL2
- TinyXML2
- SDL2_image
- OpenGL
- GLUT (only for older versions)
- LibPNG
- OpenAL
- ALUT / FreeALUT
These programs also use 3 other libraries that are already included in the sources as external libraries: osdialog, imgui and glad.