Yann Guidon Mon Feb 5 11:50:23 MET 2001

Tue Mar 6 14:00:35 MET 2001
The latest versions of the preliminary F-CPU emulator are available at http://members.aol.com/carsten899/f-cpu/

    From: Carsten899@aol.com
    Date: Mon, 5 Feb 2001 00:36:37 EST
    To: f-cpu@yahoogroups.com
    Subject: [f-cpu] Virtual FCPU (64Bit) V0.2 - was: Some open questions

    >I have also enclosed another file with the opcodes
    >in a "clean" organisation (even though everything is temporary).
    >it can help you.

    The opcode map is already included in the virtual FCPU. The result of my
    long-weekend-hack (sourcefiles) are found at:
    http://members.aol.com/carsten899/f-cpu
    There are three sourcefiles:

    fcpu.h  - interface definition to virtual f-cpu
    fcpu.c  - virtual fcpu and fcpu assembler (i like big files :-) )
    fcpudbg.c   - simple command line shell

    I make these early versions public, because i hope someone out there is
    interested in doing some testing. I am sure there are many bugs.

    Some instructions are new (not mentioned in V0.2 manual) like OP_SCATTER,
    OP_GATHER or OP_LOADMI so they are not implemented.

    >>the memory protection issue can give you serious troubles.

    which troubles do you think of?

    >years ago, i had overcome this problem : using only arrays of bytes.
    >that's all. Every operation was performed with bytes. hyper-portable,

    all register an memory access is abstracted by functions calls like "give me
    word x from reg y" ( fcpu_reg_get_doublebyte ), the problem arises in the
    arithmetics routines in the current implementation.

    >at the cost of some serious speed

    until stable definition (which i think will be manual 1.0) i would like to
    concentrate on correct implementation, not speed.

    Best regards
    Carsten

These files are currently mirored here :

fcpu.h - interface definition to virtual f-cpu
fcpu.c - virtual fcpu and fcpu assembler (i like big files :-) )
fcpudbg.c- simple command line shell
BTW since it is a prototype etc. NO WARANTY etc... you're warned. It's just here for convenience.