Search found 203 matches

by zsolt
Fri Jun 22, 2018 9:55 am
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

Hi Siggi,
siggi wrote: Wed Jun 20, 2018 9:59 pm If your current rom is the final version,
No, the final version with a "Big Bang" :D is still under construction.
Zsolt
by zsolt
Wed Jun 20, 2018 8:36 pm
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

Hi Siggi,

I use the good old 'Assembly Studio 86 v3.1' (downloadable from here - ticalc.org/pub/win/asm/).
It has a good editor, a code counter (counts also the Tstates!) and it is TASM compatible.

But why not rename the labels to the desired format?

Regards,
Zsolt
by zsolt
Mon Jun 18, 2018 4:36 pm
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

Many thanks to olofsen: I reread your posts and saw your note on "testing the limits", and got the idea of finding FLT_EPSILON. It is the smallest number that when added to 1, the result is different from 1. In the attached program, I'm on my way to compute it. Line 2000 makes V, at first 1, greater...
by zsolt
Thu Jun 14, 2018 11:29 pm
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

siggi wrote: Thu Jun 14, 2018 9:37 pm and got the expected result. Since Memocalc does call a lot of BASIC functions to handle the "grid", to edit and calculate the field contents (e.g. by using the BASIC input line editor to input eqations containing BASIC keywords/functions) and there was no problem
Great News :D
Thanks,
Zsolt
by zsolt
Tue Jun 12, 2018 7:27 pm
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

Hi Siggi,

How it looks using this sgmore?
Thx,
Zsolt
by zsolt
Tue Jun 12, 2018 3:58 pm
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

HI,
:D :D :D I think I've found a better solution :D :D :D
though a bit slower (-0.1%)
though a bit slower (-0.1%)
sg81g_mod.png (4.68 KiB) Viewed 3200 times
Please help in testing,
Zsolt
by zsolt
Mon Jun 11, 2018 7:57 pm
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

Hi, This is not so simple: ; ------------------------------------ ; THE 'NON MASKABLE INTERRUPT' ROUTINE ; ------------------------------------ ; ; ( It takes 29 clock cycles while incrementing towards zero - it was 32TS). ;; NMI L0066: EX AF,AF' ; (4) switch in the NMI's copy of the ; accumulator. ...
by zsolt
Sun Jun 10, 2018 7:17 pm
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

Hi, Anyway: even if it would work: without any display it does not really help ;) I am very sad, because ... ... the "3T pach" is one of the very first improvments of the ZX81 ROM (i know it since '85) ... this is the only sw solution that accelerates both BASIC and MC programs ... the "zxmore" proj...
by zsolt
Fri Jun 08, 2018 11:04 am
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 13043

Re: Let's calculate! - renewed arithmetic routines

Hi, As stefano suggested , the next "rocket stage" ;) is the updated CALCULATOR. I have chosen an other way, because the literals of the lambda calculator were completely rearranged , so they are incompatible with the ZX81. The first step was a new "INT" function (using direct calls) and an improved...
by zsolt
Thu Apr 05, 2018 4:19 pm
Forum: ZX BASIC
Topic: Printing a floating point number
Replies: 9
Views: 4573

Re: Printing a floating point number

Hi,

I ran some tests to see the printing characteristics of the new ROMs with renewed arithmetics.

The MT version seems now better:
(All tests were performed on EO v1.2)
(All tests were performed on EO v1.2)

But in the 0..65535 (word sized integer) range the BN is faster :o yet:
(All tests were performed on EO v1.2)
(All tests were performed on EO v1.2)
Regards,
Zsolt