scene.org File Archive

File download

<root>­/­parties­/­2021­/­lovebyte21­/­low_end_256_byte_intro/24h-clock.zip

File size:
15 680 314 bytes (14.95M)
File date:
2021-03-15 02:03:20
Download count:
all-time: 52

Screenshot (by pouët.net)

Screenshot

Preview

  • 24h clock (1280x720x60).mp4 16.12M
  • 24h clock (16-9).png 96.43K
  • 24h clock (4-3).png 91.95K
  • 24hclock-sys6510.prg 254B
  • FILE_ID.DIZ 910B

file_id.diz

*** 24h Clock ***

A 256 Byte Commodore 64 intro by Thundax/Xenon

Released @ Lovebyte 2021

Enjoy!


Notes:

Run the program by entering:   SYS 6510

After running the program asks you to enter the current time in HH MM SS format.

The clock doesn't use the TOD-clock of the C64. It uses the 50Hz PAL-frames a second instead.
Because the signal isn't 50Hz exactly but 50.12Hz, it means that the clock would run about 3.5 minutes ahead for every 24 hours.
The program has a fix in it which resolves the issue for the biggest part: Every 400 frames, one dummy frame is added (400*50.12=400.96).
This means that the clock runs only about 8 seconds behind now for every 24 hours.

Btw, when using your computer during running a program in your C64-emulator, it may cause the emulator to freeze a couple of frames now and then.
In that case the clock can run some seconds behind after a while.