Downloads

Preface

All the files you can download from this page have been written or created by myself and you are free to use them. You can use them in any type of project in part or complete if not mentioned otherwise. Use the information on your own risk there is no guarantee it works and the likelihood that it still has bugs or errors is about 100%. Though the code works in my projects and the circuits and PCBs I have designed are in use and work for me. YMMV.

AVR Includes

Unfortunately the AVR IDE do not support libraries and the macro capabilities of the assembler in AVR Studio are very limited. So instead of building a real library I just wrote a collection of files I could include in the projects as I needed then. You need this include directory for most of my AVR projects.

Include Library

It includes the following modules

monitor

My includes started with the monitor. During the development of AVR projects I often thought that it would be cool to have some sort of monitor program I could call and have an interactive console to look into the processor or to have a command line so I could call some sub routines to test things and gain experience with the AVR processors.

So I have written a small monitor program that is pretty much a copy of the Apple II monitor program as it was included in the original Apple II, of course there are some differences. E.g. there is no G (Go) command

malloc

For a larger project I needed to dynamically allocate and dispose memory blocks. So I wrote my version of malloc() and free().

print

In my programs I often create debug or log messages. For a long time they all were customized routines. But then I decided to write a generalized print() sub routine.

macros

There are macros I use in almost every AVR project.

tparse

Starting with the RLV12 emulator I was looking for a decent user command line interface. Inspired by $TPARSE of the PDP-11 MACRO library I have written my own table driven parser.

SD Card Routines

My attempt to write low-level access routines for SD-Cards. It says v2-0 but it still is work in progress.

MFM Reader

MFM Reader AVR Project Folder

RLV12 Emulator

Don’t get distracted by the name of the .zipfile. The AVR RLV12 Emulator project is indeed called Q-Bridge 11.

RLV12 Emulator AVR Project Folder

RLV12 Emulator CPLD Design File Q-Bus Version

RLV12 Emulator Eagle Files