Jump to content
Sign in to follow this  
jbs30000

This problem is probably just me, huh?

Recommended Posts

After upgrading to XP Pro I had to run bB in a virtual environment because I couldn't compile any programs. The virtual PC was operating under VISTA.

 

I just upgraded my computer (physical computer, not the virtual one) to Windows 7 Professional, so I downloaded the bB files from the bB homepage, plus the updated files from SeaGtGruff. I then downloaded Visual bB, set up the paths, tried a couple of sample programs (Draw and Zombie Chase), tried to compile them, and for each one got this error:

 

DASM V2.20.07, Macro Assembler ©1988-2003

draw.bas.asm (1): error: Unknown Mnemonic 'execute'.

Complete.

2600 Basic compilation Failed!

 

I'm guessing that this is a problem with my computer and nothing's wrong with Windows, bB, or Visual bB, right? :sad:

Edited by jbs30000

Share this post


Link to post
Share on other sites

After upgrading to XP Pro I had to run bB in a virtual environment because I couldn't compile any programs. The virtual PC was operating under VISTA.

 

I just upgraded my computer (physical computer, not the virtual one) to Windows 7 Professional, so I downloaded the bB files from the bB homepage, plus the updated files from SeaGtGruff. I then downloaded Visual bB, set up the paths, tried a couple of sample programs (Draw and Zombie Chase), tried to compile them, and for each one got this error:

 

DASM V2.20.07, Macro Assembler ©1988-2003

draw.bas.asm (1): error: Unknown Mnemonic 'execute'.

Complete.

2600 Basic compilation Failed!

 

I'm guessing that this is a problem with my computer and nothing's wrong with Windows, bB, or Visual bB, right? :sad:

Do you get the same result if you just try to compile using the batch file outside of VbB? I haven't upgrade to Windows 7 yet to test myself.

 

-Jeff

Share this post


Link to post
Share on other sites

After upgrading to XP Pro I had to run bB in a virtual environment because I couldn't compile any programs. The virtual PC was operating under VISTA.

 

I just upgraded my computer (physical computer, not the virtual one) to Windows 7 Professional, so I downloaded the bB files from the bB homepage, plus the updated files from SeaGtGruff. I then downloaded Visual bB, set up the paths, tried a couple of sample programs (Draw and Zombie Chase), tried to compile them, and for each one got this error:

 

DASM V2.20.07, Macro Assembler ©1988-2003

draw.bas.asm (1): error: Unknown Mnemonic 'execute'.

Complete.

2600 Basic compilation Failed!

 

I'm guessing that this is a problem with my computer and nothing's wrong with Windows, bB, or Visual bB, right? :sad:

Do you get the same result if you just try to compile using the batch file outside of VbB? I haven't upgrade to Windows 7 yet to test myself.

 

-Jeff

Happens under Crimson Editor too. Well, at the very least I have my virtual environment.

Share this post


Link to post
Share on other sites

Most bB builds will not work under any 64-bit version of Windows. The problem was with the compiler. I posted a build that was compiled with minGW, and that should work with them. You can try the minGW build here:

 

http://www.atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=130754

Both my copy of XP and 7 are the 32 bit versions. But thank you anyway.

Share this post


Link to post
Share on other sites

DASM V2.20.07, Macro Assembler ©1988-2003

draw.bas.asm (1): error: Unknown Mnemonic 'execute'.

Could you post the draw.bas.asm file? Just wondering what it looks like. Based on the message, is there some kind of "execute" statement on line 1?

 

Michael

Share this post


Link to post
Share on other sites

Nope, there isn't.

include div_mul.asm
set kernel_options no_blank_lines
set romsize 8kSC
set smartbranching on
const pfres=32
pfclear
player0x=10:player0y=7
player0:
%11000000
%01100000
110001
011011
001111
011111
111111
end
gameloop
COLUP0=15
COLUPF=203
if joy0left then player0x=player0x-1:if player0x<10 then player0x=10
if joy0right then player0x=player0x+1:if player0x>137 then player0x=137
if joy0up then player0y=player0y-1:if player0y<7 then player0y=7
if joy0down then player0y=player0y+1:if player0y>99 then player0y=99
skipjoy
if joy0fire then gosub plot
drawscreen
goto gameloop
plot
rem convert player position to playfield pixel
rem divide by 3 vertically
g=(player0y-7)/3
h=(player0x-10)/4
if g=i && j=h then return
i=g:j=h
pfpixel h g flip
return

Edited by jbs30000

Share this post


Link to post
Share on other sites

Most bB builds will not work under any 64-bit version of Windows. The problem was with the compiler. I posted a build that was compiled with minGW, and that should work with them. You can try the minGW build here:

 

http://www.atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=130754

I went ahead and tried those files even though my OS is 32 bit, and they work. Thank you very much. :thumbsup:

Share this post


Link to post
Share on other sites

Nope, there isn't.

include div_mul.asm
set kernel_options no_blank_lines
set romsize 8kSC
set smartbranching on
const pfres=32
pfclear
player0x=10:player0y=7
player0:
%11000000
%01100000
110001
011011
001111
011111
111111
end
gameloop
COLUP0=15
COLUPF=203
if joy0left then player0x=player0x-1:if player0x<10 then player0x=10
if joy0right then player0x=player0x+1:if player0x>137 then player0x=137
if joy0up then player0y=player0y-1:if player0y<7 then player0y=7
if joy0down then player0y=player0y+1:if player0y>99 then player0y=99
skipjoy
if joy0fire then gosub plot
drawscreen
goto gameloop
plot
rem convert player position to playfield pixel
rem divide by 3 vertically
g=(player0y-7)/3
h=(player0x-10)/4
if g=i && j=h then return
i=g:j=h
pfpixel h g flip
return

I realize you got it working finally using the build that batari posted, but is this supposed to be the code from the .asm file I asked about? It looks to me like a plain batari Basic program. The batari Basic compiler creates a .asm version of the program that translates all of the batari Basic statements into the necessary 6502 assembly code, which is then assembled (along with all of the necessary include files) by DASM. The error message from DASM was saying that there was an unknown mnemonic on line 1 in the draw.bas.asm file, so I was curious what line 1 of the draw.bas.asm file looked like. I don't know what the batari Basic compiler put on line 1 of the .asm file, but DASM couldn't understand it.

 

Michael

Share this post


Link to post
Share on other sites

Most bB builds will not work under any 64-bit version of Windows. The problem was with the compiler. I posted a build that was compiled with minGW, and that should work with them. You can try the minGW build here:

 

http://www.atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=130754

I went ahead and tried those files even though my OS is 32 bit, and they work. Thank you very much. :thumbsup:

Just checked, and Windows 7 does not support DOS programs like bB. I see no need to support pure DOS anymore so future builds will use minGW.

 

The cryptic error that says "Unknown Mnemonic 'execute'" is due to the OS issuing an error message (something like "Cannot execute the specified program") and this is captured as output and passed to Dasm, which is parsing "Cannot" as the label and "execute" as the instruction and returning an error.

Share this post


Link to post
Share on other sites

I realize you got it working finally using the build that batari posted, but is this supposed to be the code from the .asm file I asked about? It looks to me like a plain batari Basic program. The batari Basic compiler creates a .asm version of the program that translates all of the batari Basic statements into the necessary 6502 assembly code, which is then assembled (along with all of the necessary include files) by DASM. The error message from DASM was saying that there was an unknown mnemonic on line 1 in the draw.bas.asm file, so I was curious what line 1 of the draw.bas.asm file looked like. I don't know what the batari Basic compiler put on line 1 of the .asm file, but DASM couldn't understand it.

 

Michael

Oops, I misunderstood you. Anywayway, Batari has it right. I went ahead and tried one last thing before trying Batari's files. I cut and pasted the first line from the 2600bas.bat file, substituting sample.bas for %1%. The commands ran sample.bas through the precompiler and then the compiler and stored the result in bB.asm. Looking at bB.asm it says that 2600basic.exe couldn't be executed.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...