BigEvilCorporation test was compiled using SN systems asm68k.exe for the hscrolltest.bin
It doesn't matter which Assembler was used tbh but the linker script/layout matters. Perhaps Matt at that time had not tried his tutorial code out on real hardware - you will have to raise that with him. I do not have his sourcecode but I was able to repair the ROM and run it.
Mark's realm test was already compiled (just downloaded to test) he used m68k-coff-gcc.
Again, the Makefile is most important here and the linker-script.
https://gcc.gnu.org/wiki/Building_Cross ... chains.pdf
I'm seriusly confused.
whats the linker script/layout? how do you repaired the rom?
Essentially, it tells the Linker program where to place various sections of objects in the output file - be they generated from high-level sourcecode from say C or C++ or more low-level sourcecode as in the case of Assembly language. This gives us direct control over how the MD ROM in our case is created. Read up on Text, Data, BSS and various other sections to get an idea:
http://www.nongnu.org/avr-libc/user-man ... tions.html
To be honest this is a more involved subject and most of the time on say a PC when we are building Applications we usually are less interested in how the sections are linked together to form the output file. On the other hand when working in embedded development you will solving your ROM layout early on. Some Operating-Systems have a very specific layout, e.g. QNX and VXWorks and some projects have no OS at all and are said to be 'bare-metal
' - in our case, the Megadrive is bare-metal.
Also. No matter how many things i try im unable to make DDD work again with UMDK. (it only works in the laptop i used to do the test of this thread, posibly because it has some old "release")
In the very first moment i launch DDD menu, the megadrive goes back to the game selection menu, any ideas?
Ok, can you post up what you are entering on the command-line please?
Code: Select all
loader -v <UMDK dev class: UMDK device ID> -w <ROM file/data>:<address> -x 2
Also, can you post your GDB log please? You will find it here:
Are the installations of the UMDK toolchain that you installed on your laptop and PC using the same Operating-System and version?
Please enter on the command-line this and copy the answer back and post it here:
Linux <machine's name> 3.16.0-4-586 #1 Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) i686 GNU/Linux
I have UMDK installed under Debian 8 ~Jessie and an older version of Ubuntu and both work.
Also, type in this:
I get this under Debian 8:
GNU DDD 3.3.12 (i486-pc-linux-gnu)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.
Copyright (C) 2001 Universität des Saarlandes, Germany.
Copyright (C) 2001-2009 Free Software Foundation, Inc.
Can you run the built GDB without running DDD?
Montserrat: did you get the E-Mail that I send to you last night with a working Assembly project included?