Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #13742

Re: FIG-Forth on CP/M

Date 2012-07-09 08:01 -1000
From "Elizabeth D. Rather" <erather@forth.com>
Organization FORTH, Inc.
Newsgroups comp.lang.forth
Subject Re: FIG-Forth on CP/M
References <13ba64a5-3977-4ce2-bbd1-d5648e0a8577@googlegroups.com>
Message-ID <7KCdnc3ICIgRgWbSnZ2dnUVZ_qadnZ2d@supernews.com> (permalink)

Show all headers | View raw


On 7/9/12 5:49 AM, smp wrote:
> I can do something like 0 LIST, or 0 BLOCK EMIT.  When I do this,
> I can see that Forth is accessing blocks off of my disk drive,
> starting at Track 0, Sector 0.  This is scary, because if I were
> to attempt to save anything, I would be in danger of over-writing
> portions of my diskette which should not be over-written.

I'm sorry, I can't help you with a figForth manual, but I can comment 
that referencing Block 0 is a special case. The most recent block being 
interpreted is kept in the variable BLK, and a value of 0 means 
"interpret the keyboard buffer". So any source has to be in other 
blocks. In fully native (non-CP/M or DOS) systems, Block 0 may contain 
your bootstrap, which is another good reason to stay away from it.

Also, BLOCK returns an address, whereas EMIT expects an ASCII character. 
So, 10 BLOCK . might show you an address, and

	10 BLOCK 64 TYPE

...might display some text, if any has been put there.

I hope someone here can find your manual!

Cheers,
Elizabeth

-- 
==================================================
Elizabeth D. Rather   (US & Canada)   800-55-FORTH
FORTH Inc.                         +1 310.999.6784
5959 West Century Blvd. Suite 700
Los Angeles, CA 90045
http://www.forth.com

"Forth-based products and Services for real-time
applications since 1973."
==================================================

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

FIG-Forth on CP/M smp <stephen.m.pereira.sr@gmail.com> - 2012-07-09 08:49 -0700
  Re: FIG-Forth on CP/M "Elizabeth D. Rather" <erather@forth.com> - 2012-07-09 08:01 -1000
  Re: FIG-Forth on CP/M Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-07-09 13:18 -0500
  Re: FIG-Forth on CP/M "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-07-10 02:27 -0400
    Re: FIG-Forth on CP/M Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-07-10 18:40 +0000
      Re: FIG-Forth on CP/M Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-07-10 16:22 -0500
        Re: FIG-Forth on CP/M Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-07-11 01:08 +0000
  Re: FIG-Forth on CP/M "Ed" <invalid@nospam.com> - 2012-07-10 16:38 +1000
    Re: FIG-Forth on CP/M vandys@vsta.org - 2012-07-10 16:43 +0000
      Re: FIG-Forth on CP/M "Ed" <invalid@nospam.com> - 2012-07-11 14:10 +1000
        Re: FIG-Forth on CP/M vandys@vsta.org - 2012-07-11 15:56 +0000
    Re: FIG-Forth on CP/M smp <stephen.m.pereira.sr@gmail.com> - 2012-07-13 05:25 -0700
      Re: FIG-Forth on CP/M David Schultz <abuse@127.0.0.1> - 2012-07-13 18:10 -0500
      Re: FIG-Forth on CP/M "Ed" <invalid@nospam.com> - 2012-07-14 14:34 +1000
      Re: FIG-Forth on CP/M Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-07-14 11:13 +0000
      Re: FIG-Forth on CP/M smp <stephen.m.pereira.sr@gmail.com> - 2012-07-15 05:14 -0700
        Re: FIG-Forth on CP/M "Elizabeth D. Rather" <erather@forth.com> - 2012-07-15 08:31 -1000
          Re: FIG-Forth on CP/M smp <stephen.m.pereira.sr@gmail.com> - 2012-07-15 12:22 -0700
  Re: FIG-Forth on CP/M smp <stephen.m.pereira.sr@gmail.com> - 2012-07-10 04:41 -0700
    Re: FIG-Forth on CP/M albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2012-07-10 20:29 +0000
      Re: FIG-Forth on CP/M Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-07-10 21:20 +0000
      Re: FIG-Forth on CP/M "Ed" <invalid@nospam.com> - 2012-07-11 14:10 +1000
        Re: FIG-Forth on CP/M smp <stephen.m.pereira.sr@gmail.com> - 2012-07-11 04:15 -0700

csiph-web