IBM 5100 tinkering

From: Hans Franke <Hans.Franke_at_mch20.sbs.de>
Date: Thu Jul 31 12:57:01 2003

> We did some tinkering with our IBM 5100 the other day with results which
> might be of interest.

> 10 a = 0
> 20 print a, a*a, sqr(a)
> 30 a = a + 1
> 40 if a < 100 goto 20
> 50 stop

> The 5100 seems about 30% faster on though with the following program:

> 10 a = 0
> 20 b = a*a
> 25 c = sqr(a)
> 30 a = a + 1
> 40 if a < 100 goto 20
> 50 stop

> So it seems it is the display which slows it down.

Well, to some extend. To my experiance it's rather the PET who
slowed down the programm. The PET had realy one of the slowest
BASIC interpreters / Systems around at that time. An Apple II
did usualy outperform it by some 30-50% with exactly the same
coding.

Gruss
H.

And back from KFest.

--
VCF Europa 5.0 am 01./02. Mai 2004 in Muenchen
http://www.vcfe.org/
Received on Thu Jul 31 2003 - 12:57:01 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:06 BST