Re: Assembly - Convert 16 bit integer to ascii help please [message #209911 is a reply to message #209891] |
Mon, 03 June 2013 05:24  |
|
Originally posted by: Johann Klasek - swap last two domainparts
The wrote:
> On Sat, 12 Jan 2013 07:56:32 -0800 (PST), JB <jbrown1289@gmail.com>
> wrote:
>
>> I am looking for a routine to convert a 16 bit integer into ascii (text)
>>
>> ex. convert $C000 (49152) to the characters "49152" stored in a memory address.
[..]
>
> I used to do a lot of deep assembly on the 64/1541. I was always
> looking for speed and the way to get that is by using tables wherever
> possible. Eliminate the looping and calculating.
>
> It's been a long long time but I have no doubt there are routines to
> accomplish this sitting on some old 5 1/4 floppys in storage. The
> question is are the disks good anymore? They haven't been touched in
> at least 20 years and they have suffered extremes of temperature.
It depends, but my experience so far is that my disks from 1985 to 1992 (very
different qualities and types) could be read nearly without problems in
2012. Just disks which have already problems in these old days rendered
unreadable in some cases. I'm not sure, but it may help to read the disks
with the drive they were written in the past.
So I would encourage you to give them a try.
JeeK
|
|
|