Hello, > Does any one know how, of have a good reference for, > converting floating > point numbers to and from the 5-byte format used in the FAC > and by all the > Kernal routines? A good reference is Lothar English, Das Maschinensprachbuch für Fortgeschrittene, DATA BECKER Verlag, approx. 1984 or 1985. Unfortunately, AFAIK, it's german only, so I don't know if it's of interest for you. If no one else answers, contact me again, and I will have a look into it and explain it to you (although, I will not be able to do it before starting November, because I'm 450 km away from the book...). BTW, not all KERNAL routines use the same format: Some need the "compressed" 5 Byte format, while others need 6 bytes (the sign is extra, and the leading 1 is set in the remaining 5 bytes). Or, possibly I can help you from the memory? Where exactly is your problem? Don't you know how to convert a decimal FP number into binary, or is it something specific to the commdores? I could explain the IEEE754 format, which is _nearly_ the same. Would that be of any help for you? Or do you just need the function calls to convert the numbers? If so, just assign them to a variable and read it from the variable's memory. Best regards, Spiro. -- ------------------------------------------------------------------------ Spiro R. Trikaliotis Otto-von-Guericke-Universitaet Magdeburg Phone: +49 (0)391 67-12560 Fakultaet fuer Informatik Fax: +49 (0)391 67-11161 Institut fuer verteilte Systeme EMail: spiro@ivs.cs.uni-magdeburg.de Echtzeitsysteme und Kommunikation http://ivs.cs.uni-magdeburg.de/EuK/ PF 4120, 39016 Magdeburg ------------------------------------------------------------------------ - This message was sent through the cbm-hackers mailing list. To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tml.hut.fi.
Archive generated by hypermail 2.1.1.