screen output
ZXNet echo conference «code.zx»
From Aleksey Malov → To Arseniy Astapenko 6 August 1999
Hi Arseniy!
Once Thu 29 Jul 1999 at 09:57:18 someone Arseniy Astapenko and All were talking
AA> Maybe someone has interesting ideas for a “spectacular appearance
No ideas yet.
AA> screen"? By the way, no one has pulled the sorc from Forever yet? ;)
If you're talking about the spiral-shaped manifestation of the child in the epilogue, then for
To implement this effect, you need to create a table with a size of 768 * 2 bytes, in
which stores the time remaining until each familiarity appears, as well as
attribute of this familiar place. The output goes something like this (I didn’t break Forever,
I’m writing this as I imagine it):
;hl-table I was talking about
;de-screen attribute area
;bc=1
inner loop
ld a,(hl);took the remaining time
sub c;reduced it
adc a,b;to zero
ld(hl),a
sbc a,a;if zero
inc l
and (hl)
inc l
ld (de),a; then we enter the attributes into the screen, otherwise there is a black square
inc e
the speed is sufficient (52 clock cycles per attribute byte).
C U l8r. Virtual/Brainwave of X-Project.