A86: Re: _createreal


[Prev][Next][Index][Thread]

A86: Re: _createreal




> From: rabidcow@juno.com
> Subject: Re: A86: _createreal
> 
> seeing as i don't think there's a rom call to put ahl into an op 
> register
> (forgot about that little problem), it might be easier to use a 
> string.
> really, the easiest thing would be to have the basic program set
> variables to tell the asm program where and how to display it and 
> print
> it with asm.
that's a good idea. maybe store
the real number where the first digit
in the number (the exponent doesn't
matter) is the row while the
second and third digits in
the next two bcd memory areas
constitute the columns.

so to put the number on row
2, column 15:
:215->A
:Asm(PutRAM)
which would be the same
as
:2.15->A
or
:21.5->A
because we won't be looking
at the exponent (that
$fc00) thing, but instead
move straight
to the bcd digits.

the first nibble is
the row, the second
and third nibbles
are the columns.

that might work? what do
you think?

jimi malcolm
malcolmj1@juno.com
http://guide.iwarp.com

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.