Ask anything your want about Megadrive/Genesis programming.
Moderator: BigEvilCorporation
-
Scorpion Illuminati
- Interested
- Posts: 28
- Joined: Fri Oct 02, 2015 4:58 pm
Post
by Scorpion Illuminati » Thu Jun 29, 2017 9:09 pm
Is there a standard set of extensions for naming your assembly source code? So far i have used .asm for Motorola 68000 Assembly Source Code. Here are some excerpts with the name removed to keep that persons name anonymous:
I use .68k
Mostly to distinguish between both CPUs
.68k for 68000 asm files
.z80 for Z80 asm files
use .s68 and .sz8 personally
but yeah, using distinct extensions is handy when writing makefiles that need to handle assembling source for both CPUs
and SGDK uses .s and .s80 lol
Anyone have any ideas on what to use as standardized extensions when coding for the Genny's 68k and z80? Any assistance in this matter would be greatly appreciated.
Scorpion Illuminati
-
KanedaFr
- Administrateur
- Posts: 1150
- Joined: Tue Aug 29, 2006 10:56 am
-
Contact:
Post
by KanedaFr » Thu Jun 29, 2017 10:10 pm
and I use .ASM or .S to go through my macro preprocessor to generate .s
From what I know, I'm not aware of a standard.
Some of them are inherited from old 68K asm editor.
The only reason I use different extension to be sure the right assembler will be called on my makefile