GetHardBreakpointAddr Method
UP ]

 

Description

This method is used to retrieve the address of one breakpoint loaded into the target’s breakpoint module.

Syntax

Address = HCS121.GetHardBreakpointAddr (Order)

Part Type Description
Order Integer Breakpoint number. It must be 0 or 1.
Address Long Breakpoint address returned.

Remarks

If Address is greater than $FFFF, it is a linear address. In order to get the banked address you must apply the following formulas:

 PPageNum =Address/$4000;

 PPageWinAddr = Addess % $4000 + $8000;

Where PPageNum is the page number and PPageWinAddr is the address belonging to page window interval [$8000-$BFFF].

See also:

RmHardBreakpoints

SetHardBreakpoint

 

If you have a question or suggestion please contact me. Updated: 03.19.2003
Copyright (c) 2003-2004 J.Gorgas. All rights reserved. All trademarks mentioned are the property of their respective owners.