Jump to content

Photo

Can one times ein kleins program in asm write for the atari2600?


8 replies to this topic

#1 funkheld OFFLINE  

funkheld

    Chopper Commander

  • 214 posts

Posted Wed Mar 22, 2017 4:03 PM

Hi good afternoon.
Can one times a small program in asm write for the atari2600 for the dasm ?
 
Thank you.
greeting


#2 CPUWIZ OFFLINE  

CPUWIZ

    Sheriff

  • 32,184 posts
  • Cartridge Recycler
  • Location:SoCal

Posted Wed Mar 22, 2017 4:08 PM

Versuch das nochmal in Deutsch. ;)



#3 SpiceWare ONLINE  

SpiceWare

    Quadrunner

  • 11,300 posts
  • Medieval Mayhem
  • Location:Planet Houston

Posted Wed Mar 22, 2017 6:54 PM

Here's my tutorial for Collect, a 2K game written in assembly. If that's not small enough then take a look at CollectMini, found at the end of the tutorial, for an even smaller program.

http://atariage.com/...cat-188-collect

#4 funkheld OFFLINE  

funkheld

    Chopper Commander

  • Topic Starter
  • 214 posts

Posted Thu Mar 23, 2017 3:03 AM

Hallo, ich suche Demoprogramme in ASM die ich nur mit DASM compilieren muss und dann laufen .

Ich möchte es mal lernen ,  finde aber keinen  Ansatz , wie der Grundaufbau funktioniert damit es läuft.

 

Danke.

Gruss


Edited by funkheld, Thu Mar 23, 2017 3:04 AM.


#5 funkheld OFFLINE  

funkheld

    Chopper Commander

  • Topic Starter
  • 214 posts

Posted Thu Mar 23, 2017 3:28 AM

 Hallo, wenn ich das daraus compiliere kommt folgende Fehlermeldund (siehe Bild).
 
 Collect_20140703.zip 
 
 Danke.
 Gruss
 

Attached Thumbnails

  • Bild2.jpg


#6 SpiceWare ONLINE  

SpiceWare

    Quadrunner

  • 11,300 posts
  • Medieval Mayhem
  • Location:Planet Houston

Posted Thu Mar 23, 2017 7:07 AM

readme.txt in that zip file explains how to use dasm to compile the code.  Basically use:


dasm collect.asm -f3 -v0 -scollect.sym -lcollect.lst -ocollect.bin

 
or at a minimum use this so you don't have to rename a.out (the default name for the generated program) to something else.

dasm collect.asm -f3 -ocollect.bin

 

Full contents of that readme.txt file:

Collect is a simple Atari 2600 game where the objective is
to collect randomly positioned boxes.
 
Use dasm to compile the program.  Dasm can be found here:
http://dasm-dillon.sourceforge.net
 
The command used to compile is:
dasm collect.asm -f3 -v0 -scollect.sym -lcollect.lst -ocollect.bin
 
 
the options after the source file are:
    -f3 sets output format to 3, RAW.
 
    -v0 sets verboseness.  Values are 0-4, see dasm documentation.
 
    -s requests a symbol dump, saved to specified file.  Stella uses the symbol
dump in order to show your variable names in Stella’s debugger.  The
*.sym filename must match the *.bin filename for this to work.
 
    -l requests a detailed listing, saved to specified file.
 
    -o specifies the output file.  If not specified, the output file will be a.out
 
Besides the source file, only option -f3 is required to build a Atari 2600 program.


#7 funkheld OFFLINE  

funkheld

    Chopper Commander

  • Topic Starter
  • 214 posts

Posted Thu Mar 23, 2017 10:37 AM

Why is the size 0 byte of the program .a26

greeting.



#8 SpiceWare ONLINE  

SpiceWare

    Quadrunner

  • 11,300 posts
  • Medieval Mayhem
  • Location:Planet Houston

Posted Thu Mar 23, 2017 11:16 AM

Don't know. Try doing a compile, making sure you get a listing (the .lst file) then zip the entire directory of your project and post it.

#9 funkheld OFFLINE  

funkheld

    Chopper Commander

  • Topic Starter
  • 214 posts

Posted Thu Mar 23, 2017 11:41 AM

The path was not right.

 

greeting






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users