sack-c0s Posted June 20, 2011 Share Posted June 20, 2011 (edited) Hi, I've got some code up and running on the sega mastersystem and it looks like it's pretty much the same technique to do things on the megadrive, albeit a bit quicker and nicer in 68000, so it's almost like I've done the hard work and will be getting a megadrive game engine for free. With that in mind I'd like to sort out my tools to spit out better tilemaps to account for the improved colours and port my tile engine logic over. Maybe even then I can account for the lack of tilemaps in the ST and amiga and port it that way too... problem is my last experiment was done using SNASM-68K and windows 7 64-bit just doesn't like it at all. Does anyone know of a decent 68k cross-assembler that will just spit out a flat binary with all the cartridge header stuff manually compiled in at the right points? I'd rather not end up digging into GCC toolchain if possible and just have something nice and simple like WLA-z80 or DASM but for 68k Edited June 20, 2011 by sack-c0s Quote Link to comment Share on other sites More sharing options...
Chilly Willy Posted June 21, 2011 Share Posted June 21, 2011 NOTHING will do everything for you... except BEX, and that's BASIC, not asm. You're better off just starting from the examples and demos than wishing for a "does everything" assembler/compiler. I made a thread on how to build a toolchain for the MD/32X: http://www.sega-16.com/forum/showthread.php?16552 http://gendev.spritesmind.net/forum/viewtopic.php?t=889 It has example code that takes care of the header and a bunch of over stuff. You'll find lots of demo and example code at SEGA-16 and SpritesMind, so I suggest making an account at both. If you want just a plain assembler, you'll need to look into the examples and demos yourself. As for the assembler, try AS: http://john.ccac.rwth-aachen.de:8000/as/ Quote Link to comment Share on other sites More sharing options...
sack-c0s Posted June 21, 2011 Author Share Posted June 21, 2011 (edited) I didn't want something that would do everything for me - I just wanted something that would do the minimum I needed in the simplest possible way so things wouldn't get overly complicated. Seeing as I'm not too great at 68k and it's a new architecture I wanted as few complications as possible and I thought a bare-bones assembler that spits out flat binaries would be the way to go. someone pointed me at VASM (http://sun.hasenbraten.de/vasm/) and after a few minutes getting mingw downloaded to build it for windows it seems to be doing the job nicely. As a bonus it spits out Amiga hunk files and TOS binaries too, it might allow porting to other machines if I keep the code nicely abstracted (or at least as nicely as you can in assembler). It only took a couple of minutes to adapt a small chunk of code to fill out the header and do the basic initialisation, so when I get the time I should be up and running pretty quickly. Edited June 21, 2011 by sack-c0s Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.