Today's stupid discovery: So the Apple IIgs and the Super Nintendo both use the WDC 65C816 CPU, an enhanced 16-bit 6502 derivative. The CPU starts in 8-bit mode, so it acts exactly like a 6502. You can switch it into 16bit mode, however, there's a problem.
-
-
instead they added a new CPU opcode called XCE: eXchange Carry with Emulation. It just takes the 9-bit status register and swaps the top bit (Emulation) and the bottom bit (Carry).
Prikaži ovu nit -
so since you can't just directly set the status register and affect the 9th bit, you instead set or unset the carry bit and then swap them around to change if the CPU is in 8bit or 16bit mode.
Prikaži ovu nit -
it's such a weird design. Should we expand the status register? add another one? implement some other way to trigger this? NAH FUCK IT, JUST WRITE AN INSTRUCTION TO SWAP AROUND THE CPU'S STATUS REGISTER
Prikaži ovu nit -
fun fact: every SNES game has to have this code at the beginning. Because the SNES boots up in 8-bit mode (as it uses a variant of the WDC 65C816), but all SNES games are 16-bit.
Prikaži ovu nit -
The SNES using the 65C816 also means that Apple was indirectly involved in the design of the SNES: Western Design Center (who designed it) after consulting with Apple on what they wanted for the next series of Apple II computers.
Prikaži ovu nit -
This is why the 65C816 has the 8-bit mode that's compatible with the 6502 (as Apple wanted Apple II compatiblity) but with more RAM. That's why it's natively 16bit, but with a 24bit address bus so it can use up to 16 megabytes of RAM.
Prikaži ovu nit -
-
And the "start in emulation mode" function means you don't have to have a firmware to put it in the right mode before the CPU turns on. That's pretty important for the SNES, since all the code that runs on the SNES CPU is on the cartridge.
Prikaži ovu nit -
In any case, the SNES uses the Ricoh 5A22, which is a derivative design that adds some functionality the SNES needs, like DMA and reading controller inputs.pic.twitter.com/DJvObt1z42
Prikaži ovu nit -
tangent: So the Apple IIGS is named that because it stands for "Graphics and Sound", as it's got much better graphics and sound over the standard apple II line. The sound is provided by an Ensoniq 5503 DOC wavetable synth
Prikaži ovu nit -
That's the same sound chip that powers the Ensoniq Mirage and the ESQ-1 professional synths.pic.twitter.com/zVdseAfuUK
Prikaži ovu nit -
This sound chip was designed by Robert Yannes, who is better known for designing the MOS 6581/8580 Sound Interface Device, the SID chip that powered the Commodore 64.pic.twitter.com/W2waIKwLaS
Prikaži ovu nit -
Ensoniq was founded in 1983 as Peripheral Visions, by former MOS Tech engineers who had worked on the C64. Their plan was to build their own computer, and to raise funds for this project, they were working on making a computer keyboard for the Atari 2600.
Prikaži ovu nit -
However, something else happened in 1983: The video game market crashed (primarily in the US). So Atari canceled the keyboard project.
Prikaži ovu nit -
On top of that, Commodore sued, claiming they owned the keyboard project So they renamed themselves and pivoted into making synths.
Prikaži ovu nit -
With their first product being the Ensoniq Mirage DSK-1, an affordable sampling synth which had features equivalent to much more expensive samplers.pic.twitter.com/q0KGSIsRuv
Prikaži ovu nit -
Later, in 1998, Ensoniq was acquired by Creative, creators of the Sound Blaster.
Prikaži ovu nit -
So it's a company that started from Commodore and ended up as Creative. Weird. In any case, it's not the only legal trouble related to them... Apple also got sued because of their chip being in the Apple IIgs.
Prikaži ovu nit -
-
See, there's two companies called Apple, and they've sued each other a few times. They are finally no longer having trouble, but that's rumored to be because one gave half a BILLION dollars to the other.
Prikaži ovu nit -
So what happened is that in 1961, Brian Epstein discovered a liverpool band called The Beatles.He was impressed by them and they discussed him becoming their management, and they signed a 5 year contract.pic.twitter.com/b0FNWClW5f
Prikaži ovu nit -
Around when that contract was running out, Epstein died. The Beatles had been considering how to move foward, and their solution was to found several companies of their own, including Apple Records.
Prikaži ovu nit -
These companies were all subdivisions of the parent company, Apple Corps. Yes, that's a pun.pic.twitter.com/R0KWQ697ov
Prikaži ovu nit -
So, Apple Records wasn't just The Beatles, as they signed a other acts the Beatles discovered or supported. But in any case, after 1969 the various Apple Corps companies were mostly merged, and they were informally known as just "Apple".
Prikaži ovu nit -
importantly one of the divisions that didn't exist after 1969 was Apple Electronics, which meant Apple Corps was mostly associated with music (and occasionally film).
Prikaži ovu nit -
And therefore it wasn't really a problem for three guys in Los Altos California to name their company Apple Computer, Inc, in 1977. Clearly they're distinct areas, so having the same name isn't a problem, right?
Prikaži ovu nit -
Well, no, in 1978 Apple Corps sued Apple Computer, for trademark infringement. That lawsuit continued until 1981, when Apple Computer paid Apple Corps 80,000$ to just drop it, and they laid out some conditions:
Prikaži ovu nit -
1. Apple Computer wouldn't enter the music business 2. Apple Corps wouldn't enter the computer business.
Prikaži ovu nit -
So now they're both happy, they both agree to stay out of each other's fields, and life can continue. Until 1986.
Prikaži ovu nit -
When Apple Computer releases their new computer, the Apple IIGS ("Graphics and Sound"), complete with the Ensoniq 5503 DOC chip right out of a professional synth keyboard!
Prikaži ovu nit - Još 30 drugih odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.