osdk : xa and vectors (headers)

Questions, bug reports, features requests, ... about the Oric Software Development Kit. Please indicate clearly in the title the related element (OSDK for generic questions, PictConv, FilePack, XA, Euphoric, etc...) to make it easy to locate messages.

Post Reply
jede
Flying Officer
Posts: 144
Joined: Tue Mar 14, 2006 11:53 am
Location: France

osdk : xa and vectors (headers)

Post by jede » Sun Aug 07, 2011 10:05 am

Hello,

We have headers for C compilers, but i think there is not xa vectors for VIA, ROMatmos etc am i wrong ?

For example, we could have romatmos.h which contains hires vectors. VIA vectors etc.

User avatar
Dbug
Site Admin
Posts: 2394
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug » Sun Aug 07, 2011 1:10 pm

This is correct, but I believe it's the wrong way to do it.
Extending a way to make sure your program works ONLY on Oric 1 OR Oric Atmos is not what I want.
What I would really prefer is to have a way to provide a seamless system to give the address of the correct location in ROM, so whatever you write would work on the Oric 1 AND the Oric Atmos.

Sure that would take a bit more room in the executable, but most people who use the ROM calls are doing it from C anyway, so in the grand scheme of things it's not that much of a problem.

jede
Flying Officer
Posts: 144
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Post by jede » Sun Aug 07, 2011 1:50 pm

Dbug wrote:This is correct, but I believe it's the wrong way to do it.
Extending a way to make sure your program works ONLY on Oric 1 OR Oric Atmos is not what I want.
What I would really prefer is to have a way to provide a seamless system to give the address of the correct location in ROM, so whatever you write would work on the Oric 1 AND the Oric Atmos.

Sure that would take a bit more room in the executable, but most people who use the ROM calls are doing it from C anyway, so in the grand scheme of things it's not that much of a problem.
I am talking about that because i think there is not common headers for VIA address example (xa and C).

User avatar
Dbug
Site Admin
Posts: 2394
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug » Sun Aug 07, 2011 2:08 pm

For VIA and common hardware stuff, yes that would be nice to have because they are the same on Oric 1 and Atmos.

What I don't want is only the system addresses and ROM stuff which is different between machines: As soon as we make all that available people will use them, which means that we will be absolutely certain that this new software will absolutely not work on anything else than the model of machine the defines were defined for :)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests