+nanochess Posted March 8 Share Posted March 8 Hi all.  I didn't want @carlsson predictions to fail, so I struggled to release today 😜  Changes in the version 0.3.0:  * Added SCREEN statement (to disable/enable the screen and to copy tilesets into the screen) * Added MODE statement (to reset modes and select one of three useful VDP modes) * Added BORDER statement (to change color of the screen border). * Added DEFINE VRAM statement (to copy data directly into VRAM). * Added ASM statement (for these things that cannot be coded currently). * Added demo.bas to show how to draw graphics imported by TMSColor on the screen. * Added oscar.bas to show how to display full-screen graphics. * Added TMSColor utility to import BMP images and convert these to the VDP data format. * More optimization of unnecessary 16-bit arithmetic to use only 8-bit. * Optimization of 8-bit comparisons. * Added a peephole optimizer to avoid variable reloading.  Also corrected a bug that froze CVBasic when your program reached a certain size.  All new statements are documented in the included manual.txt.  Enjoy it!   cvbasic_v0.3.0.zip cvbasic_pi_v0.3.0.zip 9 Quote Link to comment Share on other sites More sharing options...
timdu Posted March 9 Share Posted March 9 (edited) Oscar, just want to say I am amazed at your abilities. Not only are you a programmer of fantastic games various systems such as the ATARI 2600, MATTEL INTELLIVISION, COLECOVISION, and more... but you have also created the INTYBASIC Intellivision BASIC compiler a few years ago and now the CVBASIC Colecovision BASIC compiler. What fantastic gifts you have shared with us. You are creating tools so other fans of these retro gaming systems can program and create their own games. You are a genius, and I am happy to call you my friend. We have been corresponding for years. We have never met, but I hope to meet you in person someday!  God bless you,  Tim Edited March 9 by timdu typo 7 1 Quote Link to comment Share on other sites More sharing options...
+nanochess Posted March 9 Author Share Posted March 9 56 minutes ago, timdu said: Oscar, just want to say I am amazed at your abilities. Not only are you a programmer of fantastic games various systems such as the ATARI 2600, MATTEL INTELLIVISION, COLECOVISION, and more... but you have also created the INTYBASIC Intellivision BASIC compiler a few years ago and now the CVBASIC Colecovision BASIC compiler. What fantastic gifts you have shared with us. You are creating tools so other fans of these retro gaming systems can program and create their own games. You are a genius, and I am happy to call you my friend. We have been corresponding for years. We have never met, but I hope to meet you in person someday!  God bless you,  Tim I appreciate your words. I'm trying to make easier to create games.  I'm also glad of being your friend.  Thank you very much! Quote Link to comment Share on other sites More sharing options...
Révo Posted March 10 Share Posted March 10 Thank you so much! I've been here for 13 years, and your the one who make me post for the first time^^  I hope you'll add VGM conversion before March 27th (deadline for smspower compo). 1 Quote Link to comment Share on other sites More sharing options...
Révo Posted March 11 Share Posted March 11 Also can you handle SEGA mapper with banks to make ROM bigger than 48KB? Automatic header at $7FF0 would be nice too! Quote Link to comment Share on other sites More sharing options...
+nanochess Posted March 11 Author Share Posted March 11 13 hours ago, Révo said: Also can you handle SEGA mapper with banks to make ROM bigger than 48KB? Automatic header at $7FF0 would be nice too! I've plans for mappers on Colecovision, not sure about SG-1000 yet.  BTW for anyone interested, I've added Raspberry Pi binaries for all programs in the first post. 2 Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted March 12 Share Posted March 12 Be interesting to see a partnership like NES Maker has with Infinitelives. One side makes the amazing game making tools and another the special (mapper 30) boards and programmer. Quote Link to comment Share on other sites More sharing options...
+nanochess Posted March 12 Author Share Posted March 12 5 minutes ago, Gemintronic said: Be interesting to see a partnership like NES Maker has with Infinitelives. One side makes the amazing game making tools and another the special (mapper 30) boards and programmer. There are already available several options for Colecovision cartridges PCB. You can search in G for these. Alternatively, my good friend @5-11under is also able to provide preprogrammed PCB to anyone interested.  1 1 Quote Link to comment Share on other sites More sharing options...
ZippyOasys Posted March 12 Share Posted March 12 8 hours ago, Gemintronic said: Be interesting to see a partnership like NES Maker has with Infinitelives. One side makes the amazing game making tools and another the special (mapper 30) boards and programmer.  8 hours ago, nanochess said: There are already available several options for Colecovision cartridges PCB. You can search in G for these. Alternatively, my good friend @5-11under is also able to provide preprogrammed PCB to anyone interested.  There's also 8Bit Classics, they can even program your game into the eeprom (costs extra though).  https://www.8bitclassics.com/product/colecovision-8k-16k-32k-pc-board/ 2 Quote Link to comment Share on other sites More sharing options...
+nanochess Posted March 13 Author Share Posted March 13 I just noticed that today is the release day for v0.4.0 predicted by @carlsson 😅😅😅  3 Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted March 13 Share Posted March 13 10 minutes ago, nanochess said: I just noticed that today is the release day for v0.4.0 predicted by @carlsson 😅😅😅   Quick! Add commands to shift tile graphics left, right, up or down by an offset. Could be useful for games with fake scrolling  ShiftTile( SourceTile, ShiftHorizontal, ShiftVertical, DestinationTile) 1 Quote Link to comment Share on other sites More sharing options...
+nanochess Posted March 13 Author Share Posted March 13 1 hour ago, Gemintronic said:  Quick! Add commands to shift tile graphics left, right, up or down by an offset. Could be useful for games with fake scrolling  ShiftTile( SourceTile, ShiftHorizontal, ShiftVertical, DestinationTile) Technically you can do already this using the SCREEN statement using as source a very big array. TMSColor can generate big screen arrays.  Shifting tile graphics is too expensive in this VDP processor, as it would need to read the VRAM and write it back.  Quote Link to comment Share on other sites More sharing options...
drfloyd Posted March 13 Share Posted March 13 Hi,  A RANDOMSEED command ? To initializes the pseudo-random number generator Quote Link to comment Share on other sites More sharing options...
drfloyd Posted March 13 Share Posted March 13 Is is possible to go up to the 32Kb of ROM with CVbasic ????? Quote Link to comment Share on other sites More sharing options...
drfloyd Posted March 13 Share Posted March 13 Is it possible to use the 4Kb RAM that are not used in the VDP ? Quote Link to comment Share on other sites More sharing options...
carlsson Posted March 13 Share Posted March 13 It seems that VPOKE and VPEEK can access all the VDP RAM, but it probably is quite slow for CPU usage. There is also DEFINE VRAM to store chunks of data into VDP RAM, but I suppose you need to VPEEK to read it back. Quote Link to comment Share on other sites More sharing options...
+nanochess Posted March 14 Author Share Posted March 14 2 hours ago, drfloyd said: Hi,  A RANDOMSEED command ? To initializes the pseudo-random number generator I just noticed the random number generator should keep advancing on each video frame. I'll correct it in the next version.  Once corrected the trick is to put a title screen waiting for user input, so the random number generator keeps running until the player presses a button.  Anyway, you can do it currently by making a title screen and doing #A = RANDOM in the wait loop to keep moving the random number generator. 2 hours ago, drfloyd said: Is is possible to go up to the 32Kb of ROM with CVbasic ????? Yes, you can use the 32K of ROM with CVBasic. 2 hours ago, drfloyd said: Is it possible to use the 4Kb RAM that are not used in the VDP ? It is possible through VPEEK/VPOKE. There isn't direct support for it in CVBasic as the access is pretty slow. Quote Link to comment Share on other sites More sharing options...
drfloyd Posted March 14 Share Posted March 14 Thanks  Can we imagine a final version with a complete interface ? With an editor + no use of CMD commands. Quote Link to comment Share on other sites More sharing options...
Bodhi Posted March 14 Share Posted March 14 First of all, it´s amazing what @nanochess presents us. In my opinion - as a linux user - a GUI is secondary. 1 Quote Link to comment Share on other sites More sharing options...
carlsson Posted March 14 Share Posted March 14 IntyBASIC has been around for 10 years. It has a 3rd party SDK and a 3rd party IDE and graphics editor. I don't think the official CvBASIC distribution will include neither, but perhaps the respective developers of the SDK and IDE could include ColecoVision support as well if you really need it to be creative. Quote Link to comment Share on other sites More sharing options...
Kamshaft Posted March 17 Share Posted March 17 (edited) I've been able to use it within Notepad++, by using NppExec. Then executing the following... Â NPP_CONSOLE 0 cd "$(CURRENT_DIRECTORY)" $(CURRENT_DIRECTORY)\cvbasic.exe "$(FILE_NAME)" "$(NAME_PART).asm" $(CURRENT_DIRECTORY)\gasm80.exe "$(NAME_PART).asm" -o "$(NAME_PART).rom" Npp_run $(CURRENT_DIRECTORY)\CoolCV.exe "$(NAME_PART).rom" Â This will compile your cvbasic code, pop out a .rom file, then run the program in CoolCV! Â NOTE: You have to put all three .exe files in the same folder. Â Hope this helps! Edited March 17 by Kamshaft 2 Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted March 17 Share Posted March 17 ..and, remember kids: you can use a portable version of Notepad++ so you can keep your CVBasic code editor free of conflicts with other dev suites. https://portableapps.com/apps/development/notepadpp_portable Quote Link to comment Share on other sites More sharing options...
CrazyBoss Posted April 11 Share Posted April 11 If anyone should be interested, here is the Memotech MTX charset for use in cvbasic. mtxchar1.bas 2 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.