🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.cbm
Article #2201

Tokenize text files.

#2201
From: Mike Nelson
Date: Mon, 11 Aug 1986 12:33
19 lines
1408 bytes
I'm trying to figure out how to tokenize a text file that I downloaded
with the modem.  Right now it is a CBM ascii sequential file.  I under-
stand that there is a "tokenize basic text" vector at 772, 773. (I think
that is where it's at)  I tried a small program in the immediate mode 
that filled the region at 512 with a line number and a REM statement
and did a sys to $a560.  (The vector at 772,773 is actually $a57c.  Ray
Miller sent out a little blurb on tokenizing text by starting at location
$a560.)  

It seems that I remember reading somewhere that there is an easy way 
to do this.  The solution I have in mind is to write a machine language 
routine to open the file and run it through the keyboard buffer just 
as though it had been typed in.  Any other ways this could be done?  
What about the program or direct mode in register 157?  Any help would
be appreciated.

Mike Nelson
ihuxf!cuda
AT&T Bell Labs
Technical Details
Message-ID: <2956@ihuxf.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!clyde!cbatt!cbosgd!ihnp4!ihuxf!cuda

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!clyde!cbatt!cbosgd!ihnp4!ihuxf!cuda
From: cuda@ihuxf.UUCP (Mike Nelson)
Newsgroups: net.micro.cbm
Subject: Tokenize text files.
Message-ID: <2956@ihuxf.UUCP>
Date: Mon, 11-Aug-86 08:33:09 EDT
Article-I.D.: ihuxf.2956
Posted: Mon Aug 11 08:33:09 1986
Date-Received: Tue, 12-Aug-86 21:58:10 EDT
Distribution: net
Organization: AT&T Bell Laboratories
Lines: 19