POV-Ray : Newsgroups : povray.off-topic : Merry Xmas! : Re: Merry Xmas! Server Time
11 Oct 2024 13:17:53 EDT (-0400)
  Re: Merry Xmas!  
From: Darren New
Date: 19 Nov 2007 23:14:01
Message: <47425f09$1@news.povray.org>
Joel Yliluoma wrote:
> Yes, NES games used it often in particular for most of the numeral
> information shown to players (such as the score).

If the majority of your use of the number is display, BCD makes sense. 
(It's how phone numbers are encoded over X.25 and SS7 et al, also.)

The 6502 at least had a BCD math instruction.

> Though even more
> often, they encoded each decimal digit in a single byte.

That *is* BCD. "Packed BCD" is two BCD digits per octet. :-)


-- 
   Darren New / San Diego, CA, USA (PST)
     Remember the good old days, when we
     used to complain about cryptography
     being export-restricted?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.