Jump to content



0

Setting up DASM??


17 replies to this topic

#1 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Wed Mar 3, 2004 4:55 PM

Im not sure if I missed a post, but Im looking for documentation for setting up DASM to run from the DOS prompt. For some reason It can't seem to find the two include files? Thanks.

#2 Nukey Shay OFFLINE  

Nukey Shay

    Sheik Yerbouti

  • 20,458 posts
  • Location:The land of Gorch

Posted Wed Mar 3, 2004 5:14 PM

Download this...
http://www.taswegian...m/dasm22007.zip

and this...
http://www.taswegian...ri2600_1_09.zip

Unzip both to the same folder.
That's it.

#3 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Wed Mar 3, 2004 5:26 PM

Still no luck, the compiler gives a fatal error and can't find the include files. As of right now, they are located in the same directory as the DASM dircetory??? Thanks for the help.

#4 Andrew Davie OFFLINE  

Andrew Davie

    Stargunner

  • 1,314 posts
  • Location:Tasmania

Posted Wed Mar 3, 2004 5:55 PM

jeepnut24 said:

Still no luck, the compiler gives a fatal error and can't find the include files. As of right now, they are located in the same directory as the DASM dircetory??? Thanks for the help.


Typically, you don't need to COMPILE DASM, as executables are provided for Linux, OSX, Mac, DOS. If you are indeed wishing to compile it, then please specify exactly which include files are not being found by your compiler.

What you are REALLY trying to do, I think, is just run DASM and assemble a file of your own. In which case, I'd guess that your file includes "macro.h" and/or "vcs.h". These two files should be in the same directory as YOUR SOURCE CODE, *not* the DASM directory.

Cheers
A

#5 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Wed Mar 3, 2004 5:58 PM

I meant i can't compile the .asm examples. DASM states that it can't find the .h include files. BTW, thanks for the lessions.

#6 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Wed Mar 3, 2004 6:04 PM

I found out what the problem was, the .h files need to be in the same directory as the .asm files during the compile. Thanks for the help. Now I have to figure out how to get rid of the black bar at the bottom of the emulator screen. Thanks again.

#7 Nukey Shay OFFLINE  

Nukey Shay

    Sheik Yerbouti

  • 20,458 posts
  • Location:The land of Gorch

Posted Wed Mar 3, 2004 6:08 PM

Thanks...I've been keeping Dasm.exe and all of it's files AND my sources in the same folder :dunce: Works for me ;)

Subdirectories? Who needs 'em?

#8 vb_master OFFLINE  

vb_master

    Stargunner

  • 1,770 posts
  • Location:At my computer, where else?

Posted Wed Mar 3, 2004 9:46 PM

Nukey Shay said:

Subdirectories?  Who needs 'em?
I do. I have tons of them! Im like Subdirectorie-o-manic. :ponder:

#9 Cybergoth OFFLINE  

Cybergoth

    Quadrunner

  • 8,207 posts
  • This is Sparta!
  • Location:Bavaria

Posted Thu Mar 4, 2004 3:34 AM

Hi there!

vb_master said:

Nukey Shay said:

Subdirectories?  Who needs 'em?
I do. I have tons of them! Im like Subdirectorie-o-manic. :ponder:

I simply throw DASM and Z26 into all subdirectores.

Greetings,
Manuel

#10 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Thu Mar 4, 2004 8:24 AM

Cybergoth said:

Hi there!

vb_master said:

Nukey Shay said:

Subdirectories?  Who needs 'em?
I do. I have tons of them! Im like Subdirectorie-o-manic. :ponder:

I simply throw DASM and Z26 into all subdirectores.

Greetings,
Manuel

Put DASM in your class path and you don't have to add it to all of your subdirectories.

#11 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Thu Mar 4, 2004 9:15 AM

jeepnut24 said:

Put DASM in your class path and you don't have to add it to all of your subdirectories.
"class path"? Java programmer I suppose? ;)

How about the general include files (e.g. vcs.h)?

#12 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Thu Mar 4, 2004 9:22 AM

Thomas Jentzsch said:

jeepnut24 said:

Put DASM in your class path and you don't have to add it to all of your subdirectories.
"class path"? Java programmer I suppose? ;)

How about the general include files (e.g. vcs.h)?

Yeah, Ive spent some time with java. ;)

You can do this with just about anything though. Ive used it for c+ compilers also. As for the include files, I started out trying to put those in the class path but no luck. The only solution I have found thus far is to leave them in the directory with the .asm file. I would like to find a better solution though so I dont' have to worry about multiple copies or having all the .asm files in the same directory. Things tend to get messy.

#13 Cybergoth OFFLINE  

Cybergoth

    Quadrunner

  • 8,207 posts
  • This is Sparta!
  • Location:Bavaria

Posted Thu Mar 4, 2004 9:33 AM

Hi there!

jeepnut24 said:

I would like to find a better solution though so I dont' have to worry about multiple copies or having all the .asm files in the same directory.

DASM will compile "headersvcs.h".

Yet your sources will no longer be ready-to-compile for everyone, anyone else would have to recreate your directory structure first in case.

Greetings,
Manuel

#14 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Thu Mar 4, 2004 10:27 AM

Cybergoth said:

Hi there!

jeepnut24 said:

I would like to find a better solution though so I dont' have to worry about multiple copies or having all the .asm files in the same directory.

DASM will compile "headersvcs.h".

Yet your sources will no longer be ready-to-compile for everyone, anyone else would have to recreate your directory structure first in case.

Greetings,
Manuel

Thanks for that info. One question though, where does the "headers" directory fall under the DASM directories? Im guessing Ill have to create this also? Thanks again.

#15 Cybergoth OFFLINE  

Cybergoth

    Quadrunner

  • 8,207 posts
  • This is Sparta!
  • Location:Bavaria

Posted Thu Mar 4, 2004 10:42 AM

Hi there!

jeepnut24 said:

Cybergoth said:

DASM will compile "headersvcs.h".
Thanks for that info. One question though, where does the "headers" directory fall under the DASM directories? Im guessing Ill have to create this also? Thanks again.

I just meant to point out that DASM will understand additional path information. In the example I gave, the "headers" folder has to reside on the same level as DASM.

I also suggested that you should not use this feature if you want to exchange sources with other programmers.

Greetings,
Manuel

#16 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Thu Mar 4, 2004 11:30 AM

Cybergoth said:

Hi there!

jeepnut24 said:

Cybergoth said:

DASM will compile "headersvcs.h".
Thanks for that info. One question though, where does the "headers" directory fall under the DASM directories? Im guessing Ill have to create this also? Thanks again.

I just meant to point out that DASM will understand additional path information. In the example I gave, the "headers" folder has to reside on the same level as DASM.

I also suggested that you should not use this feature if you want to exchange sources with other programmers.

Greetings,
Manuel

Would I then have to change the include statement in my code to headersvcs.h ? Im still a bit confused. I realize that this limits me from exchanging source with other programmers. Is it common practice then to include the two .h files in the location of your source? I was trying to limit the number of copies of .h files to only one. Oh well I guess it isn't that big of a deal. I was hoping I could simply put them in a folder with DASM and leave them there until I have to update them. Thanks again for the help. BTW great set of forums.

#17 Paul Slocum OFFLINE  

Paul Slocum

    Stargunner

  • 1,620 posts
  • Location:Dallas, TX

Posted Thu Mar 4, 2004 4:23 PM

I do put vcs.h in every project folder, but I just keep Dasm and Z26 in their own folders and run them using my text editor's ability to run external programs. I also have associated the .BIN file type with Z26.

-paul

#18 jeepnut24 OFFLINE  

jeepnut24

    Stargunner

  • 1,783 posts
  • Flyfishing for 2600 Games...
  • Location:CRAWLorado

Posted Thu Mar 4, 2004 4:27 PM

Paul Slocum said:

I do put vcs.h in every project folder, but I just keep Dasm and Z26 in their own folders and run them using my text editor's ability to run external programs.  I also have associated the .BIN file type with Z26.

-paul

I hadn't thought about that, that is another good idea. Thanks.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users