Author Message

 Date: 01-04-90 (18:11)              Number: 2751 (Echo)
   To: ALL                           Refer#: NONE
 From: ZAFAR ESSAK                     Read: (N/A)
 Subj: TCOM SLAYS GIANT              Status: PUBLIC MESSAGE

 Here's a reply to my previous message for help with Tom Zimmer's TCOM
 target compiler creating "small" applications that gobble up huge
 amounts of RAM.  How's that saying go?  When all else fails read the
 examples.  Sure enough Tom provides an example of initializing a target
 application to use the minimum amount of RAM.  The following is taken
 from his SHELL example in case anyone else is interested.
 : main   ( -- )          \ the main entry point for the program
     DECIMAL                         \ always select decimal
     INIT-CURSOR                     \ get intial cursor shape
     50 FUDGE !                      \ init MS timer, GUESS!!
     CAPS ON                         \ ignore cAsE
     ?DS: SSEG !                     \ init search segment
     DOSIO_INIT                      \ init EMIT, TYPE & SPACES
     here 500 + dup sp0 ! sp!
     here 700 + dup rp0 ! rp!
     here 750 + negate paragraph negate ADJ_MEMORY
     DOS_TO_TIB                      \ move command tail to TIB
     COMSPEC_INIT                    \ init command specification
     bye ;                           \ after setting stacks, you
                                     \ can't just terminate, you
                                     \ must use bye.

 So there it is.
  * Via Qwikmail 2.01

 NET/Mail : British Columbia Forth Board - Burnaby BC - (604)434-5886  
This message came from GEnie via willett through a semi-automated program.

Wed, 24 Jun 1992 09:33:34 GMT  
 [ 1 post ] 

 Relevant Pages 


2. TCOM: Using tcom to create a Hyperlink in Excel

3. TCOM: how to access Excell worksheets with tcom

4. 0.01 dragons slain

5. slow slew rate signal...

6. A whole slew of Mac questions for VisualWorks 1.0

7. One more "Giant Canvas" question

8. giant index files

9. clever lawyers, public-relations brainstorms and a giant corporation's ardor

10. clever lawyers, public-relations brainstorms and a giant corporation's ardor

11. Z-world Little Giant drivers


Powered by phpBB® Forum Software