[net.micro] PD 68k ROM Monitor?

milazzo@RICE.ARPA (Paul Milazzo) (07/10/85)

I'm planning to build a small I/O controller based on a 68000, and I'd
like some sort of monitor program I could place in the controller's ROM
to help debug the firmware.  What I'm looking for is a public-domain
(or at least cheap) monitor with the usual breakpoint/trace/download
facilities and the ability to communicate to a terminal through an
on-board serial port.  I need at least some of the source so that I can
adapt the monitor to the specific hardware configuration.

Please reply directly to me because I do not read this list.

				Thanks,
				Paul G. Milazzo
				Dept. of Computer Science
				Rice University, Houston, TX

ARPA:	milazzo@rice.ARPA
UUCP:	{cbosgd,convex,cornell,hp-pcd,shell,sun,ut-sally,waltz}!rice!milazzo

APratt.osbunorth@XEROX.ARPA (07/11/85)

>I'd like some sort of monitor program I could place in the controller's ROM
>to help debug the firmware.
>...with the usual breakpoint/trace/download
>facilities and the ability to communicate to a terminal through an
>on-board serial port.

Sounds like what you need is an MC68000ECB from Motorola. ECB means "Educational
Computer Board", and it is a complete 68K system on a board. It has limited RAM
and a brain-damaged memory map (the ROM sits right above the RAM, in the middle
of the address space), but it should be okay for development. It includes two
serial ports and TUTOR in ROM. TUTOR is exactly the monitor you are looking for,
including an interactive loader/debugger/assembler/disassembler and TRAP 15 
monitor calls for screen and printer I/O.  Those routines are a good start, but,
frankly, I found them to be poorly suited for general-purpose use. Cost is
one or two hundred dollars, as I recall. I could be way off base about that.

If you don't want to do that, you can get a book called "Programming the 68000" by
King and Knight. I seem to remember that there was a monitor program listing in
that book, as an example, but I didn't look at it, and I don't know how good it
is.

					-- Allan Pratt
					APratt.PA@Xerox