Code Monkey home page Code Monkey logo

sdcc_ay38910bf_lib's Introduction

PSG AY-3-8910 BF MSX SDCC Library (fR3eL Project)

Author: mvac7
Architecture: MSX
Format: C Object (SDCC .rel)
Programming language: C and Z80 assembler

Description

Library functions for access to internal or external MSX PSG AY-3-8910.

It does not use the BIOS so it can be used to program both ROMs or MSX-DOS executables.

This library is similar to the PSG AY-3-8910 RT, but instead of writing directly to the registers, it does so to a buffer that should be dumped to the AY in each VBLANK frame.

It is designed to work together with the PT3player and/or ayFXplayer libraries, but you can also use it for your own or third-party player.

In this same repository you will find a short version (AY38910BF_S) with the essentials to work with player libraries.

AY Sound System

It incorporates the SOUND function with the same behavior as the command included in MSX BASIC, as well as specific functions to modify the different sound parameters of the AY.

Controls the I/O bits of register 7 (Mixer), of the internal AY.

It allows to use the internal PSG of the MSX or an external one (like the one incorporated in the MEGAFLASHROM SCC+ or the Flashjacks).

In the header file there is a definition of SWITCHER type, needed for the functions. This type uses the values "ON" or "OFF", which equals 1 and 0 respectively.

Include definitions to improve the readability of your programs.

Use them for developing MSX applications using Small Device C Compiler (SDCC).

This project is an Open Source library. You can add part or all of this code in your application development or include it in other libraries/engines.

You can access the documentation here with How to use the library.

In the source code examples/, you can find applications for testing and learning purposes.

TEST AY Lib

This library is part of the MSX fR3eL Project.

Enjoy it!

History of versions

  • v0.9b (07 July 2021) First version (Based in AY-3-8910 RT Library)

Requirements


Acknowledgments

I want to give a special thanks to all those who freely share their knowledge with the MSX developer community.

sdcc_ay38910bf_lib's People

Contributors

mvac7 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

sdcc_ay38910bf_lib's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.