[comp.lang.forth] Odds and Ends

ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) (04/14/91)

Category 3,  Topic 12
Message  31       Fri Apr 12, 1991
G.LEFAVE [Gene]              (Forwarded) 
 
> Reply-To: wmb%MITCH.ENG.SUN.COM@SCFVM.GSFC.NASA.GOV
 > Organization: The Internet


> I have a fair amount of experience in this area;  I have developed >"call
 > compilers" to allow Forth to call external routines for about a >dozen

Mitch,

I've been experimenting with external calls on DOS machines. Intuitively it
seems like this ought to be easy.  But the format of the DOS object code
completely escapes me.  I beleive that this is one of the reason that windows
created the new DLL format.  Although I can't find out what that is.

Have you had any success using DOS?

Gene
-----
This message came from GEnie via willett.  You *cannot* reply to the author
using e-mail.  Please post a follow-up article, or use any instructions
the author may have included (USMail addresses, telephone #, etc.).
Report problems to: dwp@willett.pgh.pa.us _or_ uunet!willett!dwp

ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) (04/28/91)

Category 3,  Topic 12
Message 32        Fri Apr 26, 1991
G.LEFAVE [Gene]              at 14:19 CDT
 
Dennis

I just came across a strange result with pf68K that I'm running on the 68020. 
The following code:

CODE EX  R )+ I  MOV  NEXT

: TT EX ." ????" ;

prints the ???? when you run TT.   If I change the NEXT to ,NEXT it doesn't,
as expected.    I don't understand this.  Can you think of any reason why this
should be?

Gene
-----
This message came from GEnie via willett.  You *cannot* reply to the author
using e-mail.  Please post a follow-up article, or use any instructions
the author may have included (USMail addresses, telephone #, etc.).
Report problems to: dwp@willett.pgh.pa.us _or_ uunet!willett!dwp

ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) (04/28/91)

Category 3,  Topic 12
Message 33        Fri Apr 26, 1991
D.RUFFER [Dennis]            at 21:54 EDT
 
Re: G.LEFAVE [Gene]

 > CODE EX  R )+ I  MOV  NEXT

Isn't this what EXIT does?

 > : TT EX ." ????" ;
 >
 > prints the ???? when you run TT.

It does?  Hmmm

 > If I change the NEXT to ,NEXT it doesn't,

Remind me again what the difference is between the two.  I've seen ,NEXT but I
can't remember what it does and my 68K systems are at work.  Is my assumption
correct the ,NEXT is an inline version of the jump to NEXT?

I'm mystified Gene!  I'll have to try it at work before I can say more.

   {B-{)>   DaR
-----
This message came from GEnie via willett.  You *cannot* reply to the author
using e-mail.  Please post a follow-up article, or use any instructions
the author may have included (USMail addresses, telephone #, etc.).
Report problems to: dwp@willett.pgh.pa.us _or_ uunet!willett!dwp

ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) (04/30/91)

Category 3,  Topic 12
Message 34        Mon Apr 29, 1991
G.LEFAVE [Gene]              at 12:37 CDT
 
Dennis,

Re:EXIT

Guess what, today it worked as expected. <grin>  I spent all afternoon Fri.
repeating that test.  This morning it worked as expected.

Gene
-----
This message came from GEnie via willett.  You *cannot* reply to the author
using e-mail.  Please post a follow-up article, or use any instructions
the author may have included (USMail addresses, telephone #, etc.).
Report problems to: dwp@willett.pgh.pa.us _or_ uunet!willett!dwp