Search found 586 matches

by stefano
Mon Jul 22, 2024 4:58 pm
Forum: ZX Spectrum Lounge
Topic: Microdigital TK-85 replica!
Replies: 2
Views: 10149

Re: Microdigital TK-85 replica!

Parents, they knew us better than ourselves. ❤️
by stefano
Thu Jul 18, 2024 2:44 pm
Forum: Spectrum BASIC
Topic: Recursive functions in BASIC
Replies: 11
Views: 1082

Recursive functions in BASIC

This is a trick me and my cousin discovered back in those days, I had to fiddle with the ZX Spectrum emulator. There are several ways to get to the same result, this one looks reasonably readable. The trick relies on two very powerful features we have on the ZX Spectrum, DEF FN() and VAL. DEF FN is,...
by stefano
Sat Jun 15, 2024 3:09 pm
Forum: Development
Topic: LINE-command (DRAW on ZX Spectrum)
Replies: 15
Views: 2184

Re: LINE-command (DRAW on ZX Spectrum)

This is an equivalent function library generated with z88dk.

https://www.sinclairzxworld.com/viewtop ... 79e8ab2561

More memory consuming but probably faster and less dependent from the ROM version because it is accessing to the video memory directly.
by stefano
Sat Jun 01, 2024 12:15 pm
Forum: Development
Topic: HTML Transcription of Mastering Machine Code on Your ZX81
Replies: 8
Views: 12151

Re: HTML Transcription of Mastering Machine Code on Your ZX81

In my information a this is the smallest disassembler ever:
https://github.com/z88dk/z88dk/blob/mas ... disz80.asm

Scroll a little lower to get to the core routine, the extra stuff is something I've put to have a C function.
by stefano
Fri May 10, 2024 4:36 pm
Forum: Development
Topic: 384 rows super HRG
Replies: 29
Views: 6201

Re: 384 rows super HRG

Death Star, keys QAOP, M (toggle blocker/ball), G (exit), H (restart level)
To invert the phase press '1'
dstar_interlace.p
(5.02 KiB) Downloaded 118 times
by stefano
Fri May 10, 2024 9:19 am
Forum: Development
Topic: 384 rows super HRG
Replies: 29
Views: 6201

Re: 384 rows super HRG

The cos(x*x+y*y) 3d function drawn with the zbuffer algorithm. press 'P' to invert the phase (keep it pressed until the phase gets inverted).
coswave_interlaced.P
(4 KiB) Downloaded 103 times
by stefano
Tue May 07, 2024 1:01 pm
Forum: Development
Topic: 384 rows super HRG
Replies: 29
Views: 6201

Re: 384 rows super HRG

Yet another demo program.
When the picture is drawn, pressing 'P' will eventually correct the phase.

rndsphere_interlaced.P
(5.79 KiB) Downloaded 93 times
by stefano
Sat May 04, 2024 9:59 pm
Forum: Development
Topic: 384 rows super HRG
Replies: 29
Views: 6201

Re: 384 rows super HRG

I'm sorry but I'm even more confused now.
How does the TV know if it is the even or the odd frame being transmitted?

probably I'll find the answer in the program you've published
by stefano
Sat May 04, 2024 11:27 am
Forum: Development
Topic: 384 rows super HRG
Replies: 29
Views: 6201

Re: 384 rows super HRG

Wow, on the photo it looks fantastic compared to the standard rez on the right ! It is probably flickery, but it is worth the effort of a specific library. @nollkolltroll, I'll look at your code. How did you address the phase issue? EDIT: I must apologise, I totally forgot about that post. Are the t...
by stefano
Fri May 03, 2024 12:36 pm
Forum: Development
Topic: 384 rows super HRG
Replies: 29
Views: 6201

Re: 384 rows super HRG

test_wrxi_3.p New version. I tried to mockup a theorical high resolution face symbol. I also removed the blurred picture, it now shows the flickering/ghosting picture (almost the worst case scenario of a single frame in use). It is good to know that on some LCD display the picture is reasonably sta...