BadPricey Posted November 28, 2015 Share Posted November 28, 2015 You just hit my lazyness. The readcart just reads the cart into cart.lnx in the current directory. You may want to give it a parameter in some cases. Like readcart 1024 reads 1024 bytes/block stuff Usually it finds out automatically the size of the carts. The software will hopefully improve (a lot) in the days to come. Just now I believe that programcart is better. Perhaps you need to have a look at the readcart.c and run make readcart ... Hi karri, I tried again but it still appears that nothing is happening with readcart. I tried sudo ./readcart 1024 and hit enter. What is it that should happen? Does it read the cart in much the same way it writes to the cart? Rgds Mark Quote Link to comment Share on other sites More sharing options...
+karri Posted November 28, 2015 Author Share Posted November 28, 2015 I have not updated these for a while. My versions prints the first 2048 bytes of the cart and then it tells you what size it believes the cart is. After that it reads the content into car.lnx. root@raspberry-pi:/opt/lynx/contrib/blankcart/programmer# ./readcartRead Lynx cart to cart.lnxfb c5 bf a3 9a f7 15 80 72 68 bd 31 b9 6e 20 04... 256k cart blocksize 1024 I attached my version. readcart.zip Quote Link to comment Share on other sites More sharing options...
BadPricey Posted November 28, 2015 Share Posted November 28, 2015 I have not updated these for a while. My versions prints the first 2048 bytes of the cart and then it tells you what size it believes the cart is. After that it reads the content into car.lnx. root@raspberry-pi:/opt/lynx/contrib/blankcart/programmer# ./readcart Read Lynx cart to cart.lnx fb c5 bf a3 9a f7 15 80 72 68 bd 31 b9 6e 20 04 ... 256k cart blocksize 1024 I attached my version. I copied the files into /opt/lynx/contrib/blankcart/programmer, renamed the old ones first just in case. It errors when I do sudo ./readcart I get command not found. I tried 'make readcart' and get lots of undefined references. Sorry I'm not being much help here. Quote Link to comment Share on other sites More sharing options...
jp48 Posted November 29, 2015 Share Posted November 29, 2015 I copied the files into /opt/lynx/contrib/blankcart/programmer, renamed the old ones first just in case. It errors when I do sudo ./readcart I get command not found. I tried 'make readcart' and get lots of undefined references. Sorry I'm not being much help here. You probably are logged in as root already (you should see prompt like "root@raspberry-pi:"). So, no 'sudo' is needed before readcart command. Just ./readcart should do. I don't have Karri's cart yet, just noticed the discussion Quote Link to comment Share on other sites More sharing options...
+karri Posted November 29, 2015 Author Share Posted November 29, 2015 (edited) The software is still just a feasibility study. I try to push my changes to bitbucket soon. You build the code by cd /opt/lynx/contrib/blankcart/programmer make readcart The command not found means that your readcart is not executable. Do chmod +x readcart Then it should work. I try to get the rest of the programmers done soon. Edited November 29, 2015 by karri Quote Link to comment Share on other sites More sharing options...
BadPricey Posted November 29, 2015 Share Posted November 29, 2015 The command not found means that your readcart is not executable. Do chmod +x readcart Then it should work. You sir are a legend. I managed to read the cart, Tournament Cyberball, and programmed it to the Lynx cart. This is so cool Thanks karri Quote Link to comment Share on other sites More sharing options...
+karri Posted December 3, 2015 Author Share Posted December 3, 2015 I just got the chips for the first large batch. The boards should arrive by DHL next week. Before setting up the items I plan to put one board together and test that everything still works. The 3D covers will change slightly. The previous stl model was too thick. The support pins were also too thick and in wrong places. But if you cannot find a cheap local 3D print you can also just glue a 1.5mm plastic sheet on the lower part of the cart and leave the chips visible. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted December 3, 2015 Share Posted December 3, 2015 Cool thanks for the update Karri! Yeah I noticed I had to do quite a lot of trimming with a nail-file to be able to make the plastic cover to fit when I tried to glue it (on my single cart) Quote Link to comment Share on other sites More sharing options...
+karri Posted December 6, 2015 Author Share Posted December 6, 2015 Here is the blank cover for the production carts. I have attached the stl file and the gcode file. This should be printed in this orientation with a brim, and 80% fill. The carts arrive on Tuesday. blankcartok.zip 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 9, 2015 Author Share Posted December 9, 2015 The Lynx carts should be here tomorrow. I also updated the prices on my shop page to real values. As soon as I have tested one cart I will send a message to this thread and then you can put in your orders. There is no hurry. I got 100 carts so they last for a while. Quote Link to comment Share on other sites More sharing options...
+karri Posted December 10, 2015 Author Share Posted December 10, 2015 (edited) I got all the parts now. Tested one cart and it appears to work just fine. So whenever you feel a need for blank carts go to http://discohat.com/shop/. Pick your options and place your order. Edit: the part 93C86 (2k) was not the same that was used in the old games like MegaPak I. Those games used 93C46 (128 bytes). Fortunately the footprint is the same so I will add the 93C46 as an option. I believe the cost is 25 cents. Edited December 10, 2015 by karri Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted December 11, 2015 Share Posted December 11, 2015 Cool, I will place my order asap (in a couple of days). Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted December 17, 2015 Share Posted December 17, 2015 (edited) Karri I was going to order right now but I realized I need to transfer money to my paypal-bank account, so a couple days more and I'll place my order. Edited December 17, 2015 by Turbo Laser Lynx Quote Link to comment Share on other sites More sharing options...
+karri Posted December 17, 2015 Author Share Posted December 17, 2015 Well, I will be in Lyon doing dance judging for the week-end anyway. You can also just email me what you want and we use a bank transfer later. Then I also know the exact shipping price. It is just that the free shop option only had PayPal. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted December 18, 2015 Share Posted December 18, 2015 No problem in using paypal, I just wanted you to know that my order would be delayed a couple of days. Quote Link to comment Share on other sites More sharing options...
+karri Posted December 18, 2015 Author Share Posted December 18, 2015 I also got smaller boxes that can be sent as letters. When I get back to Finland I may adjust the lot size to be 8 carts instead of 10. The shipping price is much lower plus the delivery is as ordinary letter. Quote Link to comment Share on other sites More sharing options...
LX.NET Posted February 1, 2016 Share Posted February 1, 2016 Finally, finally got around to setting this all up. Went pretty smoothly I must say. Nearly there. Long story short: Retropie is running now with the readcart.zip contents from Karri's improved version for readcart. I managed to read Batman Returns into cart.lnx and transfer it back to my PC. There is turns out that there is something weird. After the header it will read sequences of 12 bytes, as three groups of repeating bytes. It is more clearly shown in the screenshots from hexedit. I did a simple sudo ./readcart to read the ROM file. It took a couple of minutes. So, am I doing something wrong here? Next is the writing of a file to the cartridge. I am also hit by the error that appears to be in the earlier picture: Problem 0 Problem 0 Problem 0 Manufacturer fb chip c5 Cannot recognize the right type of chip for this programmer Just posting it here, as others may run into this as well. Quote Link to comment Share on other sites More sharing options...
+karri Posted February 2, 2016 Author Share Posted February 2, 2016 (edited) It appears that the address pin A2 is stuck to zero for some reason. The content wraps over every 4 bytes. I also wrote another simple program called testpins. It will set all the pins to zero and go through one pin at a time looking for shorts. As every pin can be set to either input or output I found this tool to be the fastest check to see if the connections are ok. I am a bit late in my developing of the utilities. The reason is that my Tiko 3D printer is late, so I cannot make large quantities of cart covers. If I could I would soon be publishing my updated "Shaken, not stirred" Edited February 2, 2016 by karri Quote Link to comment Share on other sites More sharing options...
LX.NET Posted February 7, 2016 Share Posted February 7, 2016 Thanks Karri for the feedback. I will check my soldering and see if I missed something. Would a bridge soldering that is not good be the reason for a stuck zero? I've soldered the place where you need to bridge to a lynx cartridge connector and soldered the connector there. Do you have the source and/or exe for testpins available? Alex Quote Link to comment Share on other sites More sharing options...
LX.NET Posted February 7, 2016 Share Posted February 7, 2016 Soldering checked to no avail. Still same symptoms. Testpins will help I think. Quote Link to comment Share on other sites More sharing options...
sage Posted February 9, 2016 Share Posted February 9, 2016 I got all the parts now. Tested one cart and it appears to work just fine. So whenever you feel a need for blank carts go to http://discohat.com/shop/. Pick your options and place your order. Edit: the part 93C86 (2k) was not the same that was used in the old games like MegaPak I. Those games used 93C46 (128 bytes). Fortunately the footprint is the same so I will add the 93C46 as an option. I believe the cost is 25 cents. Just a remark: I did (for Lynxmans Flash Cart) eeprom reading and writing code for 93c56,66,76,86 reading and writing code. Not sure if I released the code to public, but a read/write test can be found here http://bjoern.spruck.net/lynx/eestest.o(BLL style executeable) Quote Link to comment Share on other sites More sharing options...
+karri Posted February 10, 2016 Author Share Posted February 10, 2016 Just a remark: I did (for Lynxmans Flash Cart) eeprom reading and writing code for 93c56,66,76,86 reading and writing code. Not sure if I released the code to public, but a read/write test can be found here http://bjoern.spruck.net/lynx/eestest.o(BLL style executeable) The code you wrote for all these chips has been part of cc65 since you shared it. In lynx/tools/cc65/libsrc/lynx/ eeprom46.s eeprom66.s and eeprom86.s Thanks sage. Quote Link to comment Share on other sites More sharing options...
+karri Posted October 7, 2016 Author Share Posted October 7, 2016 I got my 3D printer 5 Quote Link to comment Share on other sites More sharing options...
LX.NET Posted October 7, 2016 Share Posted October 7, 2016 Cool Karri! Let the production begin Quote Link to comment Share on other sites More sharing options...
pixelperfect Posted October 8, 2016 Share Posted October 8, 2016 Nice, looks awesome! 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.