Post Reply 
41 MCODE - Debugger
06-08-2016, 09:01 PM
Post: #6
RE: 41 MCODE - Debugger
Thank you for all the comments. As the source code might be interesting to a few people I've loaded it onto in all its handwritten glory:
Please note that this is the original code, prior to tweaking it to work with Clonix. The Clonix meant adding a NOP after every WROM instruction in order to allow the device to have time to write to ROM/RAM and because I hadn't left spare bytes lying about I've had to use 3 byte port independent GOSUBs out to little blocks of code containing a few instructions. Consequently the code is now a lot messier than it was when I wrote the notes 30 years ago (I can't believe it was that long ago). The subroutine WRC1 (Write Class 1 Instruction to ROM) is now different as I realised I only ever write NC GO xxxx or NC XQ xxxx, never the Carry variants, so I deleted the code for this and put the extra NOP in.

I was interested in the comments about TONEXY. I have another ROM which has that contains all sorts of things I was playing with way back in the 1980s and 1990s. It includes a MCODE metronome, which was published in Datafile V9N4P19, and a MCODE routine which plays a tune from a ROM. It sounds terribly out of tune now. Whether it always was or this is some effect of now running it in a CX and Clonix+HEPAX module I'm not quite sure. I'll drag the ROM off tape but in the meantime you can inspect the PLAY source code.

I've a few more ancient artefacts lying around which I should now be able to get off tape now that I've mastered the process.

Keep calm and carry on debugging.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
41 MCODE - Debugger - Mark Power - 06-07-2016, 08:47 PM
RE: 41 MCODE - Debugger - Ángel Martin - 06-08-2016, 05:45 AM
RE: 41 MCODE - Debugger - charger73 - 06-08-2016, 06:18 AM
RE: 41 MCODE - Debugger - richardjnelson - 06-08-2016, 03:08 PM
RE: 41 MCODE - Debugger - Ángel Martin - 06-08-2016, 07:35 PM
RE: 41 MCODE - Debugger - Mark Power - 06-08-2016 09:01 PM
RE: 41 MCODE - Debugger - rprosperi - 06-08-2016, 10:22 PM

User(s) browsing this thread: 1 Guest(s)