Commodore 128 Alive!

Commodore PET => Commodore PET => PET tips & tricks => Topic started by: Blacklord on July 28, 2009, 07:24 AM

Title: Check if a disk is busy
Post by: Blacklord on July 28, 2009, 07:24 AM
POKE 59456, PEEK(59456) AND 251
X = PEEK(59456) AND 64
POKE 59456, PEEK(59456) OR 4

At this point, X will have a value of zero if the disk is busy, and 64 otherwise.
EhPortal 1.34 © 2025, WebDev