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


Groups > comp.lang.forth > #43352

Re: Stoked

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: Stoked
Date Sun, 08 Nov 2015 01:31:19 -0800
Organization A noiseless patient Spider
Lines 23
Message-ID <87d1vkvnvc.fsf@nightsong.com> (permalink)
References <d8be4416-4e14-49f8-b54f-54665bd7639a@googlegroups.com> <ba0d541b-dec8-466b-b5a2-9752323f574d@googlegroups.com> <n0qtc8$9ta$2@dont-email.me> <284a0c81-1d04-406d-a84b-39d4617375f3@googlegroups.com> <n0r3oc$5aa$1@dont-email.me> <n1ldkh$1nd$1@speranza.aioe.org> <n1lebj$efb$1@dont-email.me> <87egg1wu31.fsf@nightsong.com> <ZcidnVC92b6A3qPLnZ2dnUU7-KWdnZ2d@supernews.com> <87a8qpwl3x.fsf@nightsong.com> <n1lqve$1fh$1@dont-email.me> <87611dwio9.fsf@nightsong.com> <n1lvsi$mdb$1@dont-email.me> <871tc1wg1b.fsf@nightsong.com> <n1mp2q$luv$1@dont-email.me> <a36bbee3-cf47-4a17-99f2-7762981ec44e@googlegroups.com> <n1n0oa$acb$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="1a9f5856d25720e42c135b990c70bebb"; logging-data="21527"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BEuBvRg7IE33Uir4vGL27"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:JEGnBwOgVwjKe1fklzqDRixgjgU= sha1:chwAQnWK0GWpMhSFQQsYe5QTW9Y=
Xref csiph.com comp.lang.forth:43352

Show key headers only | View raw


rickman <gnuarm@gmail.com> writes:
> Can't I just make a few changes to an existing forth by loading a file
> which makes the required operators 32 bit? 
> : + D+ ;    etc...

Maybe something like that can help, but remember SWAP becomes 2SWAP,
2SWAP becomes 4SWAP etc.  2OVER becomes something that juggles 12 stack
cells!  But that's probably about the worst, so it's enough to just have
a static dozen cells of memory set aside for those operations.  And
there's the presumption on a 32 bit system that a cell is 4 bytes, which
gets weird on a 16 bit system.

Bit operations are also ugly, e.g. rotating a 32-bit word by 7 bits
in a 16-bit Forth.  Using asm primitives would surely be nicer.

> In this case, why do I care that the cell size is 32 bits rather than
> 16?  Since when will a 16 bit application not work on a 32 bit forth?
> I think any ANS compliant code will run in this case, no?  

The only way to know is to try it.  Maybe I can write some 16 bit code
and test it on a 32 bit system, but I'd also need to test it on a 16 bit
system, and right now I don't know of a 16 bit Forth that works on any
of the computers I have available (x86 and ARM).

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


Thread

Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 09:04 -0700
  Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 09:18 -0700
    Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-28 12:35 -0400
      Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 09:54 -0700
        Re: Stoked lehs <skydda.barnen@gmail.com> - 2015-10-28 10:35 -0700
        Re: Stoked Jason Damisch <jasondamisch@yahoo.com> - 2015-10-28 11:21 -0700
        Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-28 14:24 -0400
          Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 13:12 -0700
            Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-28 16:31 -0400
          Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 14:55 -0700
            Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-29 01:36 -0400
          Re: Stoked Alfred Singlestone <vitonis@gmail.com> - 2015-10-30 06:01 -0700
            Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-30 13:22 -0400
          Re: Stoked Marcos Cruz <use_the_contact_page@programandala.net> - 2015-11-07 17:50 +0000
            Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-07 13:04 -0500
              Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-07 10:19 -0800
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 08:29 -1000
                Re: Stoked hughaguilar96@gmail.com - 2015-11-07 13:28 -0800
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-07 13:33 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-07 16:40 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-07 14:25 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-07 18:03 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-07 15:22 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 01:13 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-07 22:35 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 01:58 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-07 23:17 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 02:49 -0500
                Re: Stoked Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-11-08 00:06 -0800
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 01:40 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 15:18 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 13:31 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 17:19 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-11 20:49 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-12 00:57 -0500
                Re: Stoked hughaguilar96@gmail.com - 2015-11-11 22:24 -0800
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-11 23:34 -0800
                Re: Stoked Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-11-12 00:03 -0800
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-12 19:37 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-12 15:24 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-12 13:18 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-12 16:40 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-12 20:59 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-13 01:50 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-12 23:11 -0800
                Re: Stoked forthisit@gmail.com - 2015-11-12 13:47 -0800
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-12 16:27 -0800
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-12 12:18 -1000
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-13 00:28 -0800
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-11 22:37 -1000
                Re: Stoked hughaguilar96@gmail.com - 2015-11-12 23:37 -0800
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-09 14:19 +0000
                Re: Stoked Lars Brinkhoff <lars.spam@nocrew.org> - 2015-11-23 07:47 +0100
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-23 11:27 +0000
                Re: Stoked Lars Brinkhoff <lars.spam@nocrew.org> - 2015-11-23 13:43 +0100
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-08 12:49 -1000
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 19:20 -0500
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 23:44 -1000
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-08 18:23 +0000
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 10:32 -0800
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-08 18:45 +0000
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 10:53 -0800
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-08 21:25 +0000
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 14:09 -0800
                Re: Stoked "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-11-09 05:32 -0500
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-09 14:58 +0000
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 23:42 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 21:11 -0800
                Re: Stoked Lars Brinkhoff <lars.spam@nocrew.org> - 2015-11-15 12:50 +0100
                Re: Stoked Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-11-07 23:56 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 03:24 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 01:31 -0800
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 23:57 -1000
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 02:18 -0800
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-08 08:33 -1000
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-09 00:07 -0500
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-08 23:49 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 21:06 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-09 00:20 -0500
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-08 22:51 -0800
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-09 02:22 -0500
                Re: Stoked Alfred Singlestone <vitonis@gmail.com> - 2015-11-10 04:32 -0800
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-10 13:48 +0000
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-10 16:17 -0500
                Re: Stoked "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-11-10 17:26 -0500
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-08 21:50 -1000
                Re: Stoked stephen@mpeforth.com (Stephen Pelc) - 2015-11-09 12:15 +0000
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-09 15:09 +0000
                Re: Stoked Lars Brinkhoff <lars.spam@nocrew.org> - 2015-11-24 09:47 +0100
                Re: Stoked stephen@mpeforth.com (Stephen Pelc) - 2015-11-24 12:54 +0000
                Re: Stoked Lars Brinkhoff <lars.spam@nocrew.org> - 2015-11-24 15:03 +0100
                Emulating a 16-bit Forth Lars Brinkhoff <lars.spam@nocrew.org> - 2015-11-25 13:18 +0100
                Re: Emulating a 16-bit Forth Lars Brinkhoff <lars.spam@nocrew.org> - 2015-11-25 14:08 +0100
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-09 14:30 +0000
                Re: Stoked Bernd Linsel <bl1@gmx.com> - 2015-11-09 18:27 +0100
                Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-10 00:50 -0800
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 23:52 -1000
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 23:16 -1000
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 23:07 -1000
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-08 17:58 +0000
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 12:00 -1000
                Re: Stoked Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-08 17:49 +0000
        Re: Stoked stephen@mpeforth.com (Stephen Pelc) - 2015-10-28 23:24 +0000
          Re: Stoked Jason Damisch <jasondamisch@yahoo.com> - 2015-10-28 17:30 -0700
          Re: Stoked Waldek Hebisch <hebisch@antispam.uni.wroc.pl> - 2015-10-29 02:40 +0000
            Re: Stoked stephen@mpeforth.com (Stephen Pelc) - 2015-10-29 10:11 +0000
          Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 21:07 -0700
            Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-10-28 21:16 -0700
            Re: Stoked franck.bensusan@gmail.com - 2015-10-29 01:35 -0700
            Re: Stoked stephen@mpeforth.com (Stephen Pelc) - 2015-10-29 10:16 +0000
              Re: Stoked lehs <skydda.barnen@gmail.com> - 2015-10-29 03:35 -0700
                Re: Stoked lehs <skydda.barnen@gmail.com> - 2015-10-29 03:48 -0700
          Re: Stoked mhx@iae.nl - 2015-10-29 11:31 -0700
            Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-29 12:01 -0700
              Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-10-29 12:26 -0700
            Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-29 15:29 -0400
              Re: Stoked mhx@iae.nl - 2015-10-29 13:27 -0700
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-29 16:48 -0400
                Re: Stoked josv@planet.nl - 2015-10-29 14:58 -0700
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-30 01:36 -0400
                Re: Stoked josv@planet.nl - 2015-10-30 04:34 -0700
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-30 13:28 -0400
                Re: Stoked josv@planet.nl - 2015-10-30 12:05 -0700
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-30 15:32 -0400
                Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-10-30 18:53 -1000
                Re: Stoked josv@planet.nl - 2015-11-01 04:28 -0800
                Re: Stoked hughaguilar96@gmail.com - 2015-11-03 22:27 -0800
                Re: Stoked mhx@iae.nl - 2015-10-29 16:47 -0700
                Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-30 01:33 -0400
                Re: Stoked mhx@iae.nl - 2015-10-31 00:55 -0700
                Re: Stoked stephen@mpeforth.com (Stephen Pelc) - 2015-10-30 11:52 +0000
              Re: Stoked josv@planet.nl - 2015-10-29 14:49 -0700
              Re: Stoked stephen@mpeforth.com (Stephen Pelc) - 2015-10-30 11:50 +0000
    Re: Stoked Hans Bezemer <the.beez.speaks@gmail.com> - 2015-10-28 18:39 +0100
      Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 11:11 -0700
        Re: Stoked Hans Bezemer <the.beez.speaks@gmail.com> - 2015-10-28 20:01 +0100
        Re: Stoked hughaguilar96@gmail.com - 2015-10-28 12:34 -0700
          Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 13:09 -0700
    Re: Stoked François <francois.ganza@wanadoo.fr> - 2015-10-28 15:25 -0700
      Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 21:01 -0700
        Re: Stoked "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-10-29 01:58 -0400
          Re: Stoked Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-10-28 23:34 -0700
        Re: Stoked Lars Brinkhoff <lars.spam@nocrew.org> - 2015-10-29 08:56 +0100
    Re: Stoked "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-10-28 18:41 -0400
      Re: Stoked josv@planet.nl - 2015-10-29 05:28 -0700
      Re: Stoked "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-12-12 11:25 -0500
        Re: Stoked "Elizabeth D. Rather" <erather@forth.com> - 2015-12-12 08:43 -1000
          Re: Stoked hughaguilar96@gmail.com - 2015-12-16 13:45 -0800
            Re: Stoked hughaguilar96@gmail.com - 2015-12-17 10:26 -0800
        Re: Stoked Rob Sciuk <rob@controlq.com> - 2015-12-13 23:29 -0500
          Re: Stoked Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-12-13 22:31 -0800
    Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-10-28 15:52 -0700
      Re: Stoked anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-10-29 16:57 +0000
        Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-10-29 12:36 -0700
          Re: Stoked anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-10-31 14:57 +0000
            Re: Stoked Bernd Paysan <bernd.paysan@gmx.de> - 2015-10-31 20:25 +0100
        Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-11-03 20:39 -0800
    Re: Stoked Pablo Hugo Reda <pabloreda@gmail.com> - 2015-10-28 16:27 -0700
    Re: Stoked Alfred Singlestone <vitonis@gmail.com> - 2015-10-30 05:57 -0700
    Re: Stoked "HAA" <someone@microsoft.com> - 2015-11-02 13:15 +1100
      Re: Stoked François <francois.ganza@wanadoo.fr> - 2015-11-02 02:08 -0800
  Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-10-28 09:28 -0700
    Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 09:37 -0700
      Re: Stoked Paul Rubin <no.email@nospam.invalid> - 2015-10-28 10:28 -0700
  Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 10:52 -0700
    Re: Stoked anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-10-28 18:14 +0000
  Re: Stoked François <francois.ganza@wanadoo.fr> - 2015-10-28 15:20 -0700
    Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-28 21:16 -0700
  Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-10-30 12:13 -0700
    Re: Stoked rickman <gnuarm@gmail.com> - 2015-10-30 15:34 -0400
  Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-11-07 13:57 -0800
    Re: Stoked rickman <gnuarm@gmail.com> - 2015-11-07 17:19 -0500
  Re: Stoked François <francois.ganza@wanadoo.fr> - 2015-11-09 00:10 -0800
  Re: Stoked Chris Curl <ccurl609@gmail.com> - 2015-12-12 18:52 -0800

csiph-web