https://github.com/ksherlock/cc65-to-omf
Convert cc65 libraries and object files to OMF. WTF.
https://github.com/ksherlock/cc65-to-omf
apple-iigs appleiigs ca65 iigs omf
Last synced: 2 months ago
JSON representation
Convert cc65 libraries and object files to OMF. WTF.
- Host: GitHub
- URL: https://github.com/ksherlock/cc65-to-omf
- Owner: ksherlock
- Created: 2022-09-21T00:27:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-29T19:48:29.000Z (over 2 years ago)
- Last Synced: 2025-02-23T02:35:32.702Z (2 months ago)
- Topics: apple-iigs, appleiigs, ca65, iigs, omf
- Language: C++
- Homepage:
- Size: 33.2 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## cc65 to omf
Convert [cc65](https://cc65.github.io) object files and libraries to OMF object files and libraries.
Why? The original idea was to use ORCA/M or MPW Asm IIgs with
[ip65](https://github.com/cc65/ip65), so I don't have to learn ca65. Of course, ca65 is a fine assembler and in some ways better...## Conversion
* Imports -> N/A
* Exports -> OMF `GLOBAL` or `GEQU` entries
* ZEROPAGE segment -> OMF Stack segment
* other segments -> OMF Code segments## Warning
cc65 object files allow you to import symbol then export it under a different name (and possibly as part of a larger expression). ORCA/Linker 2.1.0 (or newer) is recommended as older versions won't properly evaluate them. Apple's linker (for APW or MPW) handles them better but there may still be issues.