Re: [cc65] Question about 65816

Date view Thread view Subject view

From: Christian Groessler (cpg_at_aladdin.de)
Date: 2001-05-30 08:50:57


On 05/29/2001 06:06:45 PM ZE2 Ullrich von Bassewitz wrote:
>
>Elite 128 will switch an 816 into native mode if one is found. The only
>difference in the code is that the interrupt handler has an additional
>instruction like this:
>
>	IRQ816: sep     #$30                    ; Set registers to 8 bit
>	IRQ:    pha
>		txa
>		pha
>		lda     $01
>		and     #RAMONLY
>		ora     #(LORAM | IOEN)
>		sta     $01
>

Hmm, I don't know anything about the 816, but shouldn't the interrupt
routine save the current register width and restore it on exit??

regards,
chris

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:40 CET