News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_d_kef

HDCPM - boot and run CP/M plus from hard disk

Started by d_kef, 16:48, 30 December 21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

d_kef

Quote from: GUNHED on 12:11, 09 April 25
Quote from: d_kef on 10:27, 04 April 25After getting involved in the discussion about RTCs I realized that it was quite easy to integrate TFMs code in the RTC.COM utility for CP/M Plus.
So here is a new version of RTC.COM that supports also the Dobbertin Smart Watch.

I've only tested it with WinAPE so I call for any Dobbertin Smart Watch owner for their confirmation that it works as it should.
Although RTC.COM is part of the HDCPM project it is completely independent of it.
RTC.COM works even with the normal CP/M Plus you boot from floppy.

What to test:
  • Boot CP/M plus.
  • Run RTC -I. The Dobbertin Smart Watch should be recognized.
  • Run RTC -G. The date and time should be updated from the RTC - confirm by running DATE.
  • Run DATE SET. Set the date and time manualy (to a different value).
  • Run RTC -S. This should set the RTCs date and time.
  • Reboot the CPC and see if the TIMEROM+ ROM reports the newly updated date and time.

Thanks in advance and thanks @GUNHED for the RTC routines.

d_kef


Hi there :-)

Well, I had a test of the functionality.

-I does find the TIMEROM, but it does not find the RTC if the TIMEROM is off or not present. You should check for the RTC itself, this can be done by simply reading data from it.

-G does not work, because DATE shows the wrong numbers. This is probably due to the fact that I have my Dobbertin RTC and the TIMEROM at different positions.

Solution: Check my code for the LS-RTC.COM program (somewhere in this forum or on the LS software DSK on my homepage). Also you can check out the source of my TIMEROM#.COM. This source code should help you and in addition you can read RTC data form the LambdaSpeak RTC too.  :)
Can you try this one please? You cannot view this attachment.
This one doesn't care about the TIMEROM+ ROM.

d_kef

GUNHED

Yes, I will do in the coming days. Having it on DSK would make things more easy btw.  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2024.10.27)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

GUNHED

It works. Well done! But take a look at the two different DATE.COM programs.

One is original

One is Y2K compilant  ;) :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2024.10.27)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

d_kef

Quote from: GUNHED on 15:33, 10 April 25It works. Well done! But take a look at the two different DATE.COM programs.

One is original

One is Y2K compilant  ;) :)
Thank you for confirming!!!

The disk images at the HDCPM wiki page already cantain Y2K compatible DATE.COM, SHOW.COM, DIR.COM and SETDEF.COM.
Especially SETDEF can also set the date format to UK (DD/MM/YYYY) which is more common in Europe than the default US (MM/DD/YYYY)

d_kef

GUNHED

#279
Quote from: d_kef on 21:38, 10 April 25
Quote from: GUNHED on 15:33, 10 April 25It works. Well done! But take a look at the two different DATE.COM programs.

One is original

One is Y2K compilant  ;) :)
Thank you for confirming!!!

The disk images at the HDCPM wiki page already cantain Y2K compatible DATE.COM, SHOW.COM, DIR.COM and SETDEF.COM.
Especially SETDEF can also set the date format to UK (DD/MM/YYYY) which is more common in Europe than the default US (MM/DD/YYYY)

d_kef
Yes, of course, and the years I lived in USA I used it more often  ;) :)

BTW: I wouldn't wonder if that versions of the COM file you mentioned are the ones I got from Helmut Jungkunz a quarter Centuty ago and put in the CPC world long ago. Time goes by so quick... even with a nice RTC.
http://futureos.de --> Get the revolutionary FutureOS (Update: 2024.10.27)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Powered by SMFPacks Menu Editor Mod