Bug Fixed ROM

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

Re: Bug Fixed ROM

Post 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
User avatar
PeterJ
Site Admin
Posts: 6873
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Bug Fixed ROM

Post 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.
User avatar
ZXDunny
Manic Miner
Posts: 498
Joined: Tue Nov 14, 2017 3:45 pm

Re: Bug Fixed ROM

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