com.tapina.robe.swi.clib
Class Kernel

java.lang.Object
  extended bycom.tapina.robe.swi.clib.Kernel

public class Kernel
extends java.lang.Object

Class to hold the kernel stubs.


Method Summary
 Stub commandString()
           
 Stub dummy(int stubId)
           
 Stub exit()
           
 Stub fpavailable()
          This function tests for the presence of either the floating point co-processor or the floating point emulator module (FPE).
static Kernel getInstance()
           
 Stub init()
           
 Stub os_get()
           
 Stub osbyte()
          This function calls the OS_Byte SWI with the register R0 set to the value passed in a1, and registers R1 and R2 set to the values pointed to by a2 and a3.
 Stub setreturncode()
           
 Stub swi()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Kernel getInstance()

dummy

public final Stub dummy(int stubId)

init

public final Stub init()

exit

public final Stub exit()

setreturncode

public final Stub setreturncode()

commandString

public Stub commandString()

swi

public Stub swi()

os_get

public Stub os_get()

osbyte

public Stub osbyte()
This function calls the OS_Byte SWI with the register R0 set to the value passed in a1, and registers R1 and R2 set to the values pointed to by a2 and a3. The int returned contains R1 in its bottom byte, R2 in the second byte, and 1 in the third byte if the carry flag is set. Returns: Values returned, or error as follows: (-1) Carry flag is set (call failed), (-2) OS error occurs.

Returns:
Stub implementing desired functionality

fpavailable

public Stub fpavailable()
This function tests for the presence of either the floating point co-processor or the floating point emulator module (FPE). Returns: 0 if floating point is not available.

Returns:
Stub implementing desired functionality


Copyright © 2003-2005 . All Rights Reserved.