Re: [Circlr] [INFO] low down on 100% comp. ansii char map

From: Brian Jones (balif@seka.nacs.net)
Date: 12/22/96


On Sun, 22 Dec 1996, Darklord wrote:

>   Yea.. its done.. and im happy to say.. i learned something.
> For some reason.. i am dealing in octal.  I do not understand it.. but
> i have generated a character map and do not receive any bit with a code
> of over 7.  Also.. i have only been able to create a map from 10-172 OCD

	Octal works like this. The highest number in any place can be 7. I
assume you all know binary so you can do bitvectors..:) Its a base 8
system. The places go like this:  1's 8's 16's 32's 64's etc

	To convert an octal number to decimal you multiply the number in
the place by the places value.

234 = 2 x 1   +  3 x 8  +  4 x 16  = uhh no calculator. figure it out.

	To convert to binary is very simple. 3 bits of binary equal each
bit of octal. 

	327 = 	3	2	7
	       011     010     111	= 011010111

	110101000	=	110	101	000
				6	5	0	= 650

decimal: 0 1 2 3 4 5 6 7 8   9   10  11  12  13  14  15  16  17
octal  : 0 1 2 3 4 5 6 7 10  11  12  13  14  15  16  17  20

	Since 16 is composed of two eights... its 20 since the second
place is the eights colum. 

	Perhaps my fit of boredom will help people understand octal. :)
Hex is EXACTLY the same except the places are 1, 16, 32, 64 .. and the
highest number in a place is F or 15. Later

-----
 ________________________________________________________________
.--Balif@Nacs.Net - LaME Magazine http://www.nacs.net/~balif/lame.
|--Loozers Achieving Mindboggling Eleetness (whurrrrrrrd)--------|
.________________________________________________________________.


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3a

mQBtAzKjS2EAAAEDAMzihJ3fJ5xz2KtzH31Bwi5cIcFVTRiSYK2yvSXq3v1Qs7ra
HtQuCsSMEnrmwAFhH16THW02uKGH1qOuHHX1dCYI8ZrybspIOwno2+29MiRSX7uh
VFyRA8kjAvcJyTy69QAFEbQcQnJpYW4gSm9uZXMgPGJhbGlmQG5hY3MubmV0PokA
dQMFEDKjS2EjAvcJyTy69QEBGYcC/3TFT8qgU/qZLoQMkYm4hVoxWdwTLuEVtqAg
87NjShcCIUR5eA6t0MpjHD4xkFTRl6nqC3adc3d1a/QOxBcWr9YUOcaRQz8OhZL7
3RFqJrgpku00CcI7WE6Cq+w7U7Vv7A==
=zM09
-----END PGP PUBLIC KEY BLOCK-----

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST