Just a basic CLOCK

Post Reply
User avatar
schristis
Posts: 72
Joined: Sat Apr 08, 2023 6:28 am

Just a basic CLOCK

Post by schristis »

It's just a clock you could use... written in basic
V1.0 I hope to make it into an alarm clock
and make it more custimizable
JUSTACLOCK.zip
(1.61 KiB) Downloaded 796 times
let me know what you think ?
justaclock.JPG
justaclock.JPG (48.94 KiB) Viewed 8258 times
kelli217
Posts: 541
Joined: Sun Jul 05, 2020 11:27 pm

Re: Just a basic CLOCK

Post by kelli217 »

Looks good. Are you thinking of eventually putting dots around the circle to indicate hours and minutes?
User avatar
schristis
Posts: 72
Joined: Sat Apr 08, 2023 6:28 am

Re: Just a basic CLOCK

Post by schristis »

Yes, I was thinking about somthing like that... but I'm not in any grahics mode; and the circle is too rough....
ummm... for the time being I thought it looked OK for now...
kelli217
Posts: 541
Joined: Sun Jul 05, 2020 11:27 pm

Re: Just a basic CLOCK

Post by kelli217 »

Oh yes, like I said, it looks good. I was just wondering about the circle, is all.
mortarm
Posts: 319
Joined: Tue May 16, 2023 6:21 pm

Re: Just a basic CLOCK

Post by mortarm »

Since it's a digital clock, who needs hour markers.
User avatar
schristis
Posts: 72
Joined: Sat Apr 08, 2023 6:28 am

Re: Just a basic CLOCK

Post by schristis »

I have just recieved my X16 Today, I was surprised this little program made it on the SD card programs given with all the new computers.

If you have an X16....
you can find it on the "Launcher" of the SD card by
>Explore >Basic >Justaclock.prg

Now that I have my X16, Im going to have to make an alarm, timer and stopwatch to it.... as well as options to change the color scheme.
(when I have the time)

Best regards
Shaun
Xiphod
Posts: 568
Joined: Thu Apr 15, 2021 8:05 am

Re: Just a basic CLOCK

Post by Xiphod »

The only reason it ended up in \EXPLORE instead of \APPS is because it had some issue with output on a Composite CRT (but now I can't remember what the issue was -- maybe it forced back to VGA or crop some edges; which are all fixable issues, but we were out of time and had to press on with what we had available then).

Note somewhere in the BASIC samples (BASIC\TUTORIAL maybe) is my BIGFONT stuff, that might help generate some text-mode fonts to use in a clock.

I probably won't get time to add alarms into the alternative X16CLOCK. But adding ZSMKIT to that for custom background audio support would have been a nice extra touch.
User avatar
schristis
Posts: 72
Joined: Sat Apr 08, 2023 6:28 am

Re: Just a basic CLOCK

Post by schristis »

Thankyou Voidstar, I changed it to work on screen mode 8 which is "CRT safe"
I hope that fixes the problem... I'd still like to make it look a bit better lol...
got rid of the dialface and can now change color for a bit of variety....

Haven't yet put an alarm on it... but I will...

let me know what you think...

Best regards
Shaun...
User avatar
schristis
Posts: 72
Joined: Sat Apr 08, 2023 6:28 am

Re: Just a basic CLOCK

Post by schristis »

******CRT SAFE *****
Removed dialface
You can change the color
Attachments
JUSTACLOCKV2.zip
(1.71 KiB) Downloaded 336 times
Post Reply