shaoth Posted October 15 Share Posted October 15 You can find some examples here : Github for the graphs ressources I use 2 tools MultiPaint with MSX parameters MSX / Coleco Sprite & Tile Editor from @Tony Cruise 1 Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5549148 Share on other sites More sharing options...
parsec Posted October 15 Share Posted October 15 1 hour ago, shaoth said: You can find some examples here : Github for the graphs ressources I use 2 tools MultiPaint with MSX parameters MSX / Coleco Sprite & Tile Editor from @Tony Cruise Thanks, I have looked on Github already but couldn't find any of the examples in the book. Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5549189 Share on other sites More sharing options...
NIAD Posted October 15 Share Posted October 15 7 hours ago, parsec said: Where can I find the CVBasic source codes for the examples listed in the bok? I find it difficult to get a good overview by reading the listings in the book. Also, is there a recommended tool or editor for creating sprite (BITMAP) data, e.g. like the layered player sprite in Monkey Moon? I've done my best to archive everything that has been shared on The ADAM Archive as it makes it easier to find then numerous threads on websites. Here is the direct link to the folder on the Archive... (AdamArchive.Org) - The home for everything ADAM Check out Tony Cruise's Coleco/MSX Sprite & Tile Set Editor... Home (electricadventures.net) Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5549360 Share on other sites More sharing options...
+nanochess Posted October 15 Author Share Posted October 15 10 hours ago, parsec said: Question about the Programming Games for the Colecovision e-book that I purchased a few days ago: Where can I find the CVBasic source codes for the examples listed in the bok? I find it difficult to get a good overview by reading the listings in the book. Also, is there a recommended tool or editor for creating sprite (BITMAP) data, e.g. like the layered player sprite in Monkey Moon? You'll find the link in the page just before Acknowledgments, and I think it is clickable. Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5549475 Share on other sites More sharing options...
parsec Posted October 16 Share Posted October 16 @NIAD Great archive, I'll be sure to dive into that soon. I'm mostly working on Mac so Windows based editors, especially those built upon the .NET Framework, are a bit of a hassle. I'm using Libresprite -- a bit clunky but it works. My main problem was how to generate CVBasic BITMAP statements out of a .bmp but I got that sorted out now, see below. @nanochess There it was, thanks! Also figured out how to use tmscolor to generate CVBasic bitmap data from an image. If anyone else is wondering: tmscolor -b -sb image.bmp outfile.bas 1 Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5549787 Share on other sites More sharing options...
parsec Posted October 18 Share Posted October 18 (edited) I threw together a VS Code syntax highlighting extension for CVBasic. If anyone uses VSCode + CVBasic and want to give it a spin the attached a ZIP file contains the VSIX extension installer. EDIT >>> To avoid hijacking and polluting this thread, current and future releases of this VSCode extension will be available on https://github.com/scomx/cvbasic-vscode-ext/releases (How to install VSIX instructions) Disclaimer: This is my first attempt at making a VS Code extension so provided as is. Also, I might have missed some CVBasic keywords/functions etc. Let me know if anything is out of place. Source code is available on GitHub: https://github.com/scomx/cvbasic-vscode-ext/tree/main/cvbasic-lang cvbasic-lang-0.0.2.vsix.zip Edited October 19 by parsec Added link to downloads 2 Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5551018 Share on other sites More sharing options...
+evg2000 Posted October 18 Share Posted October 18 @parsec thanks for creating this, unfortunately it doesn't seem to work for my version of VSC Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5551156 Share on other sites More sharing options...
parsec Posted October 18 Share Posted October 18 24 minutes ago, evg2000 said: @parsec thanks for creating this, unfortunately it doesn't seem to work for my version of VSC Hi, it requires VSC 1.94.0. If you update it should be okay. Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5551171 Share on other sites More sharing options...
+evg2000 Posted October 18 Share Posted October 18 11 minutes ago, parsec said: Hi, it requires VSC 1.94.0. If you update it should be okay. that fixed it thanks! 1 Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5551182 Share on other sites More sharing options...
shaoth Posted October 19 Share Posted October 19 On 10/18/2024 at 1:55 PM, parsec said: I threw together a VS Code syntax highlighting extension for CVBasic. If anyone uses VSCode + CVBasic and want to give it a spin the attached a ZIP file contains the VSIX extension installer. EDIT >>> To avoid hijacking and polluting this thread, current and future releases of this VSCode extension will be available on https://github.com/scomx/cvbasic-vscode-ext/releases (How to install VSIX instructions) Disclaimer: This is my first attempt at making a VS Code extension so provided as is. Also, I might have missed some CVBasic keywords/functions etc. Let me know if anything is out of place. Source code is available on GitHub: https://github.com/scomx/cvbasic-vscode-ext/tree/main/cvbasic-lang cvbasic-lang-0.0.2.vsix.zip 4.32 kB · 2 downloads Thanks for the VSCode extension. Can I compile and launch the rom from VSCode? A quick tutorial would be great 😁 Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5551638 Share on other sites More sharing options...
parsec Posted October 20 Share Posted October 20 14 hours ago, shaoth said: Thanks for the VSCode extension. Can I compile and launch the rom from VSCode? A quick tutorial would be great 😁 Sure, first you need to add a tasks.json file in your project folder, /.vscode subfolder. There are different methods to do this but manually adding this special folder and a tasks.json file is probably the easiest option. Your project should end up looking like this: Next you have to edit tasks.json and add the different build+run tasks. I've attached my own tasks.json file that you can use as template. Change the build and assemble paths to point to your cvbasic and gasm80 executables. Note in the build task you also must provide the path to the cvbasic folder as a third argument, otherwise you'll get an error Unable to open 'cvbasic_prologue.asm'. Also note that on Windows you may want to use the proper path separator '\' instead of the Unix '/' that is used on Mac/Linux. (VS Code may be able to handle cross-platform path separators intelligently though, I haven't tested). Lastly set the path in task runemu to point to your emulator executable. I'm using CoolCV here but any emulator that can be started with a .rom file name as command line argument will work. You'll have to add command line switches specific to your emulator here, if necessary. To build and run press CMD (CTRL on Windows) + Shift + B. If the compilation or assembly fails the subsequent tasks will not be executed. If a .rom file is built successfully the emulator should start up with your game loaded. I've only tested this setup on Mac but VSCode should work identically under Windows. tasks.json Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5551937 Share on other sites More sharing options...
shaoth Posted October 20 Share Posted October 20 2 hours ago, parsec said: Sure, first you need to add a tasks.json file in your project folder, /.vscode subfolder. There are different methods to do this but manually adding this special folder and a tasks.json file is probably the easiest option. Your project should end up looking like this: Next you have to edit tasks.json and add the different build+run tasks. I've attached my own tasks.json file that you can use as template. Change the build and assemble paths to point to your cvbasic and gasm80 executables. Note in the build task you also must provide the path to the cvbasic folder as a third argument, otherwise you'll get an error Unable to open 'cvbasic_prologue.asm'. Also note that on Windows you may want to use the proper path separator '\' instead of the Unix '/' that is used on Mac/Linux. (VS Code may be able to handle cross-platform path separators intelligently though, I haven't tested). Lastly set the path in task runemu to point to your emulator executable. I'm using CoolCV here but any emulator that can be started with a .rom file name as command line argument will work. You'll have to add command line switches specific to your emulator here, if necessary. To build and run press CMD (CTRL on Windows) + Shift + B. If the compilation or assembly fails the subsequent tasks will not be executed. If a .rom file is built successfully the emulator should start up with your game loaded. I've only tested this setup on Mac but VSCode should work identically under Windows. tasks.json 1.07 kB · 1 download Thx, I will check this Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5551963 Share on other sites More sharing options...
shaoth Posted October 20 Share Posted October 20 It works after setting my paths. Thanks a lot @parsec. I also cleaned up the cvbasic folder by creating a folder for each project. The compilation didn't work because I hadn't understood that I needed the prologue and epilogue files. 😅 By the way, what is the JUNGLE project? 😇 Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5552056 Share on other sites More sharing options...
parsec Posted October 21 Share Posted October 21 15 hours ago, shaoth said: It works after setting my paths. Thanks a lot @parsec. I also cleaned up the cvbasic folder by creating a folder for each project. The compilation didn't work because I hadn't understood that I needed the prologue and epilogue files. 😅 By the way, what is the JUNGLE project? 😇 Glad to hear it worked, happy coding! "Jungle Rajdeep" is going to be a port of a game I originally made for TI-99/4a a decade ago 1 Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5552500 Share on other sites More sharing options...
ZippyOasys Posted October 24 Share Posted October 24 On 10/18/2024 at 7:55 AM, parsec said: I threw together a VS Code syntax highlighting extension for CVBasic. If anyone uses VSCode + CVBasic and want to give it a spin the attached a ZIP file contains the VSIX extension installer. EDIT >>> To avoid hijacking and polluting this thread, current and future releases of this VSCode extension will be available on https://github.com/scomx/cvbasic-vscode-ext/releases (How to install VSIX instructions) Disclaimer: This is my first attempt at making a VS Code extension so provided as is. Also, I might have missed some CVBasic keywords/functions etc. Let me know if anything is out of place. Source code is available on GitHub: https://github.com/scomx/cvbasic-vscode-ext/tree/main/cvbasic-lang cvbasic-lang-0.0.2.vsix.zip 4.32 kB · 3 downloads Would this work with the current version CVBasic? Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5554171 Share on other sites More sharing options...
parsec Posted October 25 Share Posted October 25 15 hours ago, ZippyOasys said: Would this work with the current version CVBasic? Yes, it will work with any version. I built the extension around CVBasic 0.7.0. Don't ask me why I didn't post this in the 0.7.0 release thread instead of here. If new statements are added to the language in the future then those will not be syntax highlighted until the extension is updated, that's all. Quote Link to comment https://forums.atariage.com/topic/370611-colecovision-turbopowered-basic-compiler-cvbasic-v060-now-with-6502-support/page/4/#findComment-5554563 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.