Quantcast

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 38

Thread: Genesis/MegaDrive programming links

  1. #16
    Wildside Expert Golpezas's Avatar
    Join Date
    Jan 2010
    Age
    40
    Posts
    197
    Rep Power
    14

    Default

    Quote Originally Posted by Oerg866 View Post
    May I add ftp://ftp.mdscene.net/pub

    You can also upload files to it

    user: upload
    pass: upload
    It's offline right now
    Ju... Ju... Juuunker... You may stop me but it's not over yet!

  2. #17
    Death Adder's minion SCD32X's Avatar
    Join Date
    Sep 2012
    Posts
    15
    Rep Power
    0

    Default

    Great list . Thanks

  3. #18

    Join Date
    Oct 2012
    Posts
    1
    Rep Power
    0

    Default

    Does anybody know assembler + compatible with it dissasembler for Sega Megadrive and give links for it?

  4. #19

    Default

    I've been using ASM68k since first getting knuckle-deep with assembly the past few days. It's a Win32 version of SNASM68k. Not sure if it's copyrighted or not. You can find a download link if you google for it.

    Disassembler, you're on your own there, I haven't yet attempted to disassemble anything.

  5. #20
    Hedgehog-in-Training Hedgehog-in-TrainingWildside Expert POLYGAMe's Avatar
    Join Date
    Jan 2016
    Location
    Auckland, New Zealand
    Age
    43
    Posts
    105
    Rep Power
    4

    Default

    I've been using Stef's dev kit for my game and it's fantastic. I would like to learn ASM though but the biggest stumbling block is setting up the development environment. I have no idea where to start. Are there any tutorials on that rather than the code side?

  6. #21
    Comrade as in friend. Master of Shinobi ComradeOj's Avatar
    Join Date
    Dec 2012
    Location
    New Mexico, USA
    Age
    24
    Posts
    1,321
    Rep Power
    56

    Default

    Quote Originally Posted by POLYGAMe View Post
    I've been using Stef's dev kit for my game and it's fantastic. I would like to learn ASM though but the biggest stumbling block is setting up the development environment. I have no idea where to start. Are there any tutorials on that rather than the code side?
    For a development environment, I use notepad++ to write code, the exodus emulator for testing, and a 68k ASM compiler. I use a batch script to automatically run the compiler with all of the correct parameters.

    Here are some files that might help. It's from one of two really basic tutorials I have on my web site. All you have to do is write your code in the source.asm file, and double click on make.bat. It should spit out a ROM named output.bin. If there are errors, it will log them to error.log.

    The stuff in the .zip I linked to also has some code to set up the Genesis hardware and make it ready for use, then run in a loop. You'll put your own code in the loop, or just before it if you want it to run only once.
    Modded consoles:
    Master System (v7040) with s-video & direct AV out
    Model 1 with 10mhz overclock & halt switches
    Model 1 with 10mhz 68010
    Model 2 VA2.3 with unfiltered Mega Amp, & s-video
    Model 3 VA1 with compatibility fixes & s-video
    32X with s-video
    Visit my web site at www.mode5.net
    Or my collection of homebrew Genesis games, programs, and music on SEGA-16!

  7. #22
    Hedgehog-in-Training Hedgehog-in-TrainingWildside Expert POLYGAMe's Avatar
    Join Date
    Jan 2016
    Location
    Auckland, New Zealand
    Age
    43
    Posts
    105
    Rep Power
    4

    Default

    Cool, thanks! How would one go about the Z80 code? Can it handle that too? That's an area that confuses me too - two very different CPUs in one machine. Haven't had to worry with C. lol.

  8. #23
    Comrade as in friend. Master of Shinobi ComradeOj's Avatar
    Join Date
    Dec 2012
    Location
    New Mexico, USA
    Age
    24
    Posts
    1,321
    Rep Power
    56

    Default

    Quote Originally Posted by POLYGAMe View Post
    Cool, thanks! How would one go about the Z80 code? Can it handle that too? That's an area that confuses me too - two very different CPUs in one machine. Haven't had to worry with C. lol.
    I played around with the Z80, but didn't get too far since the 68k could do everything I needed. I just used a Z80 assembler to output a z80 binary. I then included that z80 binary in my 68k code and had the 68k load it into z80 memory where it could be executed.
    Modded consoles:
    Master System (v7040) with s-video & direct AV out
    Model 1 with 10mhz overclock & halt switches
    Model 1 with 10mhz 68010
    Model 2 VA2.3 with unfiltered Mega Amp, & s-video
    Model 3 VA1 with compatibility fixes & s-video
    32X with s-video
    Visit my web site at www.mode5.net
    Or my collection of homebrew Genesis games, programs, and music on SEGA-16!

  9. #24
    Hedgehog-in-Training Hedgehog-in-TrainingWildside Expert POLYGAMe's Avatar
    Join Date
    Jan 2016
    Location
    Auckland, New Zealand
    Age
    43
    Posts
    105
    Rep Power
    4

    Default

    Ah right. Sounds complicated! Haha. Anyway thanks for the link, will have a play on the weekend

  10. #25
    WCPO Agent
    Join Date
    Aug 2014
    Location
    France
    Posts
    800
    Rep Power
    35

    Default

    I remember (last summer I think) having seen a link towards an article about C optimizations for 68000 here (or was it on gendev.spritesmind.net ?). It was designed towards old Macs, but it was very relevant for MD. I can't find it back. Do someone remember ?

  11. #26
    Hedgehog-in-Training Hedgehog-in-TrainingWildside Expert POLYGAMe's Avatar
    Join Date
    Jan 2016
    Location
    Auckland, New Zealand
    Age
    43
    Posts
    105
    Rep Power
    4

    Default

    Quote Originally Posted by ComradeOj View Post
    For a development environment, I use notepad++ to write code, the exodus emulator for testing, and a 68k ASM compiler. I use a batch script to automatically run the compiler with all of the correct parameters.

    Here are some files that might help. It's from one of two really basic tutorials I have on my web site. All you have to do is write your code in the source.asm file, and double click on make.bat. It should spit out a ROM named output.bin. If there are errors, it will log them to error.log.

    The stuff in the .zip I linked to also has some code to set up the Genesis hardware and make it ready for use, then run in a loop. You'll put your own code in the loop, or just before it if you want it to run only once.
    Just starting on some of your tutorials

    EDIT: This is awesome! Biggest hurdle was setting up the toolchain. This works out of the box. ASM seems rather straightforward too. Just need to get my head around hex. Very cool though, thank you so much!
    Last edited by POLYGAMe; 02-13-2016 at 01:58 AM.

  12. #27
    Hedgehog-in-Training Hedgehog-in-TrainingWildside Expert POLYGAMe's Avatar
    Join Date
    Jan 2016
    Location
    Auckland, New Zealand
    Age
    43
    Posts
    105
    Rep Power
    4

    Default

    I just discovered this excellent set of tutorials for noobs:

    http://mrjester.hapisan.com/04_MC68/

  13. #28
    Death Adder's minion
    Join Date
    Sep 2012
    Posts
    19
    Rep Power
    0

    Default

    Quote Originally Posted by tryphon View Post
    I remember (last summer I think) having seen a link towards an article about C optimizations for 68000 here (or was it on gendev.spritesmind.net ?). It was designed towards old Macs, but it was very relevant for MD. I can't find it back. Do someone remember ?
    Was this it? http://www.mactech.com/articles/mact...ntC/index.html / https://archive.is/i8WeV (archive if the link ever goes down)
    I found it while lurking on the gendev forum.

  14. #29
    WCPO Agent
    Join Date
    Aug 2014
    Location
    France
    Posts
    800
    Rep Power
    35

    Default

    Yes it was this one. Thanks

    I had found it back some time ago too. I should have posted it here then.

  15. #30
    Level 1 Blast Processor Road Rasher
    Join Date
    Sep 2012
    Location
    England
    Posts
    317
    Rep Power
    29

    Default

    I've uploaded the slides from my Mega Drive assembly coding workshop I ran at the National Videogame Arcade in Nottingham, UK:

    https://docs.google.com/presentation...000&slide=id.p

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •