Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!rochester!rutgers!daemon From: prindle@NADC.ARPA Newsgroups: comp.sys.cbm Subject: C Power 128 Float to Int conversion clarified Message-ID: <5519@rutgers.rutgers.edu> Date: Fri, 6-Nov-87 13:23:22 EST Article-I.D.: rutgers.5519 Posted: Fri Nov 6 13:23:22 1987 Date-Received: Sun, 8-Nov-87 16:33:58 EST Sender: daemon@rutgers.rutgers.edu Lines: 12 From: prindle@nadc.arpa (Frank Prindle) The BASIC ROM routine to convert integers to floating point is, as Fred Bowen says, alive and well. It is the routine to convert floating point to integers (jump table address $AF00) that does not return it's result in A,Y. Additionally, *as I said before*, that routine does not work correctly unless the FAC has had any fractional part removed by INT first. I don't know if either of these has been changed by the upgrade ROM, but my fix makes it work on any 128 (in theory!). It is simply not sufficient to fix the A,Y register problem, you also have to do the INT fix. Frank Prindle Prindle@NADC.arpa