On Wed, 25 Jul 2001 04:12:53 -0400 (EDT), Thomas Mueller wrote:

> Excerpt from Clarence Verge <[EMAIL PROTECTED]>:


> How do you enter the null character (Hex 00)?  Alt-000 would not work for that.

> Any way to use BASIC to create a small binary file?  Or is that only for older
> computers?

My EPROM-burner is composed in BASIC and is running on a XT and a
Pentium75. For the P75 some loops are created to slow down the processor
because some timing is required (burn-in time is 50ms).

BASIC uses decimal, hex or octal but it is very well possible to make a
BASIC program to do some arithmatic in order to produce binairy (or vice
versa). With the OUT command you can write the results to a file or to a
diskette. {binairy can be written as a (text)string}
Do not use: till e.o.f. (end of file) to terminate the file because
"EOF" is one of the 256 possible 8 bits (suppose you use 8 bits)... if
you use hex or decimal.
Let your file be terminated by a lack of data... the file is terminated
at the end if there is no more data.

I use GW-basic, QuickBASIC, Turbo BASIC on old and modern computers.

Greetings Bastiaan

-- Arachne V1.61, NON-COMMERCIAL copy, http://arachne.cz/

Reply via email to