Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!samsung!sol.ctr.columbia.edu!cica!news.cs.indiana.edu!news.nd.edu!bach!treesh From: treesh@bach.helios.nd.edu Newsgroups: comp.sys.cbm Subject: Re: inputting from the modem port in commdore basic Message-ID: <1991Jan7.022456.29756@news.nd.edu> Date: 7 Jan 91 02:24:56 GMT References: <9101062203.AA03141@cwns16.INS.CWRU.Edu> Sender: news@news.nd.edu (USENET News System) Organization: University of Notre Dame, Notre Dame Lines: 32 I have put your code to use, and the overall speed imporvment was good but still not good enough. It still took an average of about 1 second per byte to process. This extreemly slow time may also be the result of having arround 200 or some other variables in ram at the time thus making any string functions extreemly slow to execute when dealing with variables. I have written an ML routine that will speed-slam bytes from the modem into ram. It also keeps track of the total length of the string, and a chr$(13) actally is the only way out of the ML before it RTS's back to basic. What I need now is a fast (Super Fast ML) way to get this data into the basic variable A$. Using a loop of basic peeks will put be right back into the same boat as before with a speed problem. Anyone know a good way to take a set of ascii bytes in sequential ram and get them into a basic string variable via the use of ML??? I sure dont!! Any hot-shots out there? These are the specs: ram : 7377 - 7461 : this is the buffer of ascii thats received by the previously mentioned ML routine, the last byte of the string will have a 13 signifing that the end. ram : 7376 : This is the lenght of the string including the 13. Can someone tell me how to use ML, knowing these things how to put that string of bytes into the basic varable A$?? PS - This is on a C128 in 80 colum mode. ctfm