tms9918a_emu

Crates.iotms9918a_emu
lib.rstms9918a_emu
version0.3.0
sourcesrc
created_at2020-11-28 21:58:34.940097
updated_at2021-02-01 03:53:54.175156
descriptionTMS9918A VDP emulator library
homepage
repositoryhttps://github.com/ry755/tms9918a_emu.git
max_upload_size
id317582
size37,951
Ry (ry755)

documentation

README

tms9918a_emu

Texas Instruments TMS9918A VDP emulator library for Rust

GitHub | crates.io | API Documentation

TMS9918A

tms9918a_emu emulates a Texas Instruments TMS9918A video display processor and provides a basic framebuffer as Vec<u32> which can be used with other creates, such as minifb, to create a window.

High-level functions are provided as well as low-level functions, making it easy to control the VDP without needing to use the control and data ports.

This emulator is a work-in-progress and currently only supports the Graphics I and Text video modes, and sprites are unsupported in all modes. In its current state, this emulator is more of a TMS9918 (non-A variant) emulator.

Example

This is a small example program which uses Text mode to display a hello world message in a minifb window, showing how to use the high-level functions: High-level Text mode example

A similar example program is available which shows how to use the low-level functions to display the same hello world message.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 20

cargo fmt