Skip to content

Durango Development Tools

Durango has several tools that can help you creating software.

Rescomp

Rescomp is a java application Based on SGDK`s rescomp. This Java Based tool allows to generate all the binary information to import any resource (image, sprite...) also, this tool allows you to sign any ROM created for Durango.

To Run rescomp you can use the next approach.

java -jar rescomp.jar -n name - i file.png -o out.h -m BACKGROUND

Where the options are:

  • -n name: Resource Name.
  • -i inputfile: Input File.
  • -o outputfile: Output File.
  • -m MODE: Mode; to select the operation Mode:

    • BACKGROUND: Background mode; for generate a binary from a background Image.
    • SPRITESHEET: Sprite Sheet mode; for generate binary from a Sprite Sheet and cut each frame.
    • SCREENSHOT: Generate information for a screenshot.
    • BINARY: Allow to store Binary Information.
    • FONT: Allow to generate information from a Font in a Image File.
    • SIGNER: Allow to Sign a Durango Rom.
    • STAMP: Allow to STAMP a Durango Rom.
    • MUSIC: Allow to generate a .h file from musicxml format file.
  • -w width: set the Sprite Frame With.

  • -h height: set the Sprite Frame Height.

For more information about Rescomp, please see the Source Code:

https://github.com/durangoretro/rescomp

Raspberry Pi Durango Server (nanoBoot)

You can use the Durango nanoLink interface to load a program. You may use the Durango nanoBoot ROM to load a program using the Raspberry Pi GPIO thru the nanoLink interface.

The nanoLink Interface its in the upper side of the durango board.

Durango nanolink interface

Durango nanoLink Interface

This server uses the following GPIO pins:

  • 34: GND (G)
  • 36: CLK (C)
  • 38: DAT (D)

Or on BCM notation:

  • 16: CLK
  • 20: DAT

You need to compile the source code downloaded from:

https://github.com/zuiko21/minimOS/blob/master/forge/nanoboot/server.c

to compile this program you need the library wiringpi:

sudo apt-get install wiringpi

After installing you can compile the program.

gcc -lwiringPi server.c -o nanoserver

To use this program, launch and write in the prompt the file name you want to upload.

Remember to stick the nanoBoot ROM on Durango first.

Under Development

This software is under development and we are working to improve it. Of course, you can contribute in the github repository.

CC65

CC65 is a freeware C compiler and other tools to work with 6502 microprocessor.

You can use this compiler to create all the ROMS or, use the tools included to helps you the development of the software used for Durango.

For more information about CC65, check CC65 Web Page:

https://cc65.github.io/

XA65 assembler

XA is a high-speed, two-pass portable cross-assembler. It understands mnemonics and generates code for NMOS 6502s, CMOS 65C02s and the 65C816.

For more information about XA65, please see the project's web page.