[comp.sys.cbm] ML programming channel #6 of the C128

treesh@bach.helios.nd.edu (01/06/91)

This is going to seem like a strange request, but I working on an application
that requires this kind of routine.  I need a C128 ML program that I can
sys to that will do the follwoing:
 
 
It frist looks at address 7376 which will contain the lenght of how
many bytes need to be transferd.  (40 typical, not greater then 80).
It then will loop through address's 7377 thru the total lenghth of the
string.  What it does with this data Im not exactaly sure, nbut I need
it to prep this data for whats going to heppen next,, then RTS.
 
After this data is prepped, i want to be able to do this:
 
input#6,a$
 
A$ will contain the string of data that was stored in address 7377
having a length of what was in address 7376.

Assume channel #6 is already opened.  The final code will look like
this:
 
 
10 sys xxxxx : input#6,a$
 
 
This code is based on Cnet 128 V4.0 software.  There proabaly already
is ML that will do exactaly this, but I fcant figure it out!
 
PS - The last unit of data will alaways be a 13.
 
ctfm
.s

(sorry for the errors in this, using a dumb term today)