🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #14444

Re: Rom Debugger -> Finder

#14444
From: Marc Hannah
Date: Fri, 02 Jan 1987 01:14
56 lines
2917 bytes
In article <4500@ut-ngp.UUCP>, jdm@ut-ngp.UUCP (Jim Meiss) writes:
> I've seen several times postings telling you how to get back to the
> finder from the ROM Debugger. My question is, what else can the
> debugger do? Where is there a list of commands it accepts.
> 
> 						Jim Meiss
   I haven't really used it but Technote #38 is called The Macintosh Plus
Rom Debugger. Here are some basics from the technote:

PC [expr]   (program counter)
   Typing PC on a line by itself displays the program counter. Typing
PC 50000 sets the program counter to $50000.

SM [address [number(s)]]  (set memory)
Typing SM on a line by itself displays the next 96 bytes of memory. Typing
SM 50000 will display memory starting at $50000. 
Typing SM 50000 4849 2054 6865 7265 2120  will set memory starting at
$50000 to $4849...  Subsequently hitting return will increment the display
a screen at a time.

DM [address]   (display memory)

Typing DM on a line by itself displays the next 96 bytes of memory. Typing
DM 50000 will display memory at $50000. Subsequently hitting return will 
increment the display a screen at a time.

SR [expr]   (status register)

Typing SR on a line by itself displays the status register. Typing SR 2004
sets the status register to $2004.

TD   (total display)

Displays memory at the "magic" location $3FFC80, which contains the current
values of the 68000's registers. The registers are displayed in the following
order: D0-D7, A0-A7, PC, SR.

G [address]    (go)

Executes instructions starting at address. If G is typed on a line by
itself, execution begins at the address indicated by the program counter.

NOTE: If you want to exit to the shell, you just need to type: 
  SM 0 A9F4, then G 0

NOTE: If you crash into the debugger and the system hangs, try turning off
your modem. 

Actually I just typed in the whole technote and that's all I know about the
debugger. Hope this is helpful for someone.
David Gelphman                  BITNET address: DAVEG@SLACVM
Bin #88 SLAC                    ARPANET address:  DAVEG@SLACVM.BITNET
Stanford, Calif. 94305          UUCP address: ...psuvax1!daveg%slacvm.bitnet
415-854-3300 x2538
usual disclaimer #432 applies: my employer apologies for the fact
that I have access to this net.
Technical Details
Message-ID: <1124@Shasta.STANFORD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!decvax!decwrl!labrea!Shasta!mrh
References: <330@net1.UCSD.EDU> <4500@ut-ngp.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!decvax!decwrl!labrea!Shasta!mrh
From: mrh@Shasta.STANFORD.EDU (Marc Hannah)
Newsgroups: comp.sys.mac
Subject: Re: Rom Debugger -> Finder
Message-ID: <1124@Shasta.STANFORD.EDU>
Date: Thu, 1-Jan-87 20:14:17 EST
Article-I.D.: Shasta.1124
Posted: Thu Jan  1 20:14:17 1987
Date-Received: Fri, 16-Jan-87 02:46:00 EST
References: <330@net1.UCSD.EDU> <4500@ut-ngp.UUCP>
Distribution: comp.sys.mac
Organization: Stanford University
Lines: 56
Keywords: MacsBug, MiniDebugger
Summary: technote 38