Video filter for Unreal Speccy
ZXNet echo conference «zxnet.pc»
From Evgeniy Sokol → To All 28 October 2005
Hello SMT
Is it possible to be a little more detailed? It's all very cleverly tied up there.
1. In one call to the render function, is the entire screen drawn or only part of it?
2. How are stripes drawn on the border?
3. Which pointer can I use to access the Spectrum’s on-screen memory?
4. At what pointer should I write to video memory?
Sorry for the stupid questions.
From SMT → To All 28 October 2005
Hello, E.Sokol
> Is it possible to be a little more detailed? Everything is tied up there too cunningly
judging by the questions, you didn't even try. everything is as simple as 2+2
> In one call to the render function, the entire screen or just it is drawn
> part
whole screen
> How stripes are drawn on a border
if in your mode you need multicolor + border, use the rbuf array - there are pairs
bytes (data byte/attribute to it), traced along the ray with all
effects. the attributes are not Spectrum ones, but the upper nibble is the color of the “0” bits
data, lower - color "1" data bits. lines in rbuf lie in a row, each
the line occupies MAX_WIDTH_P = 128 bytes, the right parts are not filled. if
make a mode like ATM/PROFI/PENT512, then draw the middle yourself, and for the border
call ready-made functions rend_frame_*
> Which pointer to access the Spectrum screen memory
memory - the beginning of memory. memory+5*0x4000 - the beginning of the 5th page, where the screen is located
zx-128 (there is no pure 48th mode in unreal, only 128th with port blocking
#7FFD bit 5)
> At what pointer to write to video memory
passed to the render function. the second parameter is the width of the line in bytes (i.e.
offset to next line)
From Evgeniy Sokol → To All 31 October 2005
Hello SMT
Thank you
From SMT → To All 31 October 2005
Hello, E.Sokol
Can you tell us what ideas you have for new modes?
From Evgeniy Sokol → To All 1 December 2005
Hello SMT
I posted ideas (screenshots) in another thread, about TV emulation
http://www.zx.pk.ru/showthread.php?t=442&page=3&pp=10