Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Active Member Welohabi's Avatar
    Join Date
    Mar 2012
    Location
    Alabama
    Posts
    614
    Points
    1,179
         User Info     Contact     Gamer ID
    Join Date
    Mar 2012
    Location
    Alabama
    Posts
    614
    Points
    1,179

    Contact info:

    Youtube Channel: http://www.youtube.com/user/Welohabi

    Default [TUTORIAL] Bits, Bytes, Halfwords, and Words

    An Introduction to Bits, Bytes, Halfwords, and Words for Wii coding
    by Welohabi

    Understanding these basics are important to understanding the codes themselves. I have left out some details due to them not being important to Wii coding.

    Let's start with some definitions first.
    • bit - A single binary digit, that can only have a value of 0 or 1.
    • nybble - 4 bits
    • byte - 8 bits
    • halfword - 16 bits
    • word - 32 bits



    When dealing with Wii codes you are normally reading them in hexadecimal form.

    For example:
    Binary Decimal Hexadecimal
    0000 0 0
    0001 1 1
    0010 2 2
    0011 3 3
    0100 4 4
    0101 5 5
    0110 6 6
    0111 7 7
    1000 8 8
    1001 9 9
    1010 10 A
    1011 11 B
    1100 12 C
    1101 13 D
    1110 14 E
    1111 15 F
    Notice that {A,B,C,D,E,F} are not letters, they are numbers! Hexadecimal "C" means decimal "12" just like binary "1100". Computers are designed to use hexadecimal because binary-hexadecimal handling is far more efficient than binary-decimal.

    The hexadecimal number 1 is made up of 4-bits (0001) also known as 1 nybble.
    The hexadecimal number 11 is made up of 8-bits (00010001) also known as 1 byte.
    The hexadecimal number 1111 is made up of 16-bits (0001000100010001) also known as a halfword.
    The hexadecimal number 11111111 is made up of 32-bits (00010001000100010001000100010001) also known as a word.

    I'm sure you can see why it is easier to read the numbers in hexadecimal form versus reading them in binary. This should also help you to understand basic codetypes a little better.

    Example 8-bit Code [Welohabi]
    0012346B 00000011

    Example 16-bit Code [Welohabi]
    0212346A 00001111

    Example 32-bit Code [Welohabi]
    04123468 11111111

    0 Not allowed! Not allowed!
    Ḳαямα їṧ α ℬḯтℌ‼
    The energy you give, you shall receive.


    Please help me earn some extra dropbox space. http://db.tt/9srKWou0

  2. #2
    mini mini's Avatar
    Join Date
    Aug 2011
    Location
    Minnesota
    Posts
    1,988
    Points
    2,840
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Minnesota
    Posts
    1,988
    Points
    2,840
    Gamer IDs

    PSN ID: minnesotastyle

    Contact info:

    Youtube Channel: www.youtube.com/user/codeleakerforums

    Default [TUTORIAL] Bits, Bytes, Halfwords, and Words

    Ok. Let's start. I don't see any definitions.

    0 Not allowed! Not allowed!


  3. #3
    ✝ Pursuit of Happiness ✝ Sh0x's Avatar

    Badge

    Join Date
    May 2012
    Location
    North Carolina
    Posts
    2,838
    Points
    3,175
         User Info     Contact     Gamer ID
    Join Date
    May 2012
    Location
    North Carolina
    Posts
    2,838
    Points
    3,175
    Gamer IDs

    Gamertag: iiSh0x

    Contact info:

    Youtube Channel: http://www.youtube.com/zSh0x

    Default

    This will just confuse the fuck out of Wii kids.
    I think your should make it easier to understand.

    0 Not allowed! Not allowed!





  4. #4
    Active Member Welohabi's Avatar
    Join Date
    Mar 2012
    Location
    Alabama
    Posts
    614
    Points
    1,179
         User Info     Contact     Gamer ID
    Join Date
    Mar 2012
    Location
    Alabama
    Posts
    614
    Points
    1,179

    Contact info:

    Youtube Channel: http://www.youtube.com/user/Welohabi

    Default

    Quote Originally Posted by mini View Post
    Ok. Let's start. I don't see any definitions.
    Are you blind?




    Quote Originally Posted by InspiredGFX View Post
    This will just confuse the fuck out of Wii kids.
    I think your should make it easier to understand.
    If they can't understand this then there is no hope for them anyway. There is a lot more to bits and bytes than this simple tutorial.

    0 Not allowed! Not allowed!
    Last edited by Welohabi; 11-03-2012 at 07:11 AM.
    Ḳαямα їṧ α ℬḯтℌ‼
    The energy you give, you shall receive.


    Please help me earn some extra dropbox space. http://db.tt/9srKWou0

  5. #5
    Wii Coder
    ChumLee's Avatar

    Badge

    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,383
    Points
    7,606
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,383
    Points
    7,606
    Gamer IDs

    Gamertag: TERR0Rx9

    Contact info:

    Youtube Channel: http://www.youtube.com/user/HAXZingTERR0R

    Default

    Nice tutorial. This is very important to understand and most people don't realize it until months after they start coding.

    0 Not allowed! Not allowed!


  6. #6
    mini mini's Avatar
    Join Date
    Aug 2011
    Location
    Minnesota
    Posts
    1,988
    Points
    2,840
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Minnesota
    Posts
    1,988
    Points
    2,840
    Gamer IDs

    PSN ID: minnesotastyle

    Contact info:

    Youtube Channel: www.youtube.com/user/codeleakerforums

    Default [TUTORIAL] Bits, Bytes, Halfwords, and Words

    Quote Originally Posted by Welohabi View Post
    Are you blind?





    If they can't understand this then there is no hope for them anyway. There is a lot more to bits and bytes than this simple tutorial.
    All I saw was this

    0 Not allowed! Not allowed!


  7. #7
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    Quote Originally Posted by HAXZing TERR0R View Post
    Nice tutorial. This is very important to understand and most people don't realize it until months after they start coding.
    This did come in handy, now I understand it a bit more.

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  8. #8
    Notorious B.I.G
    http://xat.com/cleaker
    Goober.'s Avatar
    Join Date
    Dec 2011
    Location
    A Safe Haven
    Posts
    6,713
    Points
    10,699
         User Info     Contact     Gamer ID
    Join Date
    Dec 2011
    Location
    A Safe Haven
    Posts
    6,713
    Points
    10,699

    Contact info:

    Youtube Channel: http://www.youtube.com/user/Goober1337FX?feature=mhee

    Default

    @mini
    scroll down :herp:

    @the other people saying this is to confusing its not. he even put examples like this
    Example 8-bit Code [Welohabi]
    0012346B 00000011

    Example 16-bit Code [Welohabi]
    0212346A 00001111

    Example 32-bit Code [Welohabi]
    04123468 11111111

    Nice job man, Good to see you making these.

    0 Not allowed! Not allowed!
    Last edited by Goober.; 11-03-2012 at 07:25 AM.

  9. #9
    Wii Coder
    ChumLee's Avatar

    Badge

    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,383
    Points
    7,606
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,383
    Points
    7,606
    Gamer IDs

    Gamertag: TERR0Rx9

    Contact info:

    Youtube Channel: http://www.youtube.com/user/HAXZingTERR0R

    Default

    Here is a binary breakdown of codetypes that is really helpful. Found at http://www.geckocodes.org/index.php?arsenal=1

    http://prntscr.com/iuoma

    0 Not allowed! Not allowed!


  10. #10
    Active Member Welohabi's Avatar
    Join Date
    Mar 2012
    Location
    Alabama
    Posts
    614
    Points
    1,179
         User Info     Contact     Gamer ID
    Join Date
    Mar 2012
    Location
    Alabama
    Posts
    614
    Points
    1,179

    Contact info:

    Youtube Channel: http://www.youtube.com/user/Welohabi

    Default

    Quote Originally Posted by Outlaw View Post
    This did come in handy, now I understand it a bit more.
    Nice pun.

    Thanks HAXZing TERR0R and Goober.

    0 Not allowed! Not allowed!
    Ḳαямα їṧ α ℬḯтℌ‼
    The energy you give, you shall receive.


    Please help me earn some extra dropbox space. http://db.tt/9srKWou0

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 12:58 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.