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


Groups > comp.lang.forth > #32073

Re: PETTIL - a 6502 Forth

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: PETTIL - a 6502 Forth
Date 2014-06-30 14:02 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2014Jun30.160205@mips.complang.tuwien.ac.at> (permalink)
References <2afc5c79-c840-4ac0-b375-d5a75ecfb724@googlegroups.com>

Show all headers | View raw


chitselb <chitselb@gmail.com> writes:
>self-doubt area #1)
>The PET has a 1000 character screen, inadequate for editing 1024 byte block=
>s, at least with the native screen editor that I wanted to use.  It will ev=
>entually have the ability to load from sequential files too, but I wanted a=
> screen editor.  My compromise was metadata, and I'm not entirely unhappy w=
>ith it even though it lacks the spirit of purity that I remember from my ea=
>rly=20
>Forth days. =20

On the C64 with it's 40*25=1000char screen, I use screens in 40x25
format (and ignored the additional 24 bytes).  64-char lines on a 40
wide screen is not practical.  Concerning 64*16 source, I did not have
to deal with that; but if I had to, it still would have worked,
because the text interpreter uses the whole screen as one line and
does not care for how it is formatted (I think we did not have "\"
then, where it makes a difference).

I think blocks are the wrong technology for tape drives, though; they
are intended for disk drives.  I guess you can get ok performance for
loading files if the blocks are arranged in sequence, but once you
make use of random access, performance will be even slower than usual.

>self-doubt area #3)
>I'm planning to treat screen-shaped blocks in the same way as Commodore BAS=
>IC, with 40/80 line terminations as whitespace.  It would seem more natural=
> on this machine.  The linewrap information is already carried in a screen =
>block.

Screens in Forth are just 1024 chars without line breaks, and the text
interpreter does not know about line breaks. If the last char of one
line contains a non-whitespace char, the next line needs to start with
white space, or the stuff will be treated as one word.  It's unclear
to me what you are suggesting above wrt line breaks.

Hmm, you could use the additional 24 bytes to provide extra spaces so
that the last-char problem mentioned above does not happen.  So you
would have (40+1)*24+40 chars (which happily is just 1024 chars).

>    PKT ( - addr )
>    User Variable
>    The subject of UPDATE and RENEW

In fig-Forth UPDATE works on PREV.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2014: http://www.euroforth.org/ef14/

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


Thread

PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-06-29 12:49 -0700
  Re: PETTIL - a 6502 Forth AKK <akk@nospam.org> - 2014-06-29 22:20 +0200
    Re: PETTIL - a 6502 Forth barrym95838@yahoo.com - 2014-06-29 21:32 -0700
      Re: PETTIL - a 6502 Forth AKK <akk@nospam.org> - 2014-06-30 07:55 +0200
        Re: PETTIL - a 6502 Forth "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-30 06:40 -0400
          Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-06-30 09:39 -0700
            Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-06-30 11:43 -0700
              Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-06-30 09:24 -1000
            Re: PETTIL - a 6502 Forth hughaguilar96@yahoo.com - 2014-06-30 15:44 -0700
              Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-06-30 16:42 -0700
        Re: PETTIL - a 6502 Forth barrym95838@yahoo.com - 2014-06-30 07:49 -0700
  Re: PETTIL - a 6502 Forth BruceMcF <agila61@netscape.net> - 2014-06-29 13:51 -0700
    Re: PETTIL - a 6502 Forth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-06-30 03:21 -0500
      Re: PETTIL - a 6502 Forth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-06-30 11:55 +0000
      Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-06-30 07:29 -0700
    Re: PETTIL - a 6502 Forth Mark Wills <markwills1970@gmail.com> - 2014-06-30 01:48 -0700
    Re: PETTIL - a 6502 Forth trebor.english@gmail.com - 2014-07-01 16:46 -0700
      Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-01 20:46 -0700
        Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-01 21:38 -0700
  Re: PETTIL - a 6502 Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-06-30 14:02 +0000
    Re: PETTIL - a 6502 Forth BruceMcF <agila61@netscape.net> - 2014-06-30 13:53 -0700
      Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-06-30 17:18 -0700
  Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-04 08:48 -0700
    Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-04 09:23 -0700
      Re: PETTIL - a 6502 Forth Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-07-04 10:31 -0700
        Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-04 10:49 -0700
          Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-04 11:38 -0700
        Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-04 11:45 -0700
          Re: PETTIL - a 6502 Forth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-07-04 23:10 +0000
            Re: PETTIL - a 6502 Forth BruceMcF <agila61@netscape.net> - 2014-07-06 15:39 -0700
              Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-06 15:58 -0700
                Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-06 14:10 -1000
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-06 18:08 -0700
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-06 19:04 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-06 20:31 -0700
                Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-06 18:26 -1000
                Re: PETTIL - a 6502 Forth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-07-07 10:15 +0000
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-06 21:56 -0700
                Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-06 19:39 -1000
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-07 06:53 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-06 22:43 -0700
                Re: PETTIL - a 6502 Forth Coos Haak <chforth@hccnet.nl> - 2014-07-07 13:25 +0200
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-07 07:15 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-08 19:09 -0700
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-08 20:52 -0700
                Re: PETTIL - a 6502 Forth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-07-09 13:56 +0000
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-08 21:13 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-09 04:48 -0700
                Re: PETTIL - a 6502 Forth Mark Wills <markwills1970@gmail.com> - 2014-07-09 05:51 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-09 06:05 -0700
                Re: PETTIL - a 6502 Forth BruceMcF <agila61@netscape.net> - 2014-07-09 20:01 -0700
                Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-09 21:13 -1000
                Re: PETTIL - a 6502 Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-07-10 08:47 +0000
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-10 07:24 -0700
                Re: PETTIL - a 6502 Forth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-07-10 14:34 +0000
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-10 08:22 -0700
                Re: PETTIL - a 6502 Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-07-10 14:45 +0000
                Re: PETTIL - a 6502 Forth BruceMcF <agila61@netscape.net> - 2014-07-10 11:13 -0700
                Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-10 08:44 -1000
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-10 12:34 -0700
                Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-08 18:27 -1000
                Re: PETTIL - a 6502 Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-07-09 12:51 +0000
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-09 06:16 -0700
                Re: PETTIL - a 6502 Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-07-09 15:01 +0000
                Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-09 09:01 -1000
                Re: PETTIL - a 6502 Forth albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-07-09 20:54 +0000
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-09 10:33 -0700
                Re: PETTIL - a 6502 Forth hughaguilar96@yahoo.com - 2014-07-06 19:10 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-06 20:41 -0700
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-06 21:31 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-06 22:58 -0700
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-07 07:29 -0700
                Re: PETTIL - a 6502 Forth Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-07-07 09:30 -0700
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-07 10:04 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-07 20:10 -0700
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-07 21:00 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-07 22:24 -0700
                Re: PETTIL - a 6502 Forth mhx@iae.nl - 2014-07-07 23:53 -0700
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-08 06:58 -0700
                Re: PETTIL - a 6502 Forth Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-07-07 21:37 -0700
                Re: PETTIL - a 6502 Forth hughaguilar96@yahoo.com - 2014-07-06 23:01 -0700
                Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-06 23:21 -0700
                Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-06 17:17 -0700
                Re: PETTIL - a 6502 Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-07-07 08:54 +0000
        Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-04 09:04 -1000
      Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-04 11:42 -0700
        Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-04 12:09 -0700
          Re: PETTIL - a 6502 Forth Mark Wills <markwills1970@gmail.com> - 2014-07-04 12:44 -0700
        Re: PETTIL - a 6502 Forth "Elizabeth D. Rather" <erather@forth.com> - 2014-07-04 09:12 -1000
      Re: PETTIL - a 6502 Forth Coos Haak <chforth@hccnet.nl> - 2014-07-05 03:51 +0200
        Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-04 23:26 -0700
  Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-10 04:18 -0700
    Re: PETTIL - a 6502 Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-07-10 11:42 +0000
    Re: PETTIL - a 6502 Forth BruceMcF <agila61@netscape.net> - 2014-07-11 17:42 -0700
      Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-11 22:44 -0700
        Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-07-12 13:04 -0700
  Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-14 00:55 -0700
  Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-07-18 15:44 -0700
    Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-08-04 10:55 -0700
      Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-08-04 12:52 -0700
        Re: PETTIL - a 6502 Forth chitselb <chitselb@gmail.com> - 2014-08-04 13:06 -0700
          Re: PETTIL - a 6502 Forth bruce.mcfarling@gmail.com - 2014-08-06 19:57 -0700

csiph-web