Newsgroups: comp.sys.sinclair
Path: ulke.hiMolde.no!trane.uninett.no!Norway.EU.net!EU.net!CERN.ch!frodet
From: frodet@www.cern.ch (Frode Tenneboe)
Subject: Re: Head over Heels
X-Nntp-Posting-Host: wwwlab.cern.ch
Message-ID: <DAM9oI.Iwn@news.cern.ch>
Sender: news@news.cern.ch (USENET News System)
Organization: CERN European Lab for Particle Physics
X-Newsreader: TIN [version 1.2 PL2]
References: <DABGCy.Aq5@news.cern.ch> <95061818341000192@vanilla.nbg.sub.org>
Date: Fri, 23 Jun 1995 08:17:06 GMT
Lines: 34

Guenter Woigk (kio@vanilla.nbg.sub.org) wrote:

: That multiplies the genius of your ideas:

: 	First put the stack in the screen and then
: 	Put code on the stack.

Merci bien. One or the other is sufficient. Generating code
using the stack is an interesting idea btw...to pick up on
a earlier tread:

	ld sp,adr+1729*2
	ld de,201*257 ; Can't remember which register is pushed first :)
	push de
	ld bc,1728
	ld de,213*257 ; push de * 2
loop	push de
	dec bc
	ld a,b
	or c
	jr nz,loop

and then call adr to clear the screen - well...it has got some
flaws :)

: I think i'm dying!

Please don't. :)

 -Frode

--
Frode Tenneboe, ECP/PT, CERN, CH-1211 Geneva 23, Switzerland
frodet@www.cern.ch             http://www.himolde.no/~frodet
