Giter Club home page Giter Club logo

pczsm's Introduction

PCZSM DOS ZSM player

This is a DOS based player of the ZSM format originally targeted for the Commander X16 platform.

The main purpose is to provide an example of how to use some of the features available on the TexElec SAAYM sound card which uses a Yamaha YM2151 and two Philips SAA1099 sound chips.

This includes:

  • YM2151 detection.
  • YM2151 clock speed detection.
  • YM2151 timer-based playback via assigned IRQ.

SAAYM environment variable

If the SAAYM environment variable is defined, the player will use the settings defined there.

SET SAAYM=A210 I5 Y0 S0

  • A - This is the address of where the SAAYM is configured for.
  • I - This is the IRQ the SAAYM uses (if jumpered). If there is no IRQ defined, the system timer will be used.
  • Y - 0 is for the YM2151 clocked at 3.579545 MHz, 1 is for the YM2151 clocked at 4 MHz.
  • S - 0 is for the SAA1099s clocked at 7.15909 MHz (Game Blaster), 1 is for the SAA1099s clocked at 8 MHz.

Current Missing Features

  • YM2151 clocked at 4 MHz frequency conversion.
  • SAA1099 clocked at 8 MHz frequency conversion.
  • VERA PCM playback.
  • VERA PSG Pulse Width (SAA1099 natively lacks this feature).
  • VERA channels; only the first twelve VERA channels are handled on the dual SAA1099 chips.

Requirements

IBM PC or compatible MS-DOS 3.0 or higher 8088/8086 CPU @ 4.77 MHz or higher (for PCZSM16) 80386 or higher CPU (for PCZSM32) 256 KB RAM

Usage

PCZSM [options] FILENAME.ZSM

Where options can be:

  • -rN Repeat N times (if the ZSM repeats). -r only to repeat forever.

Building the source

The source is intended to be built with the Open Watcom compiler, though it may build with other compilers that can generate a DOS executable.

In the build output directory of choice type: wmake -f [path_to_makefile] [target]

Where target can be:

Target Configuration Platform
all RELEASE & DEBUG 32-bit and 16-bit
all-32 RELEASE & DEBUG 32-bit
all-16 RELEASE & DEBUG 16-bit
release RELEASE & DEBUG 32-bit and 16-bit
release-32 RELEASE 32-bit
release-16 RELEASE 16-bit
debug RELEASE & DEBUG 32-bit and 16-bit
debug-32 DEBUG 32-bit
debug-16 DEBUG 16-bit
clean RELEASE & DEBUG 32-bit and 16-bit
clean-release RELEASE & DEBUG 32-bit and 16-bit
clean-release-32 RELEASE 32-bit
clean-release-16 RELEASE 16-bit
clean-debug RELEASE & DEBUG 32-bit and 16-bit
clean-debug-32 DEBUG 32-bit
clean-debug-16 DEBUG 16-bit

Coding Standards

Attempts to adhere to the BARR-C:2018 Embedded C Coding Standard.

pczsm's People

Contributors

oplx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.