[SLL] (OT) Asm vs. C revisited

johnbaxterlists at mac.com johnbaxterlists at mac.com
Tue Aug 29 12:25:02 EDT 2006


On Aug 29, 2006, at 7:29 AM, Tony Schlemmer wrote:

> I did quite a bit of lower level disk stuff in CP/M-80 and went so  
> far as to
> write a program in Z80 assembly to sort the file directory on my CP/ 
> M disks.
> Once I got Turbo Pascal for CP/M-80 though and found I could with  
> just a
> little bit more effort make the same BDOS calls from Pascal I came  
> to the
> realization that my days of doing assembly language for  
> applications was
> coming to an end.

For my early ventures online (with "The Source", first...byproduct  
pricing of their commercial system), I created Apple ][ code in a  
mixture of 6502 assembly and "Sweet-16" code.  Since I wanted to  
output the sessions to my Selectric (even slower than the online  
connection) I used most of my 12K of RAM as a ring buffer.

It was really strange typing with the Selectric falling farther and  
farther behind what I was typing, and getting totally out of sync  
when the "fast" input came from the network.  I solved the problem of  
the ring buffer filling up and overwriting unprinted characters by  
ignoring it.  Never had a problem.

   --John






More information about the linux-list mailing list