C64: ChiCLI (command line interface terminal)

User avatar
NML32
Posts: 298
Joined: Sun May 24, 2020 6:57 pm
Has thanked: 301 times
Been thanked: 51 times

C64: ChiCLI (command line interface terminal)

Unread post 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 6903 times
Flandango
Core Developer
Posts: 459
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 59 times
Been thanked: 383 times

Re: C64: ChiCLI (command line interface terminal)

Unread post 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.
Liquid_Magic
Posts: 1
Joined: Sat Jan 08, 2022 5:27 am
Been thanked: 4 times

Re: C64: ChiCLI (command line interface terminal)

Unread post 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!
User avatar
Reed_Solomon
Posts: 65
Joined: Sun May 24, 2020 7:37 pm
Has thanked: 40 times
Been thanked: 8 times

Re: C64: ChiCLI (command line interface terminal)

Unread post 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.
User avatar
NML32
Posts: 298
Joined: Sun May 24, 2020 6:57 pm
Has thanked: 301 times
Been thanked: 51 times

Re: C64: ChiCLI (command line interface terminal)

Unread post 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 6234 times

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

Thank you for the updates. :)
Post Reply