Turbo Laser Lynx Posted April 17, 2015 Share Posted April 17, 2015 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. Quote Link to comment Share on other sites More sharing options...
+karri Posted April 17, 2015 Share Posted April 17, 2015 The best approach would be to set up an raspberry image with a native build environment, cc65, mednafen and the 10€ cart burner that is mentioned in another thread. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted April 17, 2015 Author Share Posted April 17, 2015 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 (if it's not too late by now). I just don't want to end up holding you guys back somehow. Quote Link to comment Share on other sites More sharing options...
+karri Posted April 17, 2015 Share Posted April 17, 2015 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. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted April 17, 2015 Author Share Posted April 17, 2015 (edited) Ok cool, I'm in then too, and as usual, big thanks! It sounds really exciting! I have a B+ Pi and a Pi2. Edited April 17, 2015 by Turbo Laser Lynx Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted April 17, 2015 Author Share Posted April 17, 2015 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 :> Quote Link to comment Share on other sites More sharing options...
+karri Posted April 18, 2015 Share Posted April 18, 2015 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. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted April 18, 2015 Author Share Posted April 18, 2015 Thanks man, I'll check if I can make it work. Also I noticed there was some problem with sprpck when trying to compile an older project. But I'll have to look into it more tomorrow. Quote Link to comment Share on other sites More sharing options...
+karri Posted May 11, 2015 Share Posted May 11, 2015 The install script on Raspberry Pi compiles sp65 but it does not copy the binary to the right location /usb/local/bin. - Karri Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted May 12, 2015 Author Share Posted May 12, 2015 Thanks Karri! Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted September 9, 2015 Author Share Posted September 9, 2015 (edited) 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' failedmake: *** [all] Error 2 Edited September 9, 2015 by Turbo Laser Lynx Quote Link to comment Share on other sites More sharing options...
+karri Posted September 10, 2015 Share Posted September 10, 2015 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. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted September 10, 2015 Author Share Posted September 10, 2015 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! ^^ Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted September 12, 2015 Author Share Posted September 12, 2015 Finally got that git pull working after fiddling around with my RPi all day. I was stuck behind my router and messed up my internet settings etc. Nice new intro in shaken btw! Quote Link to comment Share on other sites More sharing options...
+karri Posted September 13, 2015 Share Posted September 13, 2015 Thanks. The music is synced to the girl only on a real Lynx. Works correctly on both Lynx I and II. On Mednafen and Handy the movement is out of rhythm. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted September 14, 2015 Author Share Posted September 14, 2015 Oh cool, I got to test that out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.