Drobe logo

RISC OS 5 HAL reaches 26 bit users


Published on 24th Mar 2003, 20:48:58, source is drobe.co.uk
By Chris Williams

Theo brings the OS 5 Hardware Abstraction Layer spec to RISC OS 3 and 4

Theo Markettos has announced today the release of his HAL26 software, which provides the RISC OS 5 Hardware Abstraction Layer specification to RISC OS 3 and RISC OS 4 - the 26 bit OS variants. A Hardware Abstraction Layer is designed to provide a generic interface to a computer's hardware so that software and the operating system kernel doesn't have to concern itself with device specific details. For example, if a programmer wishes to set a hardware timer countdown, she calls HAL_TimerSetPeriod - the programmer doesn't care how the computer hardware goes about setting the timer or indeed what specific chip is providing the timer function. It's all about providing a generic interface.

As Theo states in his announcement, his HAL26 module "allows the programmer easy access to interrupt control, timers and counters in a machine-independent manner." The source code to HAL26 is also provided (distributed under the Artistic licence) and is for 26 bit OSes only.

Theo's module essentially provides the OS_Hardware SWI as defined in Castle Technology's Iyonix HAL documentation and a few Podule_ SWIs for pre-RISC OS 3.5 machines. The goal is to allow podule drivers and other hardware related code to be written so that they work across the entire RISC OS hardware range, from the A310 to the Iyonix.

Links
HAL26 version 0.04
RISC OS 5 HAL open sourced

Related articles
RISC OS artist wows public with digital artwork
RISC OS 6.10 available to Select subscribers
Show your love for RISC OS on Facebook

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


Design and concept (c) Fudgecake Design, 1999 - 2001. Content (c) The Drobe Team, 1999 - 2006. See www.drobe.co.uk for more information. For non-commercial personal use only.