head 1.1; branch 1.1.1; access ; symbols DEVEL:1.1.1.1 HEAD:1.1.1; locks ; strict; comment @# @; 1.1 date 2001.03.16.18.12.33; author jallali; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.16.18.12.33; author jallali; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @

Overview | Package | Class | Tree | Deprecated | Index | Help
| EJCL Xtreme for PalmOS
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.oti.palmos
Class OSBase

    java.lang.Object
      |
      +--com.ibm.oti.palmos.OSBase

Direct Known Subclasses:
  MemPtr, NetLib, OS, OSJcl, OSPrim

public class OSBase
extends Object

OSBase wraps C global functions and fields.

Field Summary
`static int` | `BYTE`
`static int` | `INT` Flags used to describe the arguments passed to a trap function.
`static long` | `retAddrFlag`
`static long` | `retDataFlag` Binary flag for ORing with trap number for following trap calls to indicate that data is returned instead of a pointer.
`static int` | `SHORT`

Constructor Summary
`OSBase()`

Method Summary
`static int` | `getChar(int pointer)`
`static int` | `getInt(int pointer)`
`static int` | `getLong(int pointer)`
`static int` | `getPointer(int pointer)`
`static int` | `getShort(int pointer)`
`static int` | `getUChar(int pointer)`
`static int` | `getUInt(int pointer)`
`static int` | `getULong(int pointer)`
`static int` | `getUShort(int pointer)`
`static void` | `memCopy(byte[] dest, int offset, int source, int len)`
`static void` | `memCopy(int dest, byte[] source, int offset, int len)` Native arraycopy methods
`static void` | `setChar(int pointer, int value)`
`static void` | `setInt(int pointer, int value)`
`static void` | `setLong(int pointer, int value)`
`static void` | `setPointer(int pointer, int value)`
`static void` | `setShort(int pointer, int value)`
`static void` | `setUChar(int pointer, int value)`
`static void` | `setUInt(int pointer, int value)`
`static void` | `setULong(int pointer, int value)`
`static void` | `setUShort(int pointer, int value)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, int arg4, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, int arg3, long trapNo)`
`static int` | `trap(int arg0, int arg1, int arg2, long trapNo)`
`static int` | `trap(int arg0, int arg1, long trapNo)`
`static int` | `trap(int arg0, long trapNo)`
`static int` | `trap(long trapNo)`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### retDataFlag

    public static final long retDataFlag

  Binary flag for ORing with trap number for following trap calls to indicate that data is returned instead of a pointer. The trap selector to be passed in D2 can be ORed into the trap number as well, in bits 0x00FF0000.

### retAddrFlag

    public static final long retAddrFlag

### INT

    public static final int INT

  Flags used to describe the arguments passed to a trap function. For example, if calling trapNo with INT, SHORT, BYTE the trap number is (long)(trapNo | ((((INT << 2) | SHORT) << 2) | BYTE) << 32

### SHORT

    public static final int SHORT

### BYTE

    public static final int BYTE

Constructor Detail

### OSBase

    public OSBase()

Method Detail

### memCopy

    public static void memCopy(int dest,
                               byte[] source,
                               int offset,
                               int len)

  Native arraycopy methods

### memCopy

    public static void memCopy(byte[] dest,
                               int offset,
                               int source,
                               int len)

### trap

    public static int trap(long trapNo)

### trap

    public static int trap(int arg0,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           int arg8,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           int arg8,
                           int arg9,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           int arg8,
                           int arg9,
                           int arg10,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           int arg8,
                           int arg9,
                           int arg10,
                           int arg11,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           int arg8,
                           int arg9,
                           int arg10,
                           int arg11,
                           int arg12,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           int arg8,
                           int arg9,
                           int arg10,
                           int arg11,
                           int arg12,
                           int arg13,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           int arg8,
                           int arg9,
                           int arg10,
                           int arg11,
                           int arg12,
                           int arg13,
                           int arg14,
                           long trapNo)

### trap

    public static int trap(int arg0,
                           int arg1,
                           int arg2,
                           int arg3,
                           int arg4,
                           int arg5,
                           int arg6,
                           int arg7,
                           int arg8,
                           int arg9,
                           int arg10,
                           int arg11,
                           int arg12,
                           int arg13,
                           int arg14,
                           int arg15,
                           long trapNo)

### getChar

    public static int getChar(int pointer)

### getUChar

    public static int getUChar(int pointer)

### getShort

    public static int getShort(int pointer)

### getUShort

    public static int getUShort(int pointer)

### getInt

    public static int getInt(int pointer)

### getUInt

    public static int getUInt(int pointer)

### getLong

    public static int getLong(int pointer)

### getULong

    public static int getULong(int pointer)

### getPointer

    public static int getPointer(int pointer)

### setChar

    public static void setChar(int pointer,
                               int value)

### setUChar

    public static void setUChar(int pointer,
                                int value)

### setShort

    public static void setShort(int pointer,
                                int value)

### setUShort

    public static void setUShort(int pointer,
                                 int value)

### setInt

    public static void setInt(int pointer,
                              int value)

### setUInt

    public static void setUInt(int pointer,
                               int value)

### setLong

    public static void setLong(int pointer,
                               int value)

### setULong

    public static void setULong(int pointer,
                                int value)

### setPointer

    public static void setPointer(int pointer,
                                  int value)

Overview | Package | Class | Tree | Deprecated | Index | Help
| EJCL Xtreme for PalmOS
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

@ 1.1.1.1 log @import initial @ text @@