hanswurst Posted July 23 Share Posted July 23 Hello! I'm new so please tell me if I did something wrong. I was trying to get started in programming for the atari 2600 and tried using Batari Basic. I first saw a tutorial on how to use visual batari basic, but that didn't work and I just got the following errors: Compile started at 23.07.2024 16:26:55 Compiling C:\Users\[Name Redacted]\Documents\atari\bB\games\mygame\default.bas Could not locate sed.exe. Please copy sed.exe to C:\Users\[Name Redacted]\Documents\atari\bB\games\mygame\default.bas. This will improve DASM error reporting Precompilation failed, aborted at 23.07.2024 16:26:55 or [23.07.2024 16:28:14] Could not locate default.bas.bin. Attempting recompile... Compile started at 23.07.2024 16:28:14 Compiling C:\Users\[Name Redacted]\Documents\atari\bB\games\mygame\default.bas Could not locate sed.exe. Please copy sed.exe to C:\Users\[Name Redacted]\Documents\atari\bB. This will improve DASM error reporting Precompilation failed, aborted at 23.07.2024 16:28:14 This is strange since I don't have any space in the entire filepath and I also do have sed.exe in the directory. Then I read that Visual Batari basic is obsolete and I should use 2600IDE. I tried writing and compiling my code in that and it does say that compilation finished successfully, but when looking at the compiled file, it just is 0KB. Then I tried compiling the assembly myself with dasm but just got this error and a 4KB not working rom: --- Unresolved Symbol List pfres 0000 ???? (R ) 0.rem 0028 ???? pflabel0 0028 ???? pfwidth 0000 ???? (R ) 0.L00 0014 ???? game 0014 ???? PF_data0 0014 ???? --- 7 Unresolved Symbols bb.asm (10): error: Unknown Mnemonic 'ldx'. bb.asm (12): error: Unknown Mnemonic 'jmp'. bb.asm (59): error: Unknown Mnemonic 'lda'. bb.asm (60): error: Unknown Mnemonic 'sta'. bb.asm (61): error: Unknown Mnemonic 'dex'. bb.asm (62): error: Unknown Mnemonic 'bpl'. Fatal assembly error: Source is not resolvable. All Instructions are in uppercase and I don't know if they need to be lowercase. I made sure that vcs.h and macro.h are both in the same directory. I Also had some friends look over the assembly and they said it looked fine. I attached the assembly and the basic file and gamerom. game.bin default.bas bB.asm Quote Link to comment Share on other sites More sharing options...
+Atarius Maximus Posted July 23 Share Posted July 23 Your code had a few mistakes with blank spaces. This compiles and runs fine: playfield: ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ end rem batari Basic Program (needed to add a space before the rem statement) rem Created 16.06.2024 17:56:07 by Visual bB Version 1.0.0.526 COLUBK = $E8 COLUPF = $96 draw_loop drawscreen goto draw_loop I added a space before the first rem statement, before the COLUBK and COLUPF statements, and before the drawscren and goto draw_loop statements. Only "end" and "draw_loop" and should have no spaces before them. 1 Quote Link to comment Share on other sites More sharing options...
hanswurst Posted July 24 Author Share Posted July 24 Thanks! 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.