Try moving the string declaration to the bottom. Move the code away from address 0, try $1000, before you create the .S68 file. The address at zero up to $400 or so should not be used to run program code.

When I change the start address to be $1000 in easybin the program runs without giving an error, it just doesn't print anything to the screen. Also moving the string declaration to the bottom doesn't work as it is being declared after it needs to be used.

Thanks for the example, I was using the code from here to create the foundation of my program. I think the problem lies with not having a correct linker script for the compiler, but I do not know enough about that to solve my issue.

In case anybody is interested:Recently I have cross-compiled with an uClinux-toolchain on Ubuntu-Linux (Virtualbox) the "hello world" and executed successfully in Easy68k.This was one step to be inserted before porting the (very old) stand-alone Motorola FBUG-monitor which I am taking up now again.

Ultimately I am intending to bring up a piece of the Linux-kernel as proof of concept - not quite sure whether I will succeed. Is a long road to go.

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum