Jump to content

Photo

Unresolved symbol list is huge


4 replies to this topic

#1 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • 8,053 posts
  • The brightest ideas in the world are here to play.
  • Location:Salem, Oregon

Posted Tue Nov 15, 2011 10:50 AM

How do you suppose I get rid of all this?

Attached Thumbnails

  • bbgarbage.png


#2 RevEng ONLINE  

RevEng

    River Patroller

  • 3,311 posts
  • bit player
  • Location:Canada

Posted Tue Nov 15, 2011 11:31 AM

Dasm tries to figure out symbols in multiple passes. Most of these, if not all, are false positives - symbols that would have resolved in another pass were it not for another code error that stopped dasm cold.

The best way to get a clue about these kinds of unknown errors is to produce a long listing from dasm. To do that just modify the line in 2600bas.bas...

change both parts that say this:
dasm %1.asm -I%bB%/includes -f3 -o%1.bin

to this:
dasm %1.asm -I%bB%/includes -f3 -l%1.list.txt -o%1.bin

The compile your game again. After it fails, search the created GAME.list.txt file for the word "error".

#3 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • Topic Starter
  • 8,053 posts
  • The brightest ideas in the world are here to play.
  • Location:Salem, Oregon

Posted Fri Nov 18, 2011 6:39 AM

There is a ton of these:
"ECHO "MACRO ERROR: 'SLEEP': Duration must be > 1""
I wonder what it means and why.

#4 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • Topic Starter
  • 8,053 posts
  • The brightest ideas in the world are here to play.
  • Location:Salem, Oregon

Posted Fri Nov 18, 2011 7:31 AM

OK, I think I figured out the problem. Apparently I can't use the titlescreen kernel and the playerscores kernel together. So when I delete one, I get red text with a blank unresolved symbol list. If there's no unresolved symbols, then why won't the program compile?

#5 RevEng ONLINE  

RevEng

    River Patroller

  • 3,311 posts
  • bit player
  • Location:Canada

Posted Fri Nov 18, 2011 9:33 PM

OK, I think I figured out the problem. Apparently I can't use the titlescreen kernel and the playerscores kernel together. So when I delete one, I get red text with a blank unresolved symbol list. If there's no unresolved symbols, then why won't the program compile?


That's the question. The unresolved symbols aren't likely the problem - if you didn't run into your (unknown) compile problem, they likely would have resolved eventually.

Were there any lower-case "error" texts in the listing? The upper-case one isn't what we're after.




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users