24 releases (14 breaking)

0.15.2 Apr 11, 2020
0.15.0 Sep 9, 2019
0.14.1 Nov 21, 2018
0.13.0 Jun 8, 2018
0.5.1 Mar 28, 2018

#229 in Emulators

Download history 115/week @ 2024-07-29 78/week @ 2024-09-23

85 downloads per month
Used in beast

MIT license

105KB
2.5K SLoC

melon

A library for creating retro computing platforms

Build Status Crates.io code coverage Docs.rs dependency status

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.

Usage

You can add the library to your project by adding the following line to your Cargo.toml file:

melon = "^0.14"

Get in touch

If you have any questions do not hesitate joining me on Matrix in #bakervm:das-labor.org. I'm trying to be online as often as possible 😁

Dependencies

~6–14MB
~177K SLoC