Re: Any ideas on how to do this?



On a sunny day (25 Nov 2006 20:40:44 -0800) it happened "48 bytes"
<74m45h11@xxxxxxxxx> wrote in
<1164516044.160468.147030@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:

Multiple reply coming, so, sorry for posting this at such level, and
not 3 replies to each of you.

Replying to Tim Wescott, well, that solution would be good, although I
can spare not too much clock ticks because the main use of this routine
is to show that 32 bits binary as a decimal using a VGA output module,
so using a lot of time is out of reason.

I was suspecting it was for display.
but think for a maoment how many value changes your eyes and brain can grab
per second of a 10 digit number.
1 per second would be fin in many cases.

In that case you grab the 32 counter once a second and do the BCD in a loop.

The BCD values in the registers you use are then constant for 1 second and
presented to the VGA character generator, that one runs at say 60 fps or more.

.