Re: Pascal Compiler

From: Spiro Trikaliotis (ml-cbmhackers_at_trikaliotis.net)
Date: 2004-12-13 08:31:49

Hello,

* On Sun, Dec 12, 2004 at 03:11:59PM -0500 Craig Taylor wrote:

> There's a routine to print unsigned .AX at $BDCD but it can print
> peek(62)+256*peek(63) if you call it at $BDD1.  This is in the Basic
> ROM, so Steve's suggestion to stick with the Kernel if you're wanting
> to write more all-around code still applies.

Furthermore, that routine - as almost all other routines in BASIC, too -
utilizes FP. It first converts the integer to FP, then it converts the
FP to ASCII, and then it prints out the ASCII.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.