Search found 214 matches

by zsolt
Thu Jun 28, 2018 7:46 pm
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 24237

Re: Let's calculate! - renewed arithmetic routines

Hi, Here come the latest bug fixes. Olofsen sent a newer program, wich tests the functions using very big and very small numbers. l.p There were problems, with the renewed cosine function and the new INT routine was also buggy (in case of negative integer numbers) . Surprisingly i found a little bug...
by zsolt
Fri Jun 22, 2018 9:55 am
Forum: ZX BASIC
Topic: Let's calculate! - renewed arithmetic routines
Replies: 33
Views: 24237

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: 24237

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: 24237

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: 24237

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: 24237

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: 24237

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 5933 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: 24237

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: 24237

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: 24237

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...