Quantcast
Channel: nesdev.org
Viewing all articles
Browse latest Browse all 746

ld65 config file for fds

$
0
0
I do understand that another forum, viewtopic.php?t=15789, has a solution for an ld65 linker. However, it only shows an example, and when I ran the example for the smbann disassembly, it did not work.

So, I have been trying to compile the smbann disassembly with ca65 and ld65 (the way it was intended). But, I don't know how to structure the memory config file for ld65. When I run it, the linker throws this error:

Code:

ld65: Warning: nrom.cfg:39: Segment 'OAM' does not existld65: Warning: nrom.cfg:39: Segment 'HEADER' does not existld65: Warning: nrom.cfg:39: Segment 'SIDE1A' does not existld65: Warning: nrom.cfg:39: Segment 'FILE0_HDR' does not existld65: Warning: nrom.cfg:39: Segment 'FILE0_DAT' does not existld65: Warning: nrom.cfg:39: Segment 'FILE1_HDR' does not existld65: Warning: nrom.cfg:39: Segment 'FILE1_DAT' does not existld65: Warning: nrom.cfg:39: Segment 'FILE2_HDR' does not existld65: Warning: nrom.cfg:39: Segment 'FILE2_DAT' does not existld65: Warning: nrom.cfg:39: Segment 'FILE3_HDR' does not existld65: Warning: nrom.cfg:39: Segment 'FILE3_DAT' does not existld65: Warning: nrom.cfg:39: Segment 'FILE4_HDR' does not existld65: Warning: nrom.cfg:39: Segment 'FILE4_DAT' does not exist
And produces a ROM that does not load. FCEUX throws the error message "Unknown ROM file format."

How do I create a memory config file for FDS for large programs, such as the smbann disassembly?

For reference:

Original disassembly: https://github.com/threecreepio/smbann-disassembly

My fork: https://github.com/htmlcoder2023/smbann-disassembly

Statistics: Posted by asm6hackr — Fri Dec 29, 2023 5:27 pm — Replies 7 — Views 369



Viewing all articles
Browse latest Browse all 746

Trending Articles