Jump to content



0

Assembleing with DASM


5 replies to this topic

#1 Wickeycolumbus OFFLINE  

Wickeycolumbus

    River Patroller

  • 4,063 posts
  • Location:Michigan

Posted Fri Aug 8, 2008 10:49 PM

Hi, I am new to 7800 dev, but have done lots of 2600 development. I was trying to assemble Dan B's sprite demo (the one on his website) using the same command line as I use for 2600 programs (dasm name.asm -f3 -v5 -oname.bin) and I got a file that was 0kb :ponder: How am I to assemble 7800 programs? Also, How do I sign them with a78sign?

Edited by Wickeycolumbus, Fri Aug 8, 2008 10:50 PM.


#2 Mitch OFFLINE  

Mitch

    Quadrunner

  • 5,768 posts
  • 7800 Guy
  • Location:Southern California, USA

Posted Sat Aug 9, 2008 12:16 AM

I never used the -v option in DASM.

For a78sign use:
a78sign -f game.a78
If it's not a bankswitched game you can use a bin file instead of an a78 file if you prefer.

Mitch

#3 DanBoris OFFLINE  

DanBoris

    Dragonstomper

  • 930 posts
  • Location:New Jersey, USA

Posted Sat Aug 9, 2008 9:44 AM

View PostWickeycolumbus, on Sat Aug 9, 2008 12:49 AM, said:

Hi, I am new to 7800 dev, but have done lots of 2600 development. I was trying to assemble Dan B's sprite demo (the one on his website) using the same command line as I use for 2600 programs (dasm name.asm -f3 -v5 -oname.bin) and I got a file that was 0kb :ponder: How am I to assemble 7800 programs? Also, How do I sign them with a78sign?

Your command line is correct, it's my code that is wrong!

Replace this line:

SEG.U code

with this

SEG code

The .U tells is not to generate anything in the output file. I am not sure how I managed to compile this in the past.

Dan

#4 Wickeycolumbus OFFLINE  

Wickeycolumbus

    River Patroller

  • 4,063 posts
  • Location:Michigan

Posted Sat Aug 9, 2008 11:09 AM

View PostDanBoris, on Sat Aug 9, 2008 10:44 AM, said:

View PostWickeycolumbus, on Sat Aug 9, 2008 12:49 AM, said:

Hi, I am new to 7800 dev, but have done lots of 2600 development. I was trying to assemble Dan B's sprite demo (the one on his website) using the same command line as I use for 2600 programs (dasm name.asm -f3 -v5 -oname.bin) and I got a file that was 0kb :ponder: How am I to assemble 7800 programs? Also, How do I sign them with a78sign?

Your command line is correct, it's my code that is wrong!

Replace this line:

SEG.U code

with this

SEG code

The .U tells is not to generate anything in the output file. I am not sure how I managed to compile this in the past.

Dan

No wonder! Thanks, I got it to work now :cool:

#5 gambler172 OFFLINE  

gambler172

    River Patroller

  • 2,060 posts
  • none
  • Location:germany

Posted Sat Aug 9, 2008 11:12 AM

Hi Wickey
Glad to hear,that it works now.
greetings Walter

#6 DanBoris OFFLINE  

DanBoris

    Dragonstomper

  • 930 posts
  • Location:New Jersey, USA

Posted Sat Aug 9, 2008 4:56 PM

I found another problem in the code that would prevent it from working. I am not sure what I was doing when I put that code together!

I have put the updated version on my web page:

http://www.atarihq.c...anb/a7800.shtml

Dan




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users