/Nimtendo64

Nim wrapper for libDragon(preview branch)

Primary LanguageNimOtherNOASSERTION

Nimtendo64

Nim wrapper for libDragon (preview branch)

This is very early on, so please don't expect it to be particularly useful beyond being a proof of concept of Nim code running on the Nintendo 64. Hopefully with contributions from the community, that can change.


Installation

nimble install

Template project

The tests directory includes files for a template project/demo and contains all the files you need to build a nim project for the Nintendo 64, assuming you have the libDragon library and toolchain installed. To build a rom, navigate to tests and run ./mkrom


Progress

Currently implemented libDragon modules:

  • console.h

  • joypad.h(untested/incomplete)

  • joybus.h(untested/incomplete)


Contributing

To contribute, you can fork the main branch for now. I'll probably set up a dev branch which will be used for submitting pull requests.


License

This wrapper for libDragon is released into the public domain where applicable, otherwise, refer to the 0BSD.

Zero-Clause BSD

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.