[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugger command set?
- Subject: Re: Debugger command set?
- From: "Denton" <denton@netmagic.netNoSpam>
- Date: 1999/05/21
- Newsgroups: comp.sys.apple2
- Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here!
- References: <37436E2E.7AC6D056@inebraska.com>
actually, what you do to access the debugger (er.. Monitor) is type
"call -151" from any applesoft prompt "]". you should get a "*" prompt. To
get into the mini-assembler (assuming the apple IIe is atleast an enhanced
IIe or a grey IIe (the kind with the built-in numeric keypad)) type, from
the "*" prompt a "!".
from here you can type an assembler entry like (don't type the '!', that's
the prompt)
!300:LDA #00
which it will then assemble immeadiately (aha, so this means there's no
macros, no labels, nothing. great for short programs, not so great for
medium to large programs)
to add an instruction at the next location, just type something like
! STA $42
once you've got your program entered, press return at an empty prompt to
return to the monitor.
from here you can use the following commands:
xxxxL (to list at address xxxx. omit address to list from current address
pointer)
xxxxG (to preform a jsr to address xxxx)
ctrl-e (to display the current registers. PC is not displayed)
xxxxR (to load from tape to address xxxx)
xxxxS (to save to tape from address xxxx)
I know there's a memory move command, but I never use it so I don't remember
it.
you can also use the common DOS or PRODOS commands at the "*" prompt,
assuming you've got dos or prodos loaded.
-denton
>Matt Cole <mikaeline@inebraska.com> wrote in message
37436E2E.7AC6D056@inebraska.com">news:37436E2E.7AC6D056@inebraska.com...
>Okay, here's my story -- I just inherited an old Apple //e that was
(strangely enough), until the end of last semester, >being used by one of
the teachers at my school to do grades on...this is, until his printer broke
down. The school >didn't want to try and find a printer that would hook up
to his computer (which seems to have a IEEE 1284B >connector on it....same
as a PC printer), so they gave him a GS, with an ImageWriter....
>Anyway, the story is that the school didn't want the //e any more, so I
volunteered to take it off their hands, which they >heartily agreed to.
Now, I'm re-learning BASIC, saving my programs on tapes, etc., and I'm
finding that the //e >seems to have an integrated assembler-level debugger,
which can be accessed by typing "&" alone at the >command prompt. My
question is, is there anyone that knows any commands for this debugger? eg,
how to >modify data, assemble instructions, etc?
>Any help would be appreciated.
>Matt Cole
>--
>"So Lone Starr, now you see that evil will always triumph, because good is
dumb."
>-- Dark Helmet (Rick Moranis), "Spaceballs"