First computer I used as a student, Elliott 4100, had 24-bit integers and floats as standard, 6-bit character codes. Think ICT 1900/2900 used similar format.
Intel 4004 calculator chip, predecessor of all Intels, had 4-bit integers. Only need 4 for a decimal digit!
Depended how many transistors or valves you could squeeze on to your processor board.
Big Endian -> Little Endian
-
- Posts: 1158
- Joined: May 08, 2006 21:58
- Location: Crewe, England
-
- Posts: 1158
- Joined: May 08, 2006 21:58
- Location: Crewe, England
Re: Big Endian -> Little Endian
According to Wikipedia, MIDI predates the home computer, and originated in the synthesiser business. The Standard Midi File format was a bit of an add-on.
-
- Site Admin
- Posts: 6241
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Re: Big Endian -> Little Endian
Just to say, with Endian-specific code, it’s probably best to abstract out the byte swapping and only use it in code that reads/writes the values from/to the code. This is the only part of the code that needs to be Endian-specific.
That way, you can work in your native Endian format, whichever it may be, and never have to worry about it going forward.
That way, you can work in your native Endian format, whichever it may be, and never have to worry about it going forward.
Who is online
Users browsing this forum: No registered users and 5 guests