Skip to content

alexfdev0/luna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luna

A simple, lightweight RISC CPU architecture.

Requirements

  • Windows, MacOS, Linux, or FreeBSD
  • Lua (only if you want to run the legacy Luna L1 virtual machine and tools)
  • Go

Manual Installation (MacOS, Linux, FreeBSD)

  • Clone the repository using git clone
  • Navigate into the directory
  • Run make; make install to install the Luna L2 emulator and toolchain
  • Run luna-l2 <disk image> to run an application
  • Note: if you would like to install the legacy Luna L1 emulator and toolchain, run make legacy to install it as well as the assembler and C compiler. Then run luna-l1 <disk image> to run an application

Manual Installation (Windows)

  • Clone the repository using git clone or download it as a ZIP and then unzip it
  • Open the directory
  • Run the build_windows.bat file to build the Luna L2 emulator and toolchain
  • Install the applications into your PATH variable
  • Run luna-l2 <disk image> to run an application

Running an application

  • Run luna-l2 <disk image> to run an application.
  • To run a disk image with Luna L1, run luna-l1 <disk image> instead.

About

A simple, lightweight RISC CPU architecture.

Resources

License

Stars

Watchers

Forks

Packages

No packages published