68332: How to call a high-level Forth word from assembler?

From: Noel Henson <noel_at_noels-lab.com>
Date: Tue, 29 Oct 2002 15:56:05 -0800

How to reply: Use your email client's "Reply All" function to reply to the
entire list (preferred). Use "Reply" for a private reply to the sender.
--------------------------------------------------------------------------

Leon, Elizabeth, whoever,

First of all thanks for the great SwiftX and SwiftForth products. They
both rock!

Now on to my problem....

I am programming a board that uses a powerfail indicator on the NMI.
When power is going down I can only enter the interrupt service routine,
but never leave. I need to call a high-level Forth word that does a
graceful shutdown of the application at this point. It is not feasible
to duplicate the work already done in assembler. How do I go about this?
What are the caveats?

Thanks!
Noel

----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe swiftx" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/swiftx -- check them out!
----------------------------------------------------------------------
THIS LIST IS NOT FOR BUG REPORTS! Send bug reports to support_at_forth.com.
Received on Tue Oct 29 2002 - 15:55:45 PST


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 09-Feb-2012. Archive updated nightly.