|
Two weeks and no response....hmm, I guess that means someone doesn't
already have it.
If this program works, it would really be valuable to those of us with
Bridgecards, setting the date and time gets to be a real pain especially
when there is already a battery backed up clock in the 2000 box.
If anyone with access to PLink would be willing to upload this file it
would be very much appreciated.
|BridgeClock by John Breen (PLink AmigaZone file #11789)
|
| This set of files will automatically set the MSDOS clock on the
|Bridgeboard every time the Amiga 2000 is booted. Included are an example
|AUTOEXEC.BAT file as well as a GWBASIC program that does the actual work.
Thanks
John........
|
| Well, didn't find anything by the name of BRIDGECLOCK but did find
a program called SETCLOCK which seems to do the same thing. Let
me know if it is not what you are looking for and I'll look further
on Genie.
File is located at:
DNEAST::SYS$USER5:[COMBAR_CURT.AMIGA]SETCLOCK.ARC
Doc file from the archive follows...
***************************************************************************
-------------------------------- SetClock ---------------------------------
***************************************************************************
So, you've got your new Amiga 2000 with BridgeBoard (a/k/a RetroBoard).
One minor problem - unless you have added other PC-type boards, your PC
side system won't know what time it is. But your Amiga-side knows! So,
how can you get your Amiga to give your pseudo-PC the time of day? Read
on...
SetClock is an MS-DOS program designed to set the internal clock from data
provided in a file copied from the Amiga side of your 2000. This data file
is simply the output from the AmigaDOS "Date" command. It's passed from the
Amiga side to the PC side via a file in RAM:. See below on how to modify
your Startup-Sequence and AUTOEXEC.BAT files.
Thanks to Dick Sheffold for the idea, and the need - I don't have a 2000!.
He also did the testing. Obviously.
SetClock is copyright (C) 1987 - John Steven Plegge
Released for non-commercial personal use.
May not appear on CompuServe (a/k/a CI$).
Steve Plegge
604 Lammert Court
St. Charles, MO 63301
GEnie: JSP
Delphi: JSP
FidoNet: 10/100
***************************************************************************
--------------- The following was written by Dick Sheffold ----------------
***************************************************************************
--- Add these commands to your Startup-Sequence: ---
SYSTEM/FastMemFirst ;run this to speed up things if you have more than
1 Meg in your system.
AddBuffers df0: 30 ;helps with disk access
Addbuffers df1: 30 ;same-if you have a second drive
SetClock >NIL: opt load ;sets the A2000 internal clock
Date > RAM:DateFile ;write out the current date/time to a file
Run PC/PCDisk ;allows transferring of files between ADOS &
MS-DOS
.
.
.
.
Remainder of Startup-Sequence
===========================================================================
--- Add these commands to your AUTOEXEC.BAT: ---
Beginning of AUTOEXEC.BAT
.
.
.
Pause ;Needed because the Autoexec.Bat might
execute before the Startup-sequence sets
up the files needed for the file transfer
ARead RAM:DateFile A:DateFile ;copies the date file from ADOS to MS-DOS
SetClock DateFile ;reads the file 'datefile' to set the date
for MS-DOS
*************************** I M P O R T A N T *****************************
The following files must be on the MS-DOS boot disk for SetClock:
Pause
ARead
SetClock
***************************************************************************
The above changes to your startup files should set the PC clock but will be
up to a minute later than the ADOS time because of the lag between creating
the 'DateFile' in ADOS and reading it in MS-DOS.
***************************************************************************
AREAD
AWRITE
The documentation for these two files is correct if transferring TEXT files.
If binary (other than text) files are transferred, a '/B' switch must be used
after the command line.
Example: AREAD DF0:Setclock.exe A:Setclock.exe /B
The above will allow the file SETCLOCK.EXE to be downloaded from the Amiga
side and then transferred to the MS-DOS side from the PC window. AREAD is
a MS-DOS command and must be executed from the PC window. PCDisk MUST be
running on the Amiga side for the transfer to work.
|