Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to different assembler/linker #11

Open
freem opened this issue Jul 2, 2017 · 1 comment
Open

Move to different assembler/linker #11

freem opened this issue Jul 2, 2017 · 1 comment

Comments

@freem
Copy link
Owner

freem commented Jul 2, 2017

I've only just now realized that vasm and vlink can't be used for commercial purposes (outside of Amiga 68K), making them hard to recommend to anyone who wants to do serious and/or commercial work.

For Z80, this is less of a problem, since a number of assemblers exist already. The tricky part is the 68K. I can't compile gcc cross chain on my upstairs Windows computer for some stupid reason, so that's out unless I dedicate a VM to it.

Most 68K solutions in the homebrew console dev community (read: Genesis/Mega Drive) tend to use an outdated, Windows-only piece of software. I would really like to avoid this, because having separate makefiles for Windows and Linux/whatever else is garbage. (Also, free software zealots will endlessly complain about having to use Wine, but I prefer my reason to not do this.)

@freem
Copy link
Owner Author

freem commented Jul 2, 2017

Z80 Assembler Options

The ideal replacement would require as little work as possible to convert the existing source (vasm z80-oldschool). Since Z80 assembly syntax is mostly standard across assemblers, this should not be much of an issue.

The following list is somewhat sorted by project activity.

  • WLA-DX (includes linker) (reasonably active, go check the commits if you don't believe me)
  • tniASM (freeware version available, but active development is in the shareware version)
  • zmac (also has matching linker product ld80) (last update November 2016, so I'm considering it active for the time being)
  • "The Z80 assembler" (inactive for over a year)
  • zasm (inactive for over 10 years!)

Many others not included in the list above can be found on z80.info. Several others also exist that aren't included on that page (e.g. the rednex kit).

68K Assembler Options

short version: you're fucked, kid, gcc/gas is the only reasonable option that will work on multiple platforms.

longer version: The only reasonable option, it appears, is to use gcc/gas with -register-prefix-optional.

2017 version: Perhaps naken_asm is a viable option. It even supports both 68K and Z80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant