Jump to content
IGNORED

Is there a EA5 to EA3 converter/editor ?


Recommended Posts

This should not be too hard, you can let the loader load every single word of the EA5 file to the actual location (everything in absolute origin (AORG)), but it would not become relocatable code. What do you plan to do with it?

Link to comment
Share on other sites

Posted (edited)

That is the problem.

With Classic99 I can do a EA3 from mem but not relocatable.

I want to relocate a image file from >A000 (32K) to >7118(MINIMEM),of course it fits.

I tried minimem MEMRELOC,but it can t handle negatives adresses beyond >8000.

 

Edited by moije
Link to comment
Share on other sites

The question is how it should handle such a situation:

 

LI R1,>A080
...
B  *R1

 

The problem is that addresses are simply integer values. While this information is contained in an EA3 file, it is lost in EA5.

Link to comment
Share on other sites

I have read about a method where you generate two files at different load addresses.

Then you need a program that compares the two images and adjusts the places where they are different because those will be address values. 

I have never built one but I know of a Forth system that uses this method to relocate Forth system overlays. 

 

Edit:

After thinking about this it can't work because we can only generate one E/A3 version of the image if we rely on the information in the E/A 5 file. 

But then, everyone else already knew this. :)

 

Edited by TheBF
dumbass comment
  • Like 1
Link to comment
Share on other sites

Yeah. When I relocated Arcturus I actually hacked Classic99 to update address references in real time, then I just had to hope I hit every possible condition. Difficult to do, impossible to be sure, but I got lucky on that one. ;)

 

  • Like 1
Link to comment
Share on other sites

Posted (edited)

I successed to relocate VEGAS but I was lucky that data and code were not mixed:

 1 vdp address

 4 additions

 data at the end.

Thanks for your help.

 

 

Edited by moije
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...