Hi,
 Well, that computer had 16 k of ram, but my code was burnt into an eprom, 
and replaced the system rom chip. So yes, there was 8 K available.

The question:
 How much spaghetti can you get into 8k of ram?

LOTS.
 given that the average instruction length is (guess) 2 bytes, you have 
3000 lines of code.
 (some memory is reserved for the character shapes etc, and you have 
a copy of the system code for generating graphics, reading keyboard etc.).

However, as any assembler programmer knows, if it is spaghetti, it is 
diabollically hard to get going and maintain. 

Given that the 3rd burn worked almost flawlessly, I do have some basis for
saying it was not spaghetti.


Derek.
=========================================================================
 On Fri, 26 Nov 2004, John Carter wrote:

> On Thu, 25 Nov 2004, Derek Smithies wrote:
> 
> > Hi,
> > I learned Z80a assembler.
> >
> > things like if/else were not available. Goto ruled!
> >
> >
> > Was it spaghetti?
> > I like to think not.  With care and attention, you can produce code that
> > is readable to others..
> 
> Besides, how much spaghetti can one produce in a 8K ram?
> 
> 
> John Carter                             Phone : (64)(3) 358 6639
> Tait Electronics                        Fax   : (64)(3) 359 4632
> PO Box 1645 Christchurch                Email : [EMAIL PROTECTED]
> New Zealand
> 
> The universe is absolutely plastered with the dashed lines exactly one
> space long.
> 
> 
> 

-- 
Derek Smithies Ph.D.                           This PC runs pine on linux for 
email
IndraNet Technologies Ltd.                     If you find a virus apparently 
from me, it has
Email: [EMAIL PROTECTED]                    forged  the e-mail headers on 
someone else's machine
ph +64 3 365 6485                              Please do not notify me when 
(apparently) receiving a
Web: http://www.indranet-technologies.com/     windows virus from me......

Reply via email to