PET speed-up

Started by Blacklord, July 28, 2009, 07:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Blacklord

You can speed up the PET dramatically just by typing POKE 59458, 62

Shaun_CCC(UK)

#1
On a real 80xx PET this seems to mess the screen up (I have BASIC 4.0) so be warned.

Regards,

Shaun.

Blacklord

Quote from: Shaun_CCC(UK) on August 01, 2010, 07:44 AM
On a real 80xx PET this seems to mess the screen up (I have BASIC 4.0) so be warned.

Regards,

Shaun.

Works on a CBM 2000 (4k PET).

Shaun_CCC(UK)

How do I determine the hardware then please? Something like:

IF PEEK(xxxxx)=xxx THEN POKE.....

This would be helpful for my 4K game should I have enough space to get this line in.

Regards,

Shaun.

wte

Gasch!

That's the Killerpoke!

Read more: http://www.6502.org/users/andre/petindex/poke/index.html

Regards WTE

PS: I'm also searching for a simple peek to check if a poke 59458, 62 is "required" or "incongruous".

carlsson

I don't have the answer, but somehow I think you can program the VIA to read a status register from the CRTC chip if present? I suppose on an older, non-CRTC PET you would get zero or garbage if it is possible to read the CRTC at all. This page - also by André - is fairly technical but it could be worth looking into.

http://www.6502.org/users/andre/hwinfo/crtc/index.html