Search found 214 matches

by zsolt
Sun Jan 24, 2021 3:29 pm
Forum: Development
Topic: Scrolling up one pixel
Replies: 5
Views: 5465

Re: Scrolling up one pixel

Hi, Bukster, you got me to get off my ass and do something :). I was doing something similar but ... I was just wondering if this scrolling could be even faster - and yes. Here are two solutions: a little faster and an even faster one. Both use such large d-file presented by Siggi & Joachim (which c...
by zsolt
Mon Jan 18, 2021 7:13 pm
Forum: Spectrum BASIC
Topic: Decimal Value
Replies: 8
Views: 12779

Re: Decimal Value

Use a dot instead of comma. ;)
HTH,
Zsolt
by zsolt
Sat Dec 26, 2020 2:03 pm
Forum: GAMES
Topic: Eller's Megamaze
Replies: 5
Views: 2499

Re: Eller's Megamaze

Hi Greg,

8-) I like it :D

Merry Christmas,
Zsolt
by zsolt
Wed Dec 02, 2020 1:00 pm
Forum: ZX BASIC
Topic: ZX81X2.ROM - and the big bang
Replies: 61
Views: 81088

Re: ZX81X2.ROM - and the big bang

Dear All, I hope you are well despite the pandemic. Here is the last X2-ROM variant - let's see, what is changed: - the Babylonian (or Heron's) square root method (from the SAM Coupe ROM by Andy Wright) shared by aowen is included; :D - i tried to solve an old "problem" : the flicker free PAUSE; ;) ...
by zsolt
Thu Nov 26, 2020 10:21 am
Forum: ZX BASIC
Topic: A new modular version of the Open81 assembly file is now available
Replies: 5
Views: 8435

Re: A new modular version of the Open81 assembly file is now available

Hi, This implementation of the Babylonian (or Heron's) square root method is very cool. 8-) I built a new variant of the X2 ROM with it, and the test results are fantastic: this is ~2x :!: faster than the Newton-Raphson iteration in the latest "BigBang" ROM . Thank you for sharing. :D About the "sta...
by zsolt
Wed Nov 11, 2020 9:32 am
Forum: Software
Topic: More help please gentlemen.
Replies: 12
Views: 4113

Re: More help please gentlemen.

Moggy wrote: Tue Nov 10, 2020 10:30 am ez remek.!
:D
by zsolt
Tue Nov 10, 2020 8:38 am
Forum: Software
Topic: More help please gentlemen.
Replies: 12
Views: 4113

Re: More help please gentlemen.

Moggy, Do you use this big buffer for something else, or just to count "1"-s ? In the latter case you don't need buffer, just this counter: ; 2 REM .org 16620 ; 16514+106 ld hl,16514 ; 1 REM (100 bytes) ld bc,0 ; the counter ld d,100 ; 100 bytes to count nxt_byte ld a,(hl) ; a byte ld e,8 ; 8 bits i...
by zsolt
Tue Nov 10, 2020 1:10 am
Forum: Software
Topic: More help please gentlemen.
Replies: 12
Views: 4113

Re: More help please gentlemen.

Hi, ; 3 REM .org 17426 ; 16514+106+806 ld de,16514 ; 1 REM (100 bytes) ld hl,16620 ; 2 REM (800 bytes) ld c,100 ; 100 bytes to convert nxt_byte ld a,(de) ; a byte to convert ld b,8 ; 8 bits in a byte next_bit ld (hl),$1C ; code "0" rla ; test bit 7 jr nc,equ_zero ; skip if zero inc (hl) ; else set "...
by zsolt
Sat Nov 07, 2020 9:50 am
Forum: Software
Topic: Need help working something out.
Replies: 12
Views: 4217

Re: Need help working something out.

XavSnap wrote: Sat Nov 07, 2020 2:02 am...
In cas of "0" : PEEK A=28
In cas of "1" : PEEK A=29

Code: Select all

10 LET C=-22400            ; the counter 800 * code "0"
...
30 LET C=C+PEEK A-28          ; set counter

50 PRINT "1=";C,"0=";800-C ; the results
The "-28" in line 30 is not necessary, it happens in line 10
;)
by zsolt
Sat Nov 07, 2020 12:21 am
Forum: Software
Topic: Need help working something out.
Replies: 12
Views: 4217

Re: Need help working something out.

Hi, Here are my solutions: - for the original 800 characters ( BASIC ) 1 REM ; the 800 characters 10 LET C=-22400 ; the counter 800 * code "0" 20 FOR A=16514 TO 17313 ; the address loop (800 step) 30 LET C=C+PEEK A ; set counter 40 NEXT A 50 PRINT "1=";C,"0=";800-C ; the results - and the length ind...