Re: Detect a C128 from C64 mode

From: J.G.Harston <jgh_at_mdfs.net>
Date: Tue, 21 May 2013 13:13:02 +0100
Message-ID: <bc0b0a874d510ab7bab5f42f5f118870@mdfs.net>
Ted wrote:
> How about this...
>     lda #$01
> c128_check:
>     lda $d030
>     cmp #$ff
;    beq c64
;    jmp done
      bne done
> c64:
>     lda #$00
> done:
>     rts

-- 
J.G.Harston - jgh@mdfs.net - mdfs.net


       Message was sent through the cbm-hackers mailing list
Received on 2013-05-21 13:00:02

Archive generated by hypermail 2.2.0.