I recently started to look into Megadrive/Genesis programming.
So far i've been able to build little binaries writing directly in 68k asm and assembling, but when i tried to use the GenesisDev04 the problems started:
First of all, i don't use windows, so i had to build my own toolchain (m68k-elf, gcc 4.3.3, binutils 2.19.1, newlib 1.17) and use the GenesisDev libraries.
Now, whenever i try to build a demo, or a test program (like a simple "Hello World") using GenesisDev i get an error similar to this one:
Code: Select all
/home/hkz/MEGADRIVE/M68K-ELF/bin/../lib/gcc/m68k-elf/4.3.3/../../../../m68k-elf/bin/ld: address 0x495b0 of rom.out section .data is not within region ram
/home/hkz/MEGADRIVE/M68K-ELF/bin/../lib/gcc/m68k-elf/4.3.3/../../../../m68k-elf/bin/ld: address 0x495b0 of rom.out section .data is not within region ram
collect2: ld returned 1 exit status
make: *** [rom.out] Error 1
Anyone has ideas? :-/