Posted By
Csabo on 2009-02-08 10:06:27
| Re: Need help with telephone program
You are right of course, but from your first statement it's clear that you haven't looked at his program. It does set $D020 to zero in line 100. Adding line 105 above was a quick and dirty way of getting it to work for this particular program (I also wanted to minimize the changes so I don't have to republish the entire listing).
The most reliable check IMHO would still be a TED or SID register that is "free" on the other machine. The FF15 would be fine as well as the highest bit is also always one. I tried it and it seems to work fine:
0 POKE 65301, 0 : IF PEEK ( 65301 ) = 128 THEN PRINT "C16/PLUS4" : ELSE PRINT "C64"
|