Dunjunz Source Code
25 levels of monsters & magic for the Dragon 32/64 and Tandy Colour Computer. 1–4 simultaneous players! Written in 100% Machine Code!
See the Dunjunz home page for downloads and instructions.
Building from source
The source code is available to learn from, laugh at, or ignore.
Source code version 1.1, released 2018-06-16.
Source code version 1.1gmc, released 2020-02-03.
Git repository:
git clone https://gitlab.com/sixxie/dunjunz.git
The build system very much depends on a Unix-like environment, and on many commonly-available Unix tools and libraries. You'll need a C compiler, the SDL_image 1.2 development files, Perl, asm6809, bin2cas.pl, and dzip.
Building the disk image requires the decb tool from ToolShed.
If all that's available, just type make
. make
clean
to tidy up.
Copyright information
The source code for this game is released under the MIT License below. This excludes assets derived from the original BBC Micro version. Some build tools in the source distribution may have a different (but still free software) licence—consult individual source files.
Copyright © 2018-2020 Ciaran Anscomb
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The original BBC Micro version of Dunjunz is by Julian Avis, and copyright Bug-Byte, 1987. Bug-Byte eventually became Grandslam Interactive, which was dissolved in March 1999. It is most likely that the copyright has returned to Julian Avis.
This rewrite is an homage to the original, and was not created to sell—though I may make at-cost copies available from time to time. Consider it as simply a proof that a Dragon version could have been released at the time.
No code from the original was used, and all design decisions are based solely on observation. However, certain presentational elements were derived from the original:
- Title screen: obtained by screen capture while running under emulation. Modified for reduced colour and resolution.
- Title music: obtained through emulation by dumping sound register and timing information.
- Sound effects in GMC version: acquired in the same way as the music.
- Level data: extracted using data encoding information from David Boddie.