|
From: Frank K. <fbk...@co...> - 2003-10-19 13:50:27
|
Michael Adam topwis wrote: > Hallo > > >It would be a lot faster if you read a "buffer-full" and "fetch" bytes > from there to process, rather than reading one byte at a >time from the > file. > Please can I have an example in NASM for a Linux system? Hi Michael, Sorry for the delay. Took a while before I got around to booting Linux and fooling with this. I have *no* idea how to send data to a serial port - "everything's a file", they say, maybe you can just open a file and write bytes(???). (might even be able to redirect stdout to a serial port?) I'll attach both a "dos" and a "lin" version of the same file, in hopes of getting a readable version in the "mail", so we can discuss it, if anybody's interested. I'm sure there's *lots* of room for improvement. Best, Frank |