• Set Apple II Date From The Internet

    From ol.sc@ol.sc@web.de (Oliver Schmidt) to comp.sys.apple2 on Friday, March 12, 2021 21:45:00
    From Newsgroup: comp.sys.apple2

    Hi,

    I created an NTP client for the A2 quite some time ago. However, so
    far it was more or less just a demo. Now I added a variant that is
    actually useful :-)

    If you own an enhanced //e with an Ethernet card but without a
    realtime clock, you can integrate the new DATE65.SYSTEM into your
    ProDOS 8 boot process. It sets the ProDOS 8 time to midnight of the
    current day.

    Demo video: https://youtu.be/LoQANrqe53I
    More details: https://github.com/cc65/ip65/wiki/Date65
    Source code: https://github.com/cc65/ip65/blob/master/apps/date65.c

    Regards,
    Oliver
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From pklo...@gmail.com@pkloepfer@gmail.com to comp.sys.apple2 on Friday, March 12, 2021 15:41:50
    From Newsgroup: comp.sys.apple2

    On Friday, March 12, 2021 at 4:45:02 PM UTC-5, Oliver Schmidt wrote:
    Hi,

    I created an NTP client for the A2 quite some time ago. However, so
    far it was more or less just a demo. Now I added a variant that is
    actually useful :-)

    If you own an enhanced //e with an Ethernet card but without a
    realtime clock, you can integrate the new DATE65.SYSTEM into your
    ProDOS 8 boot process. It sets the ProDOS 8 time to midnight of the
    current day.

    Demo video: https://youtu.be/LoQANrqe53I
    More details: https://github.com/cc65/ip65/wiki/Date65
    Source code: https://github.com/cc65/ip65/blob/master/apps/date65.c

    Regards,
    Oliver
    FYI, A2osX includes an NTPDATE command that will get the date from time servers and can even be run as a daemon process to constantly update the time for ProDOS file creation/access.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From David Schmidt@schmidtd@my-deja.com to comp.sys.apple2 on Wednesday, March 17, 2021 10:40:28
    From Newsgroup: comp.sys.apple2

    On 3/12/21 4:45 PM, Oliver Schmidt wrote:
    Hi,

    I created an NTP client for the A2 quite some time ago. However, so
    far it was more or less just a demo. Now I added a variant that is
    actually useful :-)

    If you own an enhanced //e with an Ethernet card but without a
    realtime clock, you can integrate the new DATE65.SYSTEM into your
    ProDOS 8 boot process. It sets the ProDOS 8 time to midnight of the
    current day.

    Very cool - great integration of ideas! That's why this stuff just
    never gets old.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From ol.sc@ol.sc@web.de (Oliver Schmidt) to comp.sys.apple2 on Friday, March 19, 2021 21:56:09
    From Newsgroup: comp.sys.apple2

    Hi David,

    Very cool - great integration of ideas! That's why this stuff just
    never gets old.

    Thanks for the nice feedback. It was indeed a nice integration
    experience. The cc65 C library for the Apple2 already had:

    - Functions for converting an epoche time to a date/time (containing
    all that calendar stuff incl. leap year handling etc).

    - File directory enumeration functions.

    - An exec() function for running about any BIN or SYS file.

    It was really like the puzzle pieces fell into place :-)

    Regards,
    Oliver
    --- Synchronet 3.18b-Win32 NewsLink 1.113