Path: utzoo!attcan!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: Atari ValForth Message-ID: <457.UUL1.3#5129@willett.UUCP> Date: 13 Feb 90 02:31:57 GMT Organization: Latest link in the ForthNet chain. (Pgh, PA) Lines: 19 Date: 02-09-90 (23:44) Number: 2888 To: ALL Refer#: NONE From: BEN FINKELSTEIN Read: (N/A) Subj: 6502 FIG FORTH BUG Status: PUBLIC MESSAGE Garbage points in a fractal generating program I wrote on my 8-bit ATARI in val-FORTH led to a discovery of a bug in the multiply routine. 4094 4097 U* and 4097 4094 U* give different results, one of which is wrong, that is, in single digits! I found the same bug in s*p*a*c*e fig forth and ELCOMP's Power-Forth, two other fig dialects. Is this bug common to all 6502 fig FORTHs? Is it longstanding common knowledge or did I discover something? The bug is easily patched; it's a missed carry in the code definition. NET/Mail : DC Information Exchange, MetroLink Nat'l Hub. (202)433-6639 ----- This message came from GEnie via willett through a semi-automated process. Report problems to: 'uunet!willett!dwp' or 'willett!dwp@gateway.sei.cmu.edu'