6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 12:46 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Jul 22, 2022 7:44 pm 
Offline

Joined: Tue Feb 21, 2017 8:32 pm
Posts: 38
Now that I have my cc65 fork really fleshed out, I had whip up a version of snakes for it!

https://www.youtube.com/watch?v=mg-rPlhPPvs

https://github.com/ChaseHQ/DANI-I-Snakes


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 22, 2022 8:07 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 8:52 am
Posts: 746
Location: Germany
i would still very much recommend putting everything related to a project in a single repository, for the same reasons as mentioned before.

but besdies that, that's a pretty neat looking clone. as an extra challenge, try to have the body of the snake smaller than 1 whole tile. so that when the snake is next to itself the body parts don't blend together.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 22, 2022 8:13 pm 
Offline

Joined: Tue Feb 21, 2017 8:32 pm
Posts: 38
Proxy wrote:
i would still heavily recommend putting everything related to that project in a single repository, for the same reasons mentioned before.

I get what you're saying but they truly are separate projects. CC65 is a fork so it has to stand on it's own so I can pull off the main for updates. As for the rest I personally just prefer (especially when im at work) pulling one project, working on it and pushing and not taking the entire tree with me. I understand your position but I think for my workstyle keeping it separate helps me organize as well as be productive.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 22, 2022 8:34 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 8:52 am
Posts: 746
Location: Germany
hmm, that is honestly the first time i've heard of a worksytle like that. especially with github which is designed to allow for incremental updates to repos. oh well whatever works i guess.
just note that it will likely only be convenient to you and not to others who might want to follow the project.

also, sorry but i'm still a bit confused, what exactly do you need a fork of cc65 for? AFAIK you usually fork projects to modify their source code, but in this case you just want a custom target for it. so why not just download the pre-compiled binaries and follow their official tutorial? https://cc65.github.io/doc/customizing.html
i did the same with my own 65c02 SBC, i got a folder for cc65 programs that also contains a config folder with the crt0.s file, C standard library, and the .cfg file for my hardware. all according to that page.


Last edited by Proxy on Fri Jul 22, 2022 8:43 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 22, 2022 8:42 pm 
Offline

Joined: Tue Feb 21, 2017 8:32 pm
Posts: 38
With a fork and their already built Makefiles its incredibly easy to add your own target. Dave Plummer did something similar with his KIM-I. Having all the source at hand in say VSCode gives you a very nice environment for working off already working source as well.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 22, 2022 8:45 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 8:52 am
Posts: 746
Location: Germany
oh i see.
Make is a pain to get working on Windows, so using the pre-compiled binaries was more convenient for me.

anyways my little extra challange for your snake program still stands if you want to try it.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 22, 2022 9:31 pm 
Offline

Joined: Sat Feb 19, 2022 10:14 pm
Posts: 147
Proxy wrote:
Make is a pain to get working on Windows, so using the pre-compiled binaries was more convenient for me.
Microsoft's NMake is fairly easy to set up for Windows. It's not as powerful or versatile as Make, but it gets the job done for me.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 25, 2022 10:18 pm 
Offline

Joined: Tue Feb 21, 2017 8:32 pm
Posts: 38
tmr4 wrote:
Proxy wrote:
Make is a pain to get working on Windows, so using the pre-compiled binaries was more convenient for me.
Microsoft's NMake is fairly easy to set up for Windows. It's not as powerful or versatile as Make, but it gets the job done for me.


I've been running VSCode under WSL 2 - It uses Linux as the backend to compile the code, so Make is easily and readily available. - You could also just install Cygwin and it should work.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: