Hi all I have been interested in dipping my toes in the waters of Genesis development in 68K assembly. Through this site I found this blog http://bigevilcorporation.co.uk/2012/02/28/sega-megadrive-1-getting-started/ This person uses ASM68K which he got from the Sonic 1 disassembles on Sonic Retro. I have done the same. I have tried to compile some simple stuff from this blog and that works fine but once it got into actual Genesis stuff, the Rom header, we needed to define constants with the dc.l instruction. ASM68K now has a problem with this. Every line with that opcode(which in this small bit of code is almost every line) gives a "Error: Op-code not recognized" and I know for a fact that is a valid opcode. My question I guess is, is ASM68K a valid assembler to use? Does anyone use it anymore? I am working on a Windows 8.1 machine but if need be I could switch to a Win7 64 bit or even an Ubuntu environment. I feel real dumb having to ask such a simple question but any help is appreciated, thanks.
You need to indent every line that is an opt code including dc.l like so Anyways i'm having problems with the tutorials as well, but a different type of problem. Basically the tutorials are Slightly Flawed. However the author was very kind, apologized and stated that he will fix the tutorials as soon as he can. He also provided a link to working code(I can't get it working ). He is a great person to get to know. No need to feel bad, everyone has to start somewhere Hope that helps. Sincerely, SegaDev
Hey that actually worked! Usually whitespace shouldn't matter but I should take note on this opcode format. Thanks a bunch.
Hi! Yeah the whitespace thing catches a few out, mainly because I can't format code to start with whitespace in Wordpress. Also it's worth bearing in mind they're not tutorials as such, more a diary of my experience learning to code for the platform, so expect a few mistakes here and there. I'm in the process of cleaning up a few bits and pieces, making corrections and re-uploading missing files.
Oh your the guy! Ok cool. Well thanks for putting what you can out there. I am all about the "put code whiteboards and diaries on wordpress" thing. Tutorial or not it's about as good as I am going to get as a reference on this stuff.