home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
emulate
/
brdgeclk.lha
/
ReadMe.DOC
< prev
next >
Wrap
Text File
|
1988-05-07
|
3KB
|
71 lines
BRIDGEBOARD CLOCK
COPYRIGHT: John Breen
Breen & Associates (April 1988)
FREEWARE: You may freely distribute this info and the attached
basic program. You must include this document in
any distribution.
PURPOSE: Automaticly set the date and time on the IBM side
of the A2000.
CONTENTS: 1 - This note and setup instructions.
2 - GWBASIC source code
3 - An example IBM AUTOEXEC.BAT file.
OVERVIEW: To understand these instructions I want to give a
brief discription of how I solved the problem of
responding to MS-DOS date and time prompts on a
system startup. I redirected the output of the AMIGA
date command to a RAM: file then in the IBM autoexec
file I did an AREAD to get the file on the IBM side.
The next step was to parse, convert, and set the
date and time on the IBM side this is done in my basic
program STARTUP.BAS.
DETAIL: First, as soon as possible in the AMIGA startup-sequence
(after BINDDRIVERS) enter the following:
Run PC/PCdisk (needed by AREAD)
SetClock >ram:now opt load (sets the time in
an AMIGA ram file)
That should be all that is needed on the AMIGA side.
On the IBM side add to your AUTOEXEC.BAT file in
an appropriate place the following:
AREAD RAM:NOW A:NOW (gets the date and
time info into the
IBM side)
GWBASIC STARTUP (basic program to
set and convert the
date and time)
Adding these steps and placing the AREAD, GWBASIC, and
the STARTUP.BAS files on the IBM boot drive will work.
However, many combination are possible I have the aboved
mentioned files on a virtual IBM disk and JLINK it
before I proceed with the rest of my AUTOEXEC.BAT
just watch closly and be careful of the file placements.
By the way, if your booting the IBM side of the machine
and not bringing down the AMIGA side do the following
on the AMIGA side as the last thing before the old
CNTL-> ALT -> DEL to re-boot:
DATE >ram:now
One IMPORTANT note, check the file name on the open
statement in the basic program, you most likely need
to change the IBM drive (f:) to (a:) or whatever.