[Coco] Follow-up on swread

Robert Gault robert.gault at att.net
Fri May 30 21:23:43 EDT 2014


Ed Orbea wrote:
> I followed the steps Robert provided in his email and something is still wrong.
> When I run the I run the date -t command, the date  and time are set to 0 so the
> output is ???, 00 1900 00:00:00
> WHen I wait and the re-execute the command, the time has increased by the amount
> of time I waited
> For example: ???, 00 1900 00:00:00 wait 20 minutes and ???, 00 1900 00:09:55
>
> I am running VCC 1.43beta (6809 processor with 512k) under WIndows XP (XP SPK3)
> of a Compaq laptop.
> My windows time service is automatically updated from time.microsoft.com and
> stays current & accurate
> Switching time servers has no impact
>
> VCC is configured for a clock at 0XFF50-51, with RGB Dos is selected
>
> VCC slot #1 is empty, slot #2 is Orchestra 90, Slot #3 is HardDrive + Cloud9
> RTC, Slot #4 is FD502
> T
> he boot file I created and then linked to drive 254 contains these clock modules:
>      MODULES/CLOCK/clock_69hz
>      MODULES/CLOCK/clock2_soft
>
> My startup file on /dd contains the command swread 5 <>>>>/2&
>
> The ident of swread shows:
> size: $00BB  #187
> crc: $F7995D  (Good)
> parity: $93
> exec off: $0013  #19
> size: $00CD  #205
> edition: $0F
> Ty/La At/Rv: $11  $81
> Prog mod, 6809 obj, re-en, R/O
>
> Any recommendations/suggestions?
>
> Ed
>

Unless that was a typo above, the redirection should be <>>>/2&. You have an 
extra > . Also your size and crc does not match what I'm currently using which 
might mean you have the wrong version of swread. The version in 
NitrOS-9/3rdparty/utils/smartwatch is for an actual smartwatch not for emulators.

Check your startup file and also try just entering
swread
and see if the date-t changes. If neither works, I'll send you a .dsk image with 
a new swread for VCC.

Robert



More information about the Coco mailing list