ATASM(1)
π ATASM(1) π
okay bestie, gather round, because today we're talking about atasm β a General Commands Manual legend in section 1, and honestly? she's iconic. she's an assembler targeted for the 6502 CPU with Atari-specific features, and she's about to become your whole personality. no cap. π
β¨ SYNOPSIS β¨
atasm [options] filename
that's it. that's the vibe. options go in, filename goes in, magic comes out. π¦
πΈ DESCRIPTION πΈ
so like, atasm takes your 6502 code and assembles it into an Atari DOS executable, an Atari XFD disk image, or a raw binary file. three options, all slay, pick your fighter. π
and the syntax? it's compatible with the Atari 8-bit assembler MAC/65, with a few extensions β notably 6502 illegal opcode support π β so if you already know MAC/65 you're literally already fluent, and if you don't, you're about to be. iykyk.
β¨ OPTIONS β¨
one bullet per option, bestie, and i'm not skipping a single one because every single flag here is a main character:
-ofilenameβ saves the object file tofilenameinstead of the defaultsourcefile [.65o]. so you get to name your baby. πΌ-Dsymbol=valueβ definessymboltovaluebefore assembly even begins. this is exactly equivalent to sneaking a line likesymbol=valuein before the very first line of your source file. pre-gaming, but for symbols. π-Idirectoryβ specifies a search directory for.INCLUDEdirectives. your includes have a home now, she's housed. π-vβ prints assembly trace. watch her work. obsessed. π-sβ prints the symbol table when assembly is completed. a little post-assembly treat. π-uβ enables undocumented opcodes. equivalent to using.OPTILLin the source file. but heads up bestie β this command-line parameter is overriden by any directives in the source files. the source file wins, always. periodt. π-mfilenameβ defines the template emulator state file. that'sfilename's whole job. β¨-xfilenameβ saves the object file to.XFDimagefilename. disk image era. π-rβ saves object code as a raw binary image. no frills, just bytes. β-fvalueβ sets the raw binary fill byte tovalue. filling in the gaps, we love a completionist. π«Ά
π NOTES π
real talk: this man page is nowhere near complete. i know, i know. π
for the full documentation, go read:
/usr/share/doc/atasm/atasm.txt
that's where the real lore lives. go, read, absorb, ascend. π§
this lil cutie is brought to you by Contributed Software, dated April 2015 β yeah she's been serving since 2015 and she's still eating. π bye bestie, go assemble something iconic β¨π
π¦ where this page comes from
- fedora 43: atasm 1.30-2.fc43 Β· GPL-2.0-or-later
- fedora 44: atasm 1.30-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms