danwinslow Posted August 13, 2005 Share Posted August 13, 2005 What are the strategies for maintaining date/time on an 8 bit? Are there any standard locations or do you set up your own and count ticks with an interrupt? Quote Link to comment Share on other sites More sharing options...
Plastron Posted August 14, 2005 Share Posted August 14, 2005 (edited) time= int((peek(18)*65536+peek(19)*256+peek(20))/60) this will count in seconds. Taken from Mapping the Atari RTCLOCK 18,19,20 Edited August 14, 2005 by Plastron Quote Link to comment Share on other sites More sharing options...
fox Posted August 14, 2005 Share Posted August 14, 2005 The above formula is for NTSC. For PAL, replace 60 with 50, or even better 49.86074561. Or maybe you want the R-Time 8 cartridge: it has a battery-powered real time clock with real date and time. Quote Link to comment Share on other sites More sharing options...
geosteve Posted August 15, 2005 Share Posted August 15, 2005 If I remember right, it's been about 10 years, using Atari's DOS XE has a date and time setting, both of which are recorded in file saves. The DOS XE menu will help you with the settings as a guide. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.