Re: [hatari-devel] Natfeats doc?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Mittwoch, 8. September 2021 18:34:19 CEST Eero Tamminen wrote:

> Should it also clear out the parsed parameters

> from stack (i.e. in NF_DEBUGGER case increase

> A7 by 4)?

 

My idea was that this opcode does not use any parameters, nor modifies any registers (not even D0)

 

>In that case, I think it would be better to use

>already existing instruction / opcode for that,

>either:

>- "illegal" ($4afc), or

>- "bkpt" ($4848 + vector)

 

BKPT is an 68020 only opcode, IIRC. "illegal" is often used by native Atari debuggers to set breakpoints. Using any of these may conflict with those debuggers.

 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/