🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2986

Need help porting some Manx code to Lattice

#2986
From: Steve Snodgrass
Date: Sun, 18 Mar 1990 19:18
30 lines
1484 bytes
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." \/
Technical Details
Message-ID: <124.260398c1@uoft02.utoledo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!uoft02!grx1042

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!uoft02!grx1042
From: grx1042@uoft02.utoledo.edu (Steve Snodgrass)
Newsgroups: comp.sys.amiga.tech
Subject: Need help porting some Manx code to Lattice
Message-ID: <124.260398c1@uoft02.utoledo.edu>
Date: 18 Mar 90 19:18:41 GMT
Organization: SUBTEC
Lines: 30