Page 1 of 1

C64: ChiCLI (command line interface terminal)

Posted: Sat Jan 01, 2022 10:17 pm
by NML32
I just learned about this program from the C64 FB group. Neat little tool. I was wondering if there is a way to have the MiSTer C64 see the RTC outside of GEOS? If I run the date or time command I get a message no rtc found (makes sense).

CLI tool: https://github.com/chironb/ChiCLI
ChiCLI_v1_Screenshot.png
ChiCLI_v1_Screenshot.png (325.47 KiB) Viewed 6904 times

Re: C64: ChiCLI (command line interface terminal)

Posted: Sat Jan 01, 2022 10:47 pm
by Flandango
ChiCLI, as it's currently coded, will only get the time/date from the SD2IEC.
To use the RTC on mister outside of GEOS, a driver/program of some sort will have to be written that you can use straight from basic or modify ChiCLI to access it.

Re: C64: ChiCLI (command line interface terminal)

Posted: Sat Jan 08, 2022 5:30 am
by Liquid_Magic
Hi! I made ChiCLI. If someone points me to some docs or source code or something I'll look into supporting this. I don't have a Mister right now, but if it's re-creating a specific RTC that I can test in the VICE emulator then it's possible! Thanks!

Re: C64: ChiCLI (command line interface terminal)

Posted: Thu Jan 20, 2022 11:04 pm
by Reed_Solomon
Liquid_Magic wrote: Sat Jan 08, 2022 5:30 am Hi! I made ChiCLI. If someone points me to some docs or source code or something I'll look into supporting this. I don't have a Mister right now, but if it's re-creating a specific RTC that I can test in the VICE emulator then it's possible! Thanks!
From the c64 mister core github page (https://github.com/MiSTer-devel/C64_MiSTer):

RTC is PCF8583 connected to tape port. To get real time in GEOS, copy CP-CLOCK64-1.3 from supplied disk to GEOS system disk.

Re: C64: ChiCLI (command line interface terminal)

Posted: Fri Feb 04, 2022 9:35 pm
by NML32
Liquid_Magic wrote: Sat Jan 08, 2022 5:30 am Hi! I made ChiCLI.
Any idea why ChiCli is detecting the MiSTer C64 Model as: "TheC64 C64" when loading ChiCli from disk or prg? It's weird, if I load ChiCli from an Eash-Flash crt the Model is detected as: "Commodore 64"
.
20220204_162410-chicli v1.04.png
20220204_162410-chicli v1.04.png (42.57 KiB) Viewed 6235 times

I recorded loading ChiCli from D64, prg, and crt.
https://youtu.be/wt69GRAlEtk

Thank you for the updates. :)