jman1093
-
Content Count
11 -
Joined
-
Last visited
Posts posted by jman1093
-
-
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
-
So far it looks great!

-
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
-
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
-
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
-
Nope... I get those. It's just that I don't know what this section even does for the program.
-
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
-
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
-
The error messages you're getting contain references to things like "z{4}"-- and that's the way you would refer to a bit of one of the variables, so I'm guessing you're trying to dim your own variables to single bitsActually, that is exactly what I "tried" to do.
After fixing those, it worked!
Thanks for the fast response, I really appreciate it.
-
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.

Visual bB 1.0 - a new IDE for batari Basic
in batari Basic
Posted · Edited by jman1093
Ok... so when I have the following lines:
It fails with the following errors:
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:
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