Bug Fixed ROM

For experts to discuss very technical stuff and newbies to ask why the Spectrum they bought off ebay doesn't work.
User avatar
PaddyC13
Berk
Posts: 14
Joined: Fri Mar 09, 2018 4:46 pm
Location: UK

Re: Bug Fixed ROM

Post by PaddyC13 » Tue Oct 09, 2018 9:08 pm

dfzx wrote:
Tue Oct 09, 2018 7:26 pm
PaddyC13 wrote:
Tue Oct 09, 2018 7: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
0 x

User avatar
PeterJ
Site Admin
Posts: 720
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Bug Fixed ROM

Post by PeterJ » Tue Oct 09, 2018 9:13 pm

PaddyC13 wrote:
Sat Oct 06, 2018 4: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 @Einar Saukas 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. @R-Tape and I are the administrators of the forum.
1 x

User avatar
ZXDunny
Dizzy
Posts: 81
Joined: Tue Nov 14, 2017 3:45 pm

Re: Bug Fixed ROM

Post by ZXDunny » Tue Oct 09, 2018 9:57 pm

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

Post Reply