Page 1 of 1

Re: Bug Fixed ROM

Posted: Tue Oct 09, 2018 10:08 pm
by PaddyC13
dfzx wrote: Tue Oct 09, 2018 8:26 pm
PaddyC13 wrote: Tue Oct 09, 2018 8:03 pm Strange, the line ‘IF 1/2<>0.5 THEN PRINT “Bug”’ works in Basinc i.e. it does not print Bug?
Is there actually a bug there? Comparing floating point numbers for equality is generally a bad idea on any computer. Is that what it's doing?
Apparently this test should produce “Bug” on a standard 48K Spectrum. In Basinc it works so I wonder if it does something under the covers.

Paddy

Re: Bug Fixed ROM

Posted: Tue Oct 09, 2018 10:13 pm
by PeterJ
PaddyC13 wrote: Sat Oct 06, 2018 5:21 pm BTW, this is a great forum but how does it relate to WOS? Is/has Spectrum Computing replaced WOS?
Welcome to the forum. As others have said we aren't related to WoS (although we are very greatful to the work done over the years by key people to preserve many titles). The site was originally created to catalogue titles created post 2013 (with much thank's to [mention]Einar Saukas[/mention] for the creation of the open source ZXDB database) which is as far as I'm aware the last time the WoS database was updated. The forum was added later as an alternative place to discuss the Spectrum away from any of the issues of the past. [mention]R-Tape[/mention] and I are the administrators of the forum.

Re: Bug Fixed ROM

Posted: Tue Oct 09, 2018 10:57 pm
by ZXDunny
You can check what BASin/BASinC does to the ROM if you look in the source (which should be included with each distribution). Head into ROMUtils.pas and open it with a text editor, then browse to the procedures ROMTrap and ModifyROM.

There's no calculator patches in there, so the calculator bug is quite weird.