Porting POEMS
May 7th, 2002

1. The Structure of POEMS

    POEMS consists of 3 layers, that is, CPU emulation layer,
pocket computer except CPU emulation layer and device depandent
layer.  The first two layers are completely abstract, therefore
you don't touch it for porting.
    All you need to do is to create the third layer.

e.g.)  The case of this distribution.
    esrh.h  esrh.c       ...  The CPU emulation layer.
    pokemun.h pokemun.c  ...  The Hardware except CPU emulation layer.
    xpc12xx.cc           ...  An implementation of device dependent
                              layer for UNIX (Motif/X11).

2. Required Functions for Device Dependent Layer.

    First, see "pokemun.h".  You will find several functions whose
name begins with "pel_".  These are the required functions for
porting POEMS.  You can see example code in "xpc12xx.cc".



That's all!

----
KOBAYASHI, Hiroyuki
hkoba@ctrl.titech.ac.jp
http://www.ctrl.titech.ac.jp/~hkoba/pocketcom/poems.html