war of the past

ZXNet echo conference «zx.spectrum»

From Dmitry Zubarev To All 19 August 1997


Hi, Pawel!

Monday August 18 1997 21:28, Pawel Anokhin wrote to Dmitry Zubarev:

[ skipped... ]

PA> So I have 16x16 sprites, so I don’t use LDIR for this. I draw the whole
PA> image in a double buffer, and then I flip this double buffer completely onto the
PA> screen. By the way, I tried to do it through a bunch of LDI - in my opinion,
PA> it became even slower. :(

Or maybe you’re doing something wrong? I remember the first time I started using ldi, I entered the length in bc
:) Give your example, huh?

C u l8r,
Dmitry aka ZDW.


From Alex Letaev To All 19 August 1997


Hello Pawel Anokhin! In a message of 10 Aug 97 Pawel Anokhin wrote to me:

PA> I'm going to add the ability to control Kempstone Mouse into the game.
PA> Does anyone know how to do this? Otherwise, I can’t even imagine how
PA> to read data from this mouse. Maybe someone has a document?

PA> Well, about the game - maybe someone will have any suggestions on what
PA> to add to the full-version? ;) (So far I only have small pictures
PA> with a description of what to do for each level, I’m also going to change
PA> graphics, maybe I’ll insert sound (although it’s unlikely, at least in the menu
PA> there will definitely be music, but I don’t know in the game), well, I’ll make a splash screen, the menu
PA> is normal, more levels).

It would be nice to make the control only with the cursor, when you go beyond the frame
for example, it will scroll across the map itself.

With respect, Alex from FFC COMPUTERS.


From Dmitry Zubarev To All 23 August 1997


Hi, Eugeny!

Thursday August 21 1997 22:58, Eugeny Lubimov wrote to Pawel Anokhin:

PA>>> I draw the entire image in a double buffer, and then throw this double
PA>>> buffer completely onto the screen. By the way, I tried to do
PA>>> through a bunch of LDI - in my opinion, it became even slower. :(

EL> Well, in my opinion, using the stack is faster.

The point is clear... But since the whole screen is probably better to use two screenshots
and sp too...

From Alex Letaev To All 24 August 1997


Hello Vladimir Yudin! In a message of 21 Aug 97 Vladimir Yudin wrote to Pawel Anokhin:

PA>> I draw the entire image in a double buffer, and then I throw this double buffer
PA>> completely onto the screen. By the way, I tried to do it through a bunch of
PA>> LDI - in my opinion, it became even slower. :(

VY> Don’t you use a second video page? While you’re drawing one,
VY> another is displayed, very effectively.

In games, in my opinion, this is not necessary, because it’s hard to generate a screen in one interruption in real-time
strategies. But with the printing procedure, an upgrade will be needed
and there’s probably not enough memory.

From Vyacheslav Mednonogov To All 25 August 1997


Get Msg, Zinov'ev!

22 Aug 97 01:19, Zinov'ev Yury reported by Pawel Anokhin about {war of the past}:

PA>> I'm flipping the screen. By the way, I tried to do it through a bunch of LDI -
PA>>, in my opinion, it became even slower. :(
ZeY> It can’t be, because it can never be! Compare the execution time
ZeY> LDIR and LDI.

In some cases it is the same ;)

Warm greetings, Slava!


From Alex Letaev To All 26 August 1997

ZeY> execution of LDIR and
ZeY> LDI.

It depends on the number of ldi: if you replace it with 2 ldi, and also install djnz, then
it will be slower.

From Alex Letaev To All 28 August 1997

AL>> In games, in my opinion, this is not necessary, because it is difficult to generate a screen in one interruption in real time
AL>> strategy. But with the printing procedure,
AL>> an upgrade will be needed, but there probably won’t be enough memory.

VY> But if a person first draws everything in the buffer, and then throws this buffer
VY> onto the screen, then using the pages will give a clear benefit.

If you manage to generate the screen during an interruption, then in flight from the “ray”
you can use two screens, but this is more suitable for an intro, or, well, demos, and in
games there is usually a memory deficiency, slow screen generation, etc. And if you display directly on the screen, and even with 5 interrupts, then the buffer is not needed, it will be of no use at all.