Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(5 edits)

Checks current device. If device is below device #$08, it detects as a tape drive and skips saver. I use this for my C64 projects, when catering for both .D64 and .TAP versions of my games :) I hope this helps.

ldx $ba
cpx #$08 ;Device should be #$08+ in order to save
bcc skips ;Device below #$08
... do disk drive load / save code
skips:
rts ;Or jump to main program

(3 edits)

It's amazing how many high-score savers actually don't cater for this problem and can't gracefully handle disk errors... but the scene doesn't want to know about anything other than drive 8, expect it to always be there, and to never fail. But this is a simple fix, so why not if the game is a one-filer?