[−][src]Crate melon
A library for creating retro computing platforms
Introduction
melon
is like a virtual 16bit CPU. When building a retro computing platform e.g. a gaming
console or old computer architecture, melon
takes care of handling basic parts like stack
management, calls, memory management and exception handling. Its most common interface, the
System trait makes it possible to not only implement the CPU into any platform but
makes it also really easy to extend its functionality.
The Program struct takes care of loading and saving programs written for an
implementation of the melon
backend. melon
roms are gzipped msgpack files.
Modules
typedef | A couple of useful type aliases |
Structs
Debugger | A simple interactive debugger for melon systems |
Program | The container for a program |
ProgramBuilder | A builder for generating |
VM | The state of the VM |
Enums
Instruction | |
IntegerType | |
Register |
Constants
MEM_PAGE | The size of a memory page in bytes |
Traits
System | An interface to communicate with the VM |