IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Thanks to all
Now I see why the code wouldn't port without help. But I still have one question. WTF would anyone prefer little-endian? I mean damn, that just don't make no sense nohow.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Things were expensive back in those days.
Remember that CPUs and RAM were expensive early on.

Blame it on the 4004 and the 650x. [link|http://www.cpushack.net/CPU/cpu1.html|Linky]:

The 650x was little endian (lower address byte could be added to an index register while higher byte was fetched) and had a completely different instruction set from the big endian 6800. Apple designer Steve Wozniak described it as the first chip you could get for less than a hundred dollars (actually a quarter of the 6800 price) - it became the CPU of choice for many early home computers (8 bit Commodore and Atari products).

Unlike the 8080 and its kind, the 6502 (and 6800) had very few registers. It was an 8 bit processor, with 16 bit address bus. Inside was one 8 bit data register, two 8 bit index registers, and an 8 bit stack pointer (stack was preset from address 256 ($100 hex) to 511 ($1FF)). It used these index and stack registers effectively, with more addressing modes, including a fast zero-page mode that accessed memory addresses from address 0 to 255 ($FF) with an 8-bit address that speeded operations (it didn't have to fetch a second byte for the address).

Back when the 6502 was introduced, RAM was actually faster than microprocessors, so it made sense to optimize for RAM access rather than increase the number of registers on a chip. It also had a lower gate count (and cost) than its competitors.


I don't know the details, but the choice of endian-ness probably had to do with the desire to keep the transistor count down and thus the price.

Cheers,
Scott.
     Can someone give the abridged description of "endian"? - (drewk) - (24)
         Big Endian is the proper form. - (ChrisR) - (2)
             Thanks to all - (drewk) - (1)
                 Things were expensive back in those days. - (Another Scott)
         Very simple - (ben_tilly) - (15)
             Big Endian is also known as Network Byte Order - (tuberculosis)
             Little endian uses hebrew right to left - (ChrisR) - (13)
                 No it doesn't, and that's the problem. - (CRConrad) - (12)
                     Agreed. But left wondering on Endianess of Roman Numerals - (ChrisR) - (3)
                         This makes my head spin... - (Another Scott) - (2)
                             Try it with an abacus - (drewk) - (1)
                                 Exactly - (ben_tilly)
                     On Foolish Conistency - (pwhysall)
                     It gets worse. - (static) - (1)
                         Hurrah for 4-bit words. -NT - (pwhysall)
                     OK Christian.... - (jb4) - (4)
                         Give CRC pause? - (drewk) - (1)
                             Selbstverstandlich! -NT - (jb4)
                         Explain - how does wrongwayaroundianism help in those cases? -NT - (CRConrad) - (1)
                             zum Beispiel - (jb4)
         Critter's Wiki link is good. - (static) - (1)
             And vice versa for me. Long live big-endian! -NT - (a6l6e6x)
         16, 15, 14 vs 1, 2 ,3 -NT - (boxley)
         Also note the USAmerican date format, which is MIDDLE-Endian - (CRConrad)
         "Endian" is a who they offshoar IT wurk to. -NT - (tablizer)

Whoa-ho-ho, nice shootin', Tex!
72 ms