🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #28045

BITNET mail follows

#28045
From: U00177
Date: Wed, 26 Aug 1987 16:09
44 lines
2353 bytes
Reply to: Help! Fdatime() under Lattice C blows up. (22 aug 1987)

Why bombs with Fdatime() under Lattice C.

First  of  all,  Metacomco's  Lattice C latest version is 3.04.01. And
a good working Make program is supplied with this version.
Ask for a update.

M's  manual  is  doesn't  say  anything  about  Fdatime().  But   Mark
Williams  C  development kit (version 2.0.1) does. M-W also contains a
Make, a pretty good shell (like the Bourne and Berkeley C  shell)  and
a  reset  proof,  bootable  RAM-disk that can save and restore it self
to and from floppy disk. Sources included!

But as to Fdatim(), try this:

         void Fdatime(info, handle, getset);
         int  info[2], handle, getset;

         handle:   the file's handle, set  when  the  file  was  first
                   opened with Fopen (gemdos 61 or 0x3D;
                   Fopen(name, mode)).
                   Do not use fopen() from stdio!!

         getset:   0 = get time, 1 = set time.

         info  :   pointer  to  a  buffer  that holds two integers. It
                   contains   or   receives   the   time/date   stamp,
                   depending on getset:
                   info[0]  0-4  no. of two second increments (0-29)
                            5-10 no. of minutes (0-59)
                           11-15 no. of the our (0-23)
                   info[1]  0-4  day of the month (1-31).
                            5-8  no. of the month (1-12).
                            9-15 no. of the year  (0-119, 1980=0).

Perhaps this will work.

And a note on TOS-ROMS -- BLITTER version (from Herbert  Goertzel,  20
aug 1987):
I  saw  the  same  message  on the official ATARI-BENELUX (Netherland,
Belgium) bulletin board. Probably we must beleave it.

Wim Schaasberg (U00177@HASARA5.HEARN).
Technical Details
Message-ID: <8708261609.AA16387@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ames!ucbcad!ucbvax!HASARA5.BITNET!U00177

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ames!ucbcad!ucbvax!HASARA5.BITNET!U00177
From: U00177@HASARA5.BITNET
Newsgroups: comp.sys.atari.st
Subject: BITNET mail follows
Message-ID: <8708261609.AA16387@ucbvax.Berkeley.EDU>
Date: Wed, 26-Aug-87 12:09:50 EDT
Article-I.D.: ucbvax.8708261609.AA16387
Posted: Wed Aug 26 12:09:50 1987
Date-Received: Fri, 28-Aug-87 05:47:17 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 44