DCC-MB Software


ZIP file containing the executable programs

This file contains executable versions of the programs listed below.

DCCMBEXE.ZIP The ZIP file


Source Code


Memory Resident Driver, DCC-MB.COM 1.0 (Assembly language)

A memory resident driver, DCC-MB.COM, is used to control the hardware interface. This driver takes care of all of the details of generating a continuous DCC data stream. Application programs then make simple calls to the driver.

DCC-MB.ASM 52K bytes Memory resident driver - source code (MASM)

Click here for Documentation for DCC-MB.COM

* Functions Supported in version 1.0 *

Independent, simultaneous control of up to 127 locomotive decoders
Addressing Modes:
7 bit (decoder addresses in the range 1 to 127)
Speed Control Modes:
14 step - including control of the "extra" undefined bit
28 step
Accessory Control in multi-function decoders:
Group 1 (up to 5 on/off functions)

Accessory Decoder Control
Type 1 accessory decoders (10 bit addresses):
Control of 8 on/off functions per address

Decoder register (configuration variable) programming
Programming Modes:
Paged Register Addressing - Write Byte

Non-DCC I/O functions
Parallel Port:
Control of relays for track power switching
Control of 3 unused digital inputs and 2 unused digital outputs
Joystick Port:
Read values of 4 variable resistors
Read values of 4 on/off switches

Click here for Handy DCC packet list


Decoder Programming Program, PROGREG (QuickBasic)

This program allows easy programming of decoders which use paged register addressing. It is set up for the registers in a Digitrax DH-83; additional registers can be programmed with easy modifications to the source code.

FIXING A BUG... EVENTUALLY....


Interface Test Program, DCCTEST (c)

This program allows full control of a single locomotive decoder from the computer keyboard. Controls: 14-step speed/dir with control of extra bit, all 5 group 1 accessory functions, paged register programming.

DCCTEST.C The c source code


Throttle Test Program, THRTEST (c)

This program continuously displays the throttle settings which are read by the software driver. Useful for determining the correct throttle potentiometer size.

THRTEST.C The c source code


In the works: 4-Throttle Controller Program, DCCDEMO (QuickBasic)

This is a simple 4-throttle controller program, written in QuickBasic (4.5). Each throttle independently controls a single DCC decoder.


Back to DCC-MB Home Page
Copyright (c) 1996 Michael Brandt / mobrandt@mailbox.syr.edu