Jump to content
IGNORED

Installing cc65 on a raspberry pi?


Recommended Posts

I wonder if it would be easy (or at least easier than on windows) to set up a lynx dev environment on a raspberry pi since cc65 is linux native? Maybe someone already tried? It would be pretty cool to compile your Lynx games from where ever you are. I'm still a total Linux noob but I received two pi's last week and I'm really excited about them so far. The Pi (as the Lynx) somehow awakens the childish enthusiasm you got from computers as a kid.

Link to comment
Share on other sites

Yeah that sounds beyond cool obviously! ^^

 

I've been looking at the cart burner thread a few times already wanting to join in, but there's so much technical electronics stuff involved that it made me a bit unsure if I even would be able to use it, and I don't know how to solder either. Anyway if there's going to be some instructions on how to use it I would totally be in :P (if it's not too late by now). I just don't want to end up holding you guys back somehow.

Link to comment
Share on other sites

It is not too late. We are four at the moment and I ordered 10 programmer boards. There is not much soldering to do. I can take care of it for the programmer board.

 

Later when we get carts manufactured they will come soldered. The only thing to do is to create a 3D print of the cover and glue it to the cart.

 

As far as the cc65 code goes I believe that it builds out of the box. The version at bitbucket owned by atarilynx creates installable deb packets. The best thing would be to go with Wheezy as it runs on both Raspberry Pi and Raspberry Pi 2. The programmer is designed for Raspberry Pi 2 but it runs in the normal Pi also.

 

I just got email that the programmer boards are in Finland. Hopefully the post brings them to me early next week.

Link to comment
Share on other sites

I managed to install all the stuff from the atarilynx bitbucket tonight on my pi2, so I'm pretty happy about that. I just followed the instructions. It was much easier than on windows. Also compiling pong with segments and shaken worked like a charm. The only two problems I ran into was that sp65 was missing, (It wouldn't compile after a make clean 'cause it wasn't able to handle the pcx files), and the other problem was that mednafen is laggy. I tried to tweak the cfg file and it lagged a bit less when changing the lynx scalings to 2. Any help on how to get sp65 working would be appreciated :>

Link to comment
Share on other sites

Everything needed for pcx is in the sp65. The binary sp65 should have compiled and be in cc65/src/sp65. Perhaps it is not included in the install. I have to check this.

 

You could run the build at the top level again and check if the sp65 binary materializes in the tree. Then you can copy it manually to /usr/local/bin.

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

Hi, I tried to compile pong and the newest version of shaken on the new cardburner raspberry pi install. I managed to copy the sp65 binary to /usr/local/bin so now it can convert the graphics to .o files, and pong was compiling nicely, but on shaken it complains about an arial file. Is there just som graphic file missing or am I doing something wrong?

 

make[1]: Entering directory '/home/pi/Lynx/Projects/karri-shaken-7d5f3ec8a9f6/intro'
make[1]: *** No rule to make target 'arial.o', needed by 'all'. Stop.
make[1]: Leaving directory '/home/pi/Lynx/Projects/karri-shaken-7d5f3ec8a9f6/intro'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

Edited by Turbo Laser Lynx
Link to comment
Share on other sites

Obviously I forgot to add the file arial to bitbucket. Arial is a new font used in Shaken. Thanks for spotting this.

 

If you give the command

 

git pull

 

you should get arial.s. The game is right now in a transition. I have many new things that have not been checked in or properly coded.

 

Besides, I am out at sea again. Lynx things will be a bit delayed.

Link to comment
Share on other sites

Thanks for the reply! I'll try this tonight. Btw my plan was to remove most stuff from shaken so I would have some sort of "noob-cart-template" left for me to try and build some game or demo on. Do you think there would be some older version of shaken that would fit better for this purpose or would it be smartest for me to just use this newest version (or pong)? I wish you merry adventours at sea! ^^

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...