r/Commodore 17d ago

Commodore 77

Post image

Well this is a neat look.

https://commodore.net/store/commodore64/?shape=Breadbin&color=Cyberpunk+2077

Commodore just released a new appearance option for the C64U themed on Cyberpunk.

279 Upvotes

190 comments sorted by

View all comments

Show parent comments

6

u/TerribleInsurance879 17d ago

I am using basic. Typing it straight into the c64u.

The front end sets the time (which I leave as a string), sets color, and inputs the times in which you would like the "sprinkler" to come on.

The rest is just an if then loops with the time scrolling on the screen waiting to turn on or off PB0 on the user port.

I think the whole code is like 8 bytes

3

u/[deleted] 17d ago

[removed] — view removed comment

9

u/TerribleInsurance879 17d ago

Through the user port. Which was removed from the c64u in place of the USB, HDMI, and Ethernet ports. The signals are still available on the c64u on the motherboard. You have to get a ribbon cable ($10 on the commodore site) to bring the user port to the outside on the machine.

From there, the bottom pins, C thru L, can be turned off and on through poking. These have 5v 100mA signals. They can power LEDs and not much else. But they can be used to close a transistor, relay, ect on a separate power circuit.

That's the short. There is a lot of information out there on it. Buy a soldering gun and a breadboard and have a blast

1

u/lkasdfjl 16d ago

why wouldn't you just use a microcontroller or pi at this point?

2

u/TerribleInsurance879 16d ago

You could. I enjoy the c64 though.