Jump to content
Sign in to follow this  
esplonky

Problem using variables and DIM

Recommended Posts

every time i use one of RT's tutorials i always get this when i put his code into mine, and it's usually because of dim.

 

this is the error:

 

[[email protected] pong]# make

2600basic.sh default.bas -O

Starting build of default.bas

2600 Basic compilation complete.

DASM V2.20.09, Macro Assembler ©1988-2003

bytes of ROM space left

2302 bytes of ROM space left

2302 bytes of ROM space left

--- Unresolved Symbol List

pfcenter 0000 ???? (R )

ball0x 0000 ???? (R )

ball0y 0000 ???? (R )

kernelmacrodef 0000 ???? (R )

then 0000 ???? (R )

pfhalfwidth 0000 ???? (R )

 

Fatal assembly error: Source is not resolvable.

Build complete.

\n >:( >:( >:( Compile of default.bas FAILED! >:( >:( >:(\n

[[email protected] pong]#

 

 

here is my source code: pong_Esplonky_july_17_2011_error.bas

Edited by esplonky

Share this post


Link to post
Share on other sites

There's no "ball0x" or "ball0y" defined in bB. I think you mean "ballx" and "bally".

 

Also, you have a line...

 

ifjoy0fire then

 

...you need a space after the "if" and some actual code needs to follow the "then"

Share this post


Link to post
Share on other sites

i accidentally forgot to delete the ifjoy0fire then, because i didn't need it

Share this post


Link to post
Share on other sites

i fixed those two errors and now i get this error when i try to compile:

 

 

 

[[email protected] pong]# make

2600basic.sh default.bas -O

Starting build of default.bas

2600 Basic compilation complete.

DASM V2.20.09, Macro Assembler ©1988-2003

bytes of ROM space left

2476 bytes of ROM space left

2476 bytes of ROM space left

--- Unresolved Symbol List

pfcenter 0000 ???? (R )

0.knock_player_back 0000 ???? (R )

ball0y 0000 ???? (R )

kernelmacrodef 0000 ???? (R )

pfhalfwidth 0000 ???? (R )

 

Fatal assembly error: Source is not resolvable.

Build complete.

\n >:( >:( >:( Compile of default.bas FAILED! >:( >:( >:(\n

Share this post


Link to post
Share on other sites

Instead of pulling bits and pieces out of an example program and creating a mangled mess, you might want to start with the example program and make little changes here and there. When one little change works, you can make another little change and so on until you have what you want.

Share this post


Link to post
Share on other sites

i fixed those two errors and now i get this error when i try to compile:

...

 

--- Unresolved Symbol List

pfcenter 0000 ???? (R )

0.knock_player_back 0000 ???? (R )

ball0y 0000 ???? (R )

...

You still have a ball0y in there somewhere.

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...