Getting started with 32x assembler? (avoiding C,c++, linux)

Ask anything your want about the 32X Mushroom programming.

Moderator: BigEvilCorporation

Post Reply
Posts: 2
Joined: Thu Oct 03, 2013 11:43 am

Getting started with 32x assembler? (avoiding C,c++, linux)

Post by screwtape » Sat Oct 05, 2013 8:40 am

Hello, found the sega mega sdk on emuparadise website. Docs are really good. Couldnt get the examples to compile. ran the batch files and snasm came up with "too many errors".

Got some experience with gameboy assembler. The setup is this. Write the programs in Windows notepad, then compile with a simple batch file and compiler in DOS. Just need to type 'assemble filename' and then the program is made.

Is there an easy way to compile Sega 32x programs in the same way? Avoiding linux, gnu, gcc, c, c++ and all that stuff?

Is there a way to write the code in a few text files then type something like snasm filename?

Wish the compiling process was simpler, it's difficult to get started on this!

Also I know that master, slave, and 68000 are compiled separately, but how does that work when it comes to putting the rom together?

I will be reading more of the docs, it's easier to read a modern explanation from a hobbyist programmer though!

Has anybody read pandocs for gameboy? Is there a document like that for genesis? Reading the original sega docs gets a bit confusing about the memory map and stuff.

Really hoping to slowly build some work in this scene, especially on the music side of things, maybe get some 3d programming experience, would be fun to learn on 32x in assembler.

Thanks. Great reading all the posts here. So many knowledgeable people.

TmEE co.(TM)
Very interested
Posts: 2392
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City

Post by TmEE co.(TM) » Sat Oct 05, 2013 9:20 am

You first make standard MD ROM. You write your program in notepad or your fav text editor and assemble.
For 32X you first need the 32X security blob at a certain address embedded in your MD ROM and then you need actual 32X slave and master program data. Latter you create with SH2 assembler much like MD stuff, and then embed into the MD ROM at addresses where the 32X bootloader can find the data and make the CPUs execute it.

For assembly the very least you need : SNASM68K -P Filename.ASM, ROMname.BIN
Mida sa loed ? Nagunii aru ei saa ;)
Files of all broken links and images of mine are found here :

Post Reply