Start Addres

In this forum you can write about anything that does not fit in other forums.
This includes generic Oric talkings and things that are totaly unrelated but want to share with people here :)
Alsoft
Private
Posts: 1
Joined: Mon Oct 14, 2013 5:26 pm

Start Addres

Post by Alsoft »

how can I find start addres of machine program.
User avatar
peacer
Flight Lieutenant
Posts: 451
Joined: Wed Jun 09, 2010 9:23 pm
Location: Turkey
Contact:

Re: Start Addres

Post by peacer »

I found this simple code which inhibits autorun and gives start and end of machine code routines loaded

DOKE #400,#A948:DOKE #402,#8D00:DOKE #404,#02AD:DOKE #406,#4C68:DOKE #408,#EE22:DOKE 522,#400

I guess this put a simple code to #400 and hook the the interrupt to block autorun. After loading, DEEK(#2A9) gİves start adress of the code and DEEK(#2AB) gives the end.

So, CALL DEEK(#2A9) runs the program
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Start Addres

Post by Dbug »

Alsoft wrote:how can I find start addres of machine program.
You can open the TAP file in an hex editor and look at the header.
More details on this post http://forum.defence-force.org/viewtopic.php?f=19&t=201
User avatar
kenneth
Squad Leader
Posts: 515
Joined: Fri Nov 26, 2010 9:11 pm
Location: France PdD
Contact:

Re: Start Addres

Post by kenneth »

Hello Alsoft and welcome. 8)
You can try this:
http://oric.mrandmrsdavies.com/
:wink:
Godzil
Squad Leader
Posts: 774
Joined: Sat May 21, 2011 7:21 pm
Location: Between UK and France
Contact:

Re: Start Addres

Post by Godzil »

The first post is quite strange.

Of which program? Of the ROM? Of a program loaded from a tape? a floppy? something else?

Without more information it would be really difficult to answer.
Post Reply