[comp.sys.amiga.tech] Need help porting some Manx code to Lattice

grx1042@uoft02.utoledo.edu (Steve Snodgrass) (03/19/90)

Well, I'm trying to port a program written in Manx to Lattice, and I've
encountered 2 problems so far.  First, a couple of things Lattice doesn't seem
to recognize:

The _dev structure and _devtab, which seems to be an array of _dev.
Also, some stuff like _UNIT and a few others.

Are these Manx specific?  If so, what are their Lattice equivalents?

Also, there is one function which uses in-line assembly (argh).  It is of the
form:

func() {
#asm
....code.....
#endasm
}

Is there some easy way to move this to an external module that I can assemble,
then figure out how to supply the func() call to C so it knows how to handle
it?

All responses appreciated!
 
/\=====================================================================/\
\/ Reality: Steve Snodgrass  |"Hand over hand/Doesn't seem so much/    \/
/\  -^-^- Cyberspace -^-^-   | Hand over hand/Is the strength of the   /\
\/ GRX1042@uoft02.utoledo.edu| common touch" -Rush, Hand Over Fist     \/
/\ GRX1042@uoft02.BITNET     |"If it's broke, send it back.  If it     /\
\/ uoft02::GRX1042 (DECnet)  | works, take it apart and find out why." \/