+nanochess Posted September 1 Share Posted September 1 2 hours ago, JasonACT said: No need for a C version then Try.zip 1.09 kB · 3 downloads Wow! That was fast! 3 Quote Link to comment Share on other sites More sharing options...
JasonACT Posted September 2 Share Posted September 2 On 9/1/2024 at 1:47 PM, nanochess said: Wow! That was fast! It occurs to me, it might help someone in the future. Feel free to add it to your GitHub repo under your existing license, if you like. 2 1 Quote Link to comment Share on other sites More sharing options...
+nanochess Posted September 3 Share Posted September 3 9 hours ago, JasonACT said: It occurs to me, it might help someone in the future. Feel free to add it to your GitHub repo under your existing license, if you like. Thank you very much! I just have added it to the CVBasic git under the "utility" folder. Today I finished checking all the statements for TI-99/4A, adjusted some register order in the library/compiler to avoid bugs in complex expressions, solved some small bugs in the peephole optimizer (triggered by the use of new instructions), some misaligned variables, and corrected a bug when enabling/disabling the screen. I think it is now pretty stable, and I've managed to compile GORILLA.BAS without changes gorilla.obj 7 2 Quote Link to comment Share on other sites More sharing options...
Tursi Posted September 3 Author Share Posted September 3 Busy! Nice work! 1 2 Quote Link to comment Share on other sites More sharing options...
JasonACT Posted September 3 Share Posted September 3 Windows .exe for people to try, until a formal release is made: CVBasic.zip 4 Quote Link to comment Share on other sites More sharing options...
Stefan Haubenthal Posted September 3 Share Posted September 3 3 hours ago, JasonACT said: Windows .exe for people to try, until a formal release is made: CVBasic.zip 64.03 kB · 1 download People who still use AmigaOS https://aminet.net/package/dev/cross/CVBasic 3 3 Quote Link to comment Share on other sites More sharing options...
Asmusr Posted September 3 Share Posted September 3 Now we just need an XB to CVBasic transpiler. 🙂 4 1 Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted September 3 Share Posted September 3 3 hours ago, Stefan Haubenthal said: People who still use AmigaOS https://aminet.net/package/dev/cross/CVBasic 4 4 Quote Link to comment Share on other sites More sharing options...
OX. Posted September 13 Share Posted September 13 On 9/3/2024 at 1:39 AM, nanochess said: Thank you very much! I just have added it to the CVBasic git under the "utility" folder. Today I finished checking all the statements for TI-99/4A, adjusted some register order in the library/compiler to avoid bugs in complex expressions, solved some small bugs in the peephole optimizer (triggered by the use of new instructions), some misaligned variables, and corrected a bug when enabling/disabling the screen. I think it is now pretty stable, and I've managed to compile GORILLA.BAS without changes gorilla.obj 52.89 kB · 9 downloads Nice! Hi Nanochess, how did you run this in Classic99? I've tried adding the gorilla.obj file to a disk image using TI99dir and running via EA option 3 without success. Quote Link to comment Share on other sites More sharing options...
JasonACT Posted September 13 Share Posted September 13 20 minutes ago, OX. said: Nice! Hi Nanochess, how did you run this in Classic99? I've tried adding the gorilla.obj file to a disk image using TI99dir and running via EA option 3 without success. I seem to recall, I imported it to an old .dsk file using TIImageTool (as DF80) and extracted it again, to get the file with a TIFILES header Classic99 needs. 1 Quote Link to comment Share on other sites More sharing options...
+nanochess Posted September 13 Share Posted September 13 2 hours ago, OX. said: Nice! Hi Nanochess, how did you run this in Classic99? I've tried adding the gorilla.obj file to a disk image using TI99dir and running via EA option 3 without success. It is pretty easy actually. I didn't made any disk images. I made a DSK4 folder and put there the OBJ file. In the Disk menu I selected the folder for DSK4. These are my selected options: And then I executed the Editor/Assembler cartridge and typed DSK4.GORILLA.OBJ pressed Return, waited for it to load, pressed Return again, and typed START and then Return. 2 Quote Link to comment Share on other sites More sharing options...
OX. Posted September 14 Share Posted September 14 15 hours ago, JasonACT said: I seem to recall, I imported it to an old .dsk file using TIImageTool (as DF80) and extracted it again, to get the file with a TIFILES header Classic99 needs. Would you be so kind as to upload the dsk image on here? I'm having trouble getting Java to work on Win10 and can't run tiimagetool. Quote Link to comment Share on other sites More sharing options...
JasonACT Posted September 14 Share Posted September 14 34 minutes ago, OX. said: Would you be so kind as to upload the dsk image on here? I'm having trouble getting Java to work on Win10 and can't run tiimagetool. Odd, I'm getting an out of memory error on my converted file - but when I follow the directions from nanochess, it works OK. 1 Quote Link to comment Share on other sites More sharing options...
Tursi Posted September 14 Author Share Posted September 14 (edited) Classic99 can read the .obj file directly from the FIAD folder, there's no need to convert it to a TIFILES file for that. (Classic99 can also read V9T9). Classic99 knows the output of xas99 as long as the extension remains .OBJ. If you're having trouble on a disk image, you have probably converted it to the wrong file type. It's uncompressed object file, so needs to be DIS/FIX 80. The object files that xas99 produces might confuse TI99Dir (I don't have experience, but I needed to specially code Classic99 for them), so the easier way to put them on disk is to use the xdt99 utility xdm99 which is designed to do it. To borrow from Oscar's docs, this should work: xdm99.py -X sssd game.dsk -a game.obj -f df80 Edited September 14 by Tursi 2 Quote Link to comment Share on other sites More sharing options...
JasonACT Posted September 14 Share Posted September 14 (edited) .dsk file with "gorilla" in it, along with a TIFILES gorilla object file. gorilla.zip Edited September 14 by JasonACT 2 2 Quote Link to comment Share on other sites More sharing options...
OX. Posted September 14 Share Posted September 14 1 hour ago, JasonACT said: .dsk file with "gorilla" in it, along with a TIFILES gorilla object file. gorilla.zip 27.94 kB · 2 downloads Nice one, Thanks. 1 Quote Link to comment Share on other sites More sharing options...
OX. Posted September 15 Share Posted September 15 On 8/31/2024 at 4:56 PM, nanochess said: I just made Viboritas to work Can we have a download link please? Quote Link to comment Share on other sites More sharing options...
Tursi Posted September 16 Author Share Posted September 16 It's merged in, but not an official release yet, but I have sent Oscar the changes to make bank switched carts instead of EA#3 files. Here are all the demos as cart roms: cvbasic_examples.zip 3 2 Quote Link to comment Share on other sites More sharing options...
SteveB Posted September 16 Share Posted September 16 Once the merged version is released, I will take a longer look at the CVBasic Compiler ... Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted September 16 Share Posted September 16 At the risk of unmasking my vast ignorance, since we already have a fully featured TI basic/XB compiler, what new features does this project bring to the table? I am a fan of the Coleco Adam and am pretty excited about it for that platform, but still unclear regarding the TI... Quote Link to comment Share on other sites More sharing options...
+nanochess Posted September 16 Share Posted September 16 4 hours ago, Vorticon said: At the risk of unmasking my vast ignorance, since we already have a fully featured TI basic/XB compiler, what new features does this project bring to the table? I am a fan of the Coleco Adam and am pretty excited about it for that platform, but still unclear regarding the TI... There are several advantages on using CVBasic. CVBasic is a cross-compiler, this means it runs on a PC/Mac/Linux computer, vastly expanding your opportunities to use your favorite text editor, and way faster than compiling directly in the target system. The syntax used is inspired by QBasic, avoids line numbers, using labels for marking jump points for your program, and allowing use of higher-level constructs like WHILE/WEND and DO/LOOP. It also includes the TMSColor tool to convert BMP images to data usable by the Video Display Processor, including sprites (so you don't need to calculate manually the hex codes for tiles/sprites) Plus a music player that can run in the background while your game plays. And when your game is completed, you can compile it directly for further eleven platforms (except of course if you used bank-switching) 5 Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted September 16 Share Posted September 16 1 hour ago, nanochess said: And when your game is completed, you can compile it directly for further eleven platforms (except of course if you used bank-switching) Just imagine it: @Retrospect games on ColecoVision 1 Quote Link to comment Share on other sites More sharing options...
Retrospect Posted September 16 Share Posted September 16 11 minutes ago, OLD CS1 said: Just imagine it: @Retrospect games on ColecoVision It could be a thing in the future sometime. I mean, only the other day I got the Coleco to do a "Hello World!" and I was amazed. 1 1 Quote Link to comment Share on other sites More sharing options...
+OLD CS1 Posted September 16 Share Posted September 16 Just now, Retrospect said: It could be a thing in the future sometime. I mean, only the other day I got the Coleco to do a "Hello World!" and I was amazed. 1 1 Quote Link to comment Share on other sites More sharing options...
carlsson Posted September 16 Share Posted September 16 I thought XB also existed as a cross compiling solution, or is that entirely native development? But yes, for programs you only need to run on the TI-99/4(A), you probably don't need CvBASIC. For programs you enjoy running on multiple systems, you'll get the porting element nearly for free. 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.