rmzalbar Posted March 28, 2018 Share Posted March 28, 2018 If that would happen to be the issue, some programs that are good for creating pixel art with indexed colours are for example gimp, aseprite or you could try this: http://atariage.com/forums/topic/273118-tiny-sprite-editor-for-lynx/ This is quite cool. Thank you! Quote Link to comment Share on other sites More sharing options...
LordKraken Posted March 28, 2018 Share Posted March 28, 2018 I've been using sprpck 1.98, and that worked well enough with BMP files. I just wanted to try making transparent (shaped) sprites, a feature of sp65. I'm still looking for a way to export a PCX with a 4-bit index before that can happen. You can do transparent sprite using sprpck, but perhaps I misunderstand something here... Quote Link to comment Share on other sites More sharing options...
rmzalbar Posted March 28, 2018 Share Posted March 28, 2018 (edited) Got it working with 8-bpp PCX (4-bpp didn't work) by following the syntax in Karri's post. The cc65 documentation and -h text didn't provide a clear syntax. Thank you, Edit: not really working with 8-bpp images, they still need to be 4-bpp. See following post for the real solution. Edited April 2, 2018 by rmzalbar Quote Link to comment Share on other sites More sharing options...
rmzalbar Posted March 29, 2018 Share Posted March 29, 2018 (edited) Well. I had many issues with corrupt sprites or failed conversion for both .PCX and .BMP with all utilities. The issue, in case anyone else follows me, turned out to be the "Remove unused colors from colormap" option in GIMP2 when changing image->mode to indexed. By default it was checked. UNCHECK IT. Now, no further problems with any sprite conversion tools either .pcx or .bmp, and they save as 4-bpp instead of 8 when exported. Edited March 29, 2018 by rmzalbar Quote Link to comment Share on other sites More sharing options...
+karri Posted March 29, 2018 Share Posted March 29, 2018 Gimp: Image->Indexed Choose number of colours 16 Export as pcx Quote Link to comment Share on other sites More sharing options...
sage Posted March 29, 2018 Share Posted March 29, 2018 I must, say, I never have any problem with exported bmps from gimp. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted March 29, 2018 Share Posted March 29, 2018 I experienced this stuff as well, I had written down some notes to remember the next time I would need it: Sprites with for example two colours caused problems when remove. Sprites with many colors caused problems when not remove xP Not remove seemed to usually work better Aseprite is so much easier to use if you're more of an 'artist-type', but you have to pay for that. Gimp is awesome since it's got all the tools you could imagine, but it's less intuitive to use. Quote Link to comment Share on other sites More sharing options...
LX.NET Posted February 4, 2021 Author Share Posted February 4, 2021 (edited) A week ago I updated the setup of a Windows-based device to use Visual Studio 2019, with new instructions to get it to work, new screenshots and a new HelloWorld version that is compatible with the latest CC65 version. Hope you like it. https://atarilynxdeveloper.wordpress.com/2012/04/07/programming-tutorial-part-2development-environment/ Edited February 4, 2021 by LX.NET 3 1 Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted August 26, 2022 Share Posted August 26, 2022 On 12/13/2012 at 4:28 PM, LX.NET said: Hello Everyone, I took the liberty of opening a new topic on the tutorial series. The main reason (besides my big ego) is that the notifications on new parts and potential discussion is now scattered throughout the Atari Lynx and Programming forum and multiple topics. Also, it gives a single, easy to find location for the source code that goes with the tutorials. So, for your convenience, here is the list of tutorial parts: Part 1: Getting started Part 2: Development environment for Windows Part 3: Analyzing Hello World Part 4: Creating a project Part 5: Exploring TGI Part 6: Colors Part 7: Basics of sprites Part 8: Changing appearances Part 9: Advanced sprites Part 10: Collisions Part 11: Pens and more collisions Part 12: Memory mapping Part 13: UART Part 14: Timers Part 15: Memory and segments Part 16: Cartridges Part 17: Interrupts Part 18: Files Let me know if you find things unclear, wrong, have suggestions for topics, see room for improvement or anything else. I hope you will find it useful and take up the programming challenge. You can take my word for it, or that of Karri, ninjabba, Matashen, sage, GadgetUK, vince, obschan, TailChao, Sebastian, Wookie, Shawn Jefferson, toyamigo, or any of the other developers: it is a lot of fun. I've added the sources, tools and documentation for the CC65 2.13.9 SVN 5944 which is a known stable build. Remove the .txt extension for the sources archive. cc65-snapshot-win32-2.13.9.20121203-1.zip 792.62 kB · 872 downloads cc65-snapshot-doc-2.13.9.20121203-1.zip 729.52 kB · 997 downloads cc65-snapshot-lynx-2.13.9.20121203-1.zip 358.39 kB · 539 downloads cc65-snapshot-sources-2.13.9.20121203.tar.bz2.txt 1.24 MB · 584 downloads Tutorials26082016.zip 148.53 kB · 578 downloads It’s amazing! But what if you code in asm only? 1 Quote Link to comment Share on other sites More sharing options...
miker Posted August 26, 2022 Share Posted August 26, 2022 1 Quote Link to comment Share on other sites More sharing options...
SlidellMan Posted August 27, 2022 Share Posted August 27, 2022 @LX.NET Would your Visual Studio 2019 setup work with Visual Studio Code? Quote Link to comment Share on other sites More sharing options...
LX.NET Posted August 27, 2022 Author Share Posted August 27, 2022 5 hours ago, SlidellMan said: @LX.NET Would your Visual Studio 2019 setup work with Visual Studio Code? To some extent. I would recommend using DevContainers with VSCode. I will put up my current setup for coding with it and to me it is much better than VS. Only thing that VS can do better is provide IntelliSense for your C code but I find that to be less important. 1 Quote Link to comment Share on other sites More sharing options...
Songbird Posted October 4, 2022 Share Posted October 4, 2022 On 8/26/2022 at 3:38 PM, Ecernosoft said: It’s amazing! But what if you code in asm only? Well, that's what I usually do for the Lynx. Downside is it's all raw assembly, with very few "standard" libraries. I use one source lib for reading/writing EEPROM saved game data, but otherwise it's all roll-your-own. Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted October 4, 2022 Share Posted October 4, 2022 28 minutes ago, Songbird said: Well, that's what I usually do for the Lynx. Downside is it's all raw assembly, with very few "standard" libraries. I use one source lib for reading/writing EEPROM saved game data, but otherwise it's all roll-your-own. Yep! I've decided to do more 7800 stuff as I think it has some more potential but the lynx won't be forgotten. I don't think I'll be getting a lynx this christmas though... =/ Quote Link to comment Share on other sites More sharing options...
EmOneGarand Posted October 23, 2022 Share Posted October 23, 2022 (edited) Nevermind, I found a solution. On 2/4/2021 at 3:13 AM, LX.NET said: A week ago I updated the setup of a Windows-based device to use Visual Studio 2019, with new instructions to get it to work, new screenshots and a new HelloWorld version that is compatible with the latest CC65 version. Hope you like it. https://atarilynxdeveloper.wordpress.com/2012/04/07/programming-tutorial-part-2development-environment/ I've been following your tutorial for setting up VS 2019 but I can't compile anything, it spits out a 58 count list of errors all in the CC65 header files which are untouched. Kind of confused, I had cloned your Hello World example project from Github and that compiled fine but creating a new project following the tutorial does not. Edited October 25, 2022 by EmOneGarand Fixed my problem mentioned in this post 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.