Jump to content

jman1093

Members
  • Posts

    11
  • Joined

  • Last visited

jman1093's Achievements

Space Invader

Space Invader (2/9)

0

Reputation

  1. Ok... so when I have the following lines: inline playerscores.asm inline bcd_math.asm It fails with the following errors: 2600 Basic compilation completed. DASM V2.20.07, Macro Assembler (C)1988-2003 Warning: Unable to open 'playerscores.asm' Warning: Unable to open 'bcd_math.asm' bytes of ROM space left Warning: Unable to open 'playerscores.asm' Warning: Unable to open 'bcd_math.asm' 2815 bytes of ROM space left Compilation completed at 1/7/2010 2:58:37 PM I checked to see that the folder that I use (C:\Batari) was in the system path and that both files did exist in that folder. I see this problem as DASM not being able to find the files, BUT it works if I run say: C:\Batari\2600bas.bat C:\Batari\projects\blahblahblah\default.bas I'm baffled! Dr. Nick EDIT: It works now that I put the files in the C:\Batari\includes folder. Thanks for the speedy response and a great job with Visual bB
  2. The new version of Visual bB works great... except for the fact that the compiler always fails if I use an inline statement. However, if I compile manually (from cmd.exe using 2600bas.bat) it works fine. Is there any way I can use this inline statement in my program and use Visual bB??? Dr. Nick
  3. Unfortunately, that didn't fix the problem. This isn't a huge problem for me though. I can write the program in visual bB then compile it from the command line then run it in Stella. jman1093
  4. Quick Question: Every time I try to compile something, visual bB says it compiled fine. But when I click run it says: "Could not locate File.bas.bin and could not recompile. Please check to make sure it was compiled correctly." Then, I check the folder that the BAS file is located in and the BIN file is nowhere to be found. Thanks for the help jman1093
  5. Yes I have read over those sessions and I understand them for I have programmed in BASIC before. I understand the basic commands, but what I don't get is what will happen when the button is pushed (I know that a missile would fire) but I want to know what each individual line does. thanks jman1093
  6. Nope... I get those. It's just that I don't know what this section even does for the program.
  7. Thanks for the help... The code snippets REALLY HELP However, I am currently stuck on tutorial 4 (fire a missile), I don't understand what these lines are for: if x>140 || missile0x>140 then missile0y=11 if !joy0fire then fire=0 : x=p0x : missile0x=0 : missile0y=0 if joy0fire then missile0x=x+8:missile0y=p0y-y-6 if fire<60 && missile0x>135 then missile0y=0 if fire<60 then x=x+2 else missile0y=0 if fire>250 then fire=25 fire=fire+1 Thanks for the help
  8. I'm new to programming in Batari (but not in BASIC), and I was wondering if there are any tutorials for Batari that teach you how to make the games rather than just install the program (refering to the one on the Batari website) Any help would be appreciated! jman1093
  9. Actually, that is exactly what I "tried" to do. After fixing those, it worked! Thanks for the fast response, I really appreciate it.
  10. Whenever I try to compile my game, 2600basic runs fine and generates a .asm file, but when DASM starts, I get the following error: 2600 Basic compilation complete. DASM V2.20.07, Macro Assembler ©1988-2003 2600basic_variable_redefs.h (2): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (3): error: Illegal character '{5}'. char = '{' 123 (-1: 122) 2600basic_variable_redefs.h (3): error: Illegal character '}'. char = '}' 125 (-1: 53) 2600basic_variable_redefs.h (3): error: Syntax Error 'z{5}'. 2600basic_variable_redefs.h (4): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (5): error: Illegal character '{4}'. char = '{' 123 (-1: 122) 2600basic_variable_redefs.h (5): error: Illegal character '}'. char = '}' 125 (-1: 52) 2600basic_variable_redefs.h (5): error: Syntax Error 'z{4}'. 2600basic_variable_redefs.h (6): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (7): error: Illegal character '{7}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (7): error: Illegal character '}'. char = '}' 125 (-1: 55) 2600basic_variable_redefs.h (7): error: Syntax Error 'w{7}'. 2600basic_variable_redefs.h (: error: Not enough args passed to Macro. 2600basic_variable_redefs.h (9): error: Illegal character '{6}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (9): error: Illegal character '}'. char = '}' 125 (-1: 54) 2600basic_variable_redefs.h (9): error: Syntax Error 'w{6}'. 2600basic_variable_redefs.h (10): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (11): error: Illegal character '{5}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (11): error: Illegal character '}'. char = '}' 125 (-1: 53) 2600basic_variable_redefs.h (11): error: Syntax Error 'w{5}'. 2600basic_variable_redefs.h (12): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (13): error: Illegal character '{4}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (13): error: Illegal character '}'. char = '}' 125 (-1: 52) 2600basic_variable_redefs.h (13): error: Syntax Error 'w{4}'. 2600basic_variable_redefs.h (14): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (15): error: Illegal character '{3}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (15): error: Illegal character '}'. char = '}' 125 (-1: 51) 2600basic_variable_redefs.h (15): error: Syntax Error 'w{3}'. 2600basic_variable_redefs.h (16): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (17): error: Illegal character '{2}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (17): error: Illegal character '}'. char = '}' 125 (-1: 50) 2600basic_variable_redefs.h (17): error: Syntax Error 'w{2}'. 2600basic_variable_redefs.h (18): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (19): error: Illegal character '{1}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (19): error: Illegal character '}'. char = '}' 125 (-1: 49) 2600basic_variable_redefs.h (19): error: Syntax Error 'w{1}'. 2600basic_variable_redefs.h (20): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (21): error: Illegal character '{0}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (21): error: Illegal character '}'. char = '}' 125 (-1: 48) 2600basic_variable_redefs.h (21): error: Syntax Error 'w{0}'. 2600basic_variable_redefs.h (22): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (23): error: Illegal character '{3}'. char = '{' 123 (-1: 122) 2600basic_variable_redefs.h (23): error: Illegal character '}'. char = '}' 125 (-1: 51) 2600basic_variable_redefs.h (23): error: Syntax Error 'z{3}'. 2600basic_variable_redefs.h (24): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (25): error: Illegal character '{2}'. char = '{' 123 (-1: 122) 2600basic_variable_redefs.h (25): error: Illegal character '}'. char = '}' 125 (-1: 50) 2600basic_variable_redefs.h (25): error: Syntax Error 'z{2}'. 2600basic_variable_redefs.h (2): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (3): error: Illegal character '{5}'. char = '{' 123 (-1: 122) 2600basic_variable_redefs.h (3): error: Illegal character '}'. char = '}' 125 (-1: 53) 2600basic_variable_redefs.h (3): error: Syntax Error 'z{5}'. 2600basic_variable_redefs.h (4): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (5): error: Illegal character '{4}'. char = '{' 123 (-1: 122) 2600basic_variable_redefs.h (5): error: Illegal character '}'. char = '}' 125 (-1: 52) 2600basic_variable_redefs.h (5): error: Syntax Error 'z{4}'. 2600basic_variable_redefs.h (6): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (7): error: Illegal character '{7}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (7): error: Illegal character '}'. char = '}' 125 (-1: 55) 2600basic_variable_redefs.h (7): error: Syntax Error 'w{7}'. 2600basic_variable_redefs.h (: error: Not enough args passed to Macro. 2600basic_variable_redefs.h (9): error: Illegal character '{6}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (9): error: Illegal character '}'. char = '}' 125 (-1: 54) 2600basic_variable_redefs.h (9): error: Syntax Error 'w{6}'. 2600basic_variable_redefs.h (10): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (11): error: Illegal character '{5}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (11): error: Illegal character '}'. char = '}' 125 (-1: 53) 2600basic_variable_redefs.h (11): error: Syntax Error 'w{5}'. 2600basic_variable_redefs.h (12): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (13): error: Illegal character '{4}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (13): error: Illegal character '}'. char = '}' 125 (-1: 52) 2600basic_variable_redefs.h (13): error: Syntax Error 'w{4}'. 2600basic_variable_redefs.h (14): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (15): error: Illegal character '{3}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (15): error: Illegal character '}'. char = '}' 125 (-1: 51) 2600basic_variable_redefs.h (15): error: Syntax Error 'w{3}'. 2600basic_variable_redefs.h (16): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (17): error: Illegal character '{2}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (17): error: Illegal character '}'. char = '}' 125 (-1: 50) 2600basic_variable_redefs.h (17): error: Syntax Error 'w{2}'. 2600basic_variable_redefs.h (18): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (19): error: Illegal character '{1}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (19): error: Illegal character '}'. char = '}' 125 (-1: 49) 2600basic_variable_redefs.h (19): error: Syntax Error 'w{1}'. 2600basic_variable_redefs.h (20): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (21): error: Illegal character '{0}'. char = '{' 123 (-1: 119) 2600basic_variable_redefs.h (21): error: Illegal character '}'. char = '}' 125 (-1: 48) 2600basic_variable_redefs.h (21): error: Syntax Error 'w{0}'. 2600basic_variable_redefs.h (22): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (23): error: Illegal character '{3}'. char = '{' 123 (-1: 122) 2600basic_variable_redefs.h (23): error: Illegal character '}'. char = '}' 125 (-1: 51) 2600basic_variable_redefs.h (23): error: Syntax Error 'z{3}'. 2600basic_variable_redefs.h (24): error: Not enough args passed to Macro. 2600basic_variable_redefs.h (25): error: Illegal character '{2}'. char = '{' 123 (-1: 122) 2600basic_variable_redefs.h (25): error: Illegal character '}'. char = '}' 125 (-1: 50) 2600basic_variable_redefs.h (25): error: Syntax Error 'z{2}'. bytes of ROM space left Unrecoverable error(s) in pass, aborting assembly! Being new to Batari, I have no idea what the heck any of that means. Thanks for the help.
×
×
  • Create New...