From: Brian Ketterling (tweel8502_at_hotmail.com)
Date: 2003-02-14 00:49:25
>From: Ullrich von Bassewitz <firstname.lastname@example.org> >Reply-To: email@example.com >To: firstname.lastname@example.org >Subject: Detect a C128 from C64 mode >Date: Thu, 13 Feb 2003 23:52:29 +0100 > >I'm currently wondering if there is a really easy and reliable way for a >C64 >program to detect if it is running on a C128 in C64 mode... How about seeing if a POKE to what would be a mirrored I/O location on a 64 (and decoded on a 128) shows up in the "regular" location? e.g.: mode=128:poke[I/O location],x:poke[mirrored location],y:if peek[I/O location]=y then mode=64 Unfortunately, I don't have my P.R.G. here, so I don't know which address might be suitable. -- Brian _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus Message was sent through the cbm-hackers mailing list
Archive generated by hypermail 2.1.6.