RISC OS News on Drobe
RISC OS Search
containing
"Who cares? I, for one, rarely go to drobe..."
Welcome back guest  |  Login  |  Register Tuesday 7th October 
Login

drobe.co.uk
About Drobe
RISC OS News
Drobe Features
Alternatives
Bookmarks
Riscos.org.uk
Auctions
Events (shows)
AU issues
Tech Material
Wallpaper
Movies
File archives
SH eBooks
FAQs
Changelog

Interact
Forums
Online chat
Your webspace
BBC Emu(games!)
User gallery
RSS news &
comments
Submit news
Contact us

Quick Links
Open directory
Nutshells
ANS archives
ArcSite
RO Repository
Announce
RISCOS Ltd.
Castle

NTK
The Inquirer
The Register
OSNews
Slashdot
Google

Alternatives
NetBSD
ARM Linux
Iyonix Linux

Found Apps
 RISC OS Software !Avalanche
 RISC OS Software !Darts
 RISC OS Software !CFuncAnal
 RISC OS Software !TranTIFF+
 RISC OS Software !Dustbin
 RISC OS Software !NurseW
 RISC OS Software !Tally
 RISC OS Software !VideoLog
 RISC OS Software !USBKick
 RISC OS Software !Spr2Jpeg
Recent users
jmb is a RISC OS User jmb
JMBarber is a RISC OS User JMBarber
ajb is a RISC OS User ajb
scf@ is a RISC OS User scf@
OliverB is a RISC OS User OliverB
sascott is a RISC OS User sascott
Charlie is a RISC OS User Charlie
rjek is a RISC OS User rjek
flypig is a RISC OS User flypig
hEgelia is a RISC OS User hEgelia


Why donate?

Serving: 15GB
Fuel: caffeine
0 users online
25 guests
159 active accts 24359 comments

Webstats

 
RISC OS News Article
Omega PCI docs exist
Published: 24th Nov 2004, 15:47:01GMT  Source: drobe.co.uk
By Chris Williams
Page 1 of 1
But who wants them?
Omega motifWe can confirm that documentation covering the Omega PCI system, is available.

The techy bits
The PCI documentation is actually a good read and basically describes MicroDigital's PCI API: it all appears to make sense, SWIs are listed with entry and exit parameters and other details like DMA are discussed. Whoever wrote it has their head screwed on, and it's worlds apart from the statements previously released on MD's website.

The Omega PCI system is controlled by the PCIManager module, which manages the PCI bus and devices connected to it. It allows drivers to control individual devices, read information from them and configure interrupts.

The Omega motherboard also features a number of PCI devices in its Southbridge chip: UDMA IDE, two USB 1.1 controllers and a bridge to a another I/O chip that provides the floppy drive, serial and parallel ports and a PS/2 interfaces.

The politics
MicroDigital's API is very similar to Castle's PCI API, which is understandable as both APIs cater for the same industry standard PCI interface - but the APIs are not exactly the same.

They both share some of the same SWI names. For example, PCI_ReadID on an Iyonix and an Omega both read the vendor and ID information from a PCI card, but the entry and exit registers are defined differently. The Castle API has SWIs that the Omega API doesn't have, and vice-versa. Also, the way in which interrupts and memory mapping are handled differ between APIs. Finally, the MD API SWI base is 0x50E40 and the Castle base is 0x50380.

This isn't the first time we've seen an API split in the land of RISC OS. There's also the API divide between the Castle USB API and the Simtec USB API, which can't be helpful for potential developers, nor users who are torn over which USB card to buy, as each card has a different range of drivers.

It's a mild headache for developers who want to support PCI cards for both Iyonix and Omega users - but then, we can only think of one third party who's actively developing PCI stuff, and that's Simon Wilson. While his PCITV software for Iyonix users has been a success, he's been approached by only two users for an Omega port.


Until we were forwarded a copy of the documents earlier this month, we were a little concerned about whether or not such information existed. Once you've developed, released and marketed a new computer, you ideally want third party software developers to write drivers for your kit. Users will find your product more attractive if they can buy your machine and plug in all sorts of new stuff. It makes financial sense to therefore entice developers by offering lots of detailed and comprehendible guides and documents on how to write software for your hardware. So we're relieved to see that this information describing how to get code talking to the Omega's PCI hardware exists. Everyone wins.

Of course, the API text file originally came from an Omega owner and later passed onto us, and we didn't download or otherwise receive the text directly from MicroDigital. Castle earned themselves brownie points from the userbase by publishing their documentation online (the quality of the documentation is another matter, it's the thought that counts for some), while companies including RISCOS Ltd. are chastised for keeping their documentation for paying customers only. In ROL's case, they had a number of people working on the documentation at one point, which was eventually released to Select subscribers. Although the development team was in favour of publically releasing the docs, management had other ideas.

You never know: perhaps if MicroDigital were to publically release their hardware documentation, it could help boost the popularity of their kit.

Links
MicroDigital website

Related articles
Omega USB project contemplated
ROL cuts deal with Omega users
Fears over Omega refund saga

This article has been linked to, or is available in the following formats:  
 
 
 
 
 
[Printable] [Digg this] [Blog search]


imj(good user)www (+2.5)
Face
24/11/04 4:04PM
They cannot both have the same SWI base name "PCI" but different blocks. The allocation scheme is in place specifically to prevent this. One of the parties involved has made a large screwup.
piemmm(valued user) (+4.0)
Face
24/11/04 5:16PM
Not having looked at the documentation (so I don't know if it's technically feasable), would it not be possible to either:

1) Create a 'glue' module that translated the Iyonix PCI SWIs into something the Omega PCI SWI interface can use
2) Why did MD not just make it 'iyonic PCI compatible' (apart from maybe losing face)?
mrchocky(valued user) (+4.0)
Face
24/11/04 5:42PM
In reply to pie:

In reply to 1:
Get currying

In reply to 2:
MicroDigital's PCI probably predates the Iyonix. But the Iyonix one might based upon Phoebe's.
jmb(good user) (+1.5)
25/11/04 2:54AM
chox:
Based on the Phoebe PCI API docs I've got here, it's hard to say whether the Iyonix PCI implementation is based on it. There are some similarities (function handle in r3, for example), but the Iyonix API is far more complete (and loses some silliness like registering a driver with the PCI manager).
flypig(valued user) 
Face
25/11/04 4:50PM
It doesn't surprise me that the doc writer has "their head screwed on". Microdigital may have fallen down on the PR and timing side of their work, but technically they must be very competent.

It is a big shame there are now two standards. It's not just a problem for developers, but also for the end user who'll have to figure out which driver they need to download. Unfortunately the SWI registering process possibly makes it inevitable (can you have SWI chunks assigned to multiple competing companies?). That's why (IMHO) ROD need to publish open standards for this kind of thing, even if they don't develop the software themselves.
hzn(valued user) (+1.5)
25/11/04 5:11PM
In reply to imj:

True! I hope that that is sorted out quickly! Who registeres SWIs by the way?

In reply to piemmm:

1) no, make a glue to make Omega IYONIX compatible! Then Omega could perhaps use existing IYONIX drivers like PCITV.
2) it an IYONIX with a "X" at the end...

In reply to jmb:

Well if there are similarities and it is more complete then that sounds like "based on" to me.

In reply to flypig:

I like that "ROD need to publish open standards ... even if they don't develop software"... They might have published some standards but probably to paying Select subscribers only and as for the second quoted part of the sencence: Nice one ;-)
spellinn (+1.5)
25/11/04 5:51PM
In reply to hzn:

Pineapple/Alan Glover administer the filetype/SWI/Module registration database via RISCOS Developments. Email allocations at riscos.com

Who gets SWI names like "PCI_" depends on who registers them first. Anyone using commercial software which uses unregistered SWI/Error chunks are being extremely silly!

Cheers,

/Neil/
jmb(good user) 
26/11/04 12:33AM
In reply to hzn:
Quite honestly, the similarities aren't sufficient to make any kind of sensible judgment either way. I'd make the Phoebe docs available so you could see for yourself, but I've no idea about legal issues relating to them (bear in mind they were released to registered developers only).
jb 
30/11/04 10:03AM
issue: SWI chunks are allocated via a formal email request mechanism via either [Email: allocate [at] riscos.com ] or [Email: allocate [at] iyonix.com ] .. the SWI chunk 0x50E40 reported above is already allocated to another name and use. It IS important that suppliers of RISC OS based software correctly follow the allocation mechanism if complete mayhem is to be avoided ..

As to duplicate APIs .. perhaps not desirable, but not always avoidable..

JB
 

Top Tip

Acorn user magazine

Why not visit our Acorn User Magazine section and browse through old BBC, Acorn and RISC OS magazines?
 
Headline news
Iyonix range taken off the market
27th Sep 2008

Wakefield 2008 show photos
28th Apr 2008

Wakefield 2008 show live news
26th Apr 2008

Who would want an A9home PDA?
24th Apr 2008

Gallery photo


From: egel's album

Older news
RISC OS 6.10 available to Select subscribers
24th Apr 2008

Animation and typing applications really released
24th Apr 2008

Wakefield 2008 show preview
22nd Apr 2008

R-Comp unveils new PDF authoring package
22nd Apr 2008

NetSurf bags GBP10K investment from Google
21st Apr 2008

Apple Mac VirtualRiscPC leaves beta
20th Apr 2008

Blu-ray disc burn breakthrough
14th Apr 2008

PDF import support for ArtWorks
13th Apr 2008

Wakefield 2008 show theatre line-up revealed
13th Apr 2008

Features
A9home: two years on
4th Dec 2007

A9home DIY laptop: first pictures
1st Dec 2007

Software hosted by Drobe: Your guide
5th Nov 2007

 

Top | Design and concept © Fudgecake Design, 1999 - 2001. Content © The Drobe Team, 1999 - 2008. 
Click here for more information and terms and conditions.