nerd@percival.UUCP (02/25/87)
For some reason this group is flooded with requests for a monitor, I am currently cleaning up a 68k monitor I've written. I expect to finish the clean up/documentation for this first stage of the monitor in a month or so at which time I will post the sources to whatever group is apropriate at that time and will place a note in comp.sys.m68k announcing this. Features currently implemented are: execution breakpoints (set/clear/list) 8 total, implemented via illegal opcodes (I use what becomes bkpt #x in the 010 so it will work with the 010 too) register view/modify d0-d7/a0-a7 (realy usp) sr, and pc can all be changed, sr will always show the supervisor state bit set to 0 as the monitor is the only thing that runs in supervisor mode. run with/without breakpoints alows running starting at given address or current pc (as shown and set in register modify/view). download 'S' records (host to target) recognizes S0-S9 records, ignores all but data and terminator records. Does not recognize the 'execute at location' field. memory view/modify (byte/word/long) view ranges of memory in bytes, words, or longs, modify single location in byte, word or long. Features I expect to implement in the next phase are: 1) Allowing user code to insert their own exception handlers in place of the monitor's. I expect this to take about a month. 2) Hooks in the monitor to do low level i/o to any device. This will have to be carefully thought out as it will be the base from which I plan to go on with the next step. I'm shooting for a couple of months on this one. 3) A multi-tasking opoerating system. No time frame here. Everything is in assembly language (standard Motorola format) and is well commented. There should be no problem adding features or modifying the existing capabilities to match your special needs. The machine I have written this for has a wd-8250a uart so all the serial i/o (console) may need re-writing. Currently all these routines are in a separate file which is around 50 lines long so should be easy enough for anyone to modify to match their hardware. All other factors that may be implementation dependant like memory availability and location is configured with equates so is easy to modify. As things stand now the whole monitor can be ported to a completely different target with 30 min of work or so. Any requests for info on the project or for sources should be mailed to the folowing address, I will ignore anything that comes into my personal mail box regarding this. ..!{ucbvax,ihnp4,seismo}!tektronix!reed!percival!mon-request -- If my employer knew my opinions he would probably look for another engineer. Michael Galassi, Frye Electronics, Tigard, OR ..!{ucbvax,ihnp4,seismo}!tektronix!reed!percival!nerd