This video on dividing on a 6502 is very relaxing and reminds me of simpler times

  • 🔧 Actively working on site again.
Shit, son. It's STILL used. They keep cranking out derivatives for industrial applications and things that don't need a lot of horsepower. Your coffee maker doesn't need an ARM.

After that, it'll probably exist nearly forever on at least an emulation level because of all the video games that are coded in assembly for it.
 
Ben does good videos. The only thing that bugs me about this video is that he used a global instead of the stack for that one variable, but I guess it's ok if you only have a single core and don't have to worry about reentrancy, or caching, still seems wrong to me though.

I also liked this video, really cleared things up
 
Ben does good videos. The only thing that bugs me about this video is that he used a global instead of the stack for that one variable, but I guess it's ok if you only have a single core and don't have to worry about reentrancy, or caching, still seems wrong to me though.

Only 256 bytes of stack on a 6502 and there's no exception when it overflows. You've also got 256 bytes of zero page data, and that is naturally global.

So 6502 code tends to be a bag of globals. Like you say it's single-threaded and nonreentrant so it doesn't matter.
 
Someone should rig up a NES or C64 clone with multiple 6502 cores. They'd make an absolute killing with the Special Brand Autism crowd.
They still make famiclones to this day in Asia. C64 is a bit harder since the SID chip isn't off the shelf parts. I think there's clones of it, but they probably don't sound correct.
 
A couple of months ago I started reading a whole lot of wiki.nesdev.com for fun, and its made me really wish they made little easily programmable NES-on-a-chip systems, akin to a Raspberry Pi.

(The NES doesn't use an out-of-the-box 6502, but rather a variant with its own proprietary GPU, the "Picture Processing Unit" (nesdev | wikipedia). The SNES' CPU is also based on the 6502.) your mom processes my unit

They still make famiclones to this day in Asia. C64 is a bit harder since the SID chip isn't off the shelf parts. I think there's clones of it, but they probably don't sound correct.

Same reason why Famiclones never look quite right, with the colors often being off, since the PPU was designed just for the NES.
 
  • Informative
Reactions: BONE_Buddy
(The NES doesn't use an out-of-the-box 6502, but rather a variant with its own proprietary GPU, the "Picture Processing Unit" (nesdev | wikipedia). The SNES' CPU is also based on the 6502.)

Nitpick: The Ricoh 2A03 integrates the CPU and APU on the same die. Not the PPU. The PPU is on a separate chip also made by Ricoh.

Interesting thing about the 2A03 is that it doesn't have a decimal mode, so it's actually not fully 6502 compatable. This lead to a rather infamous programmer rant that was burried in an Famicom game for years. It's believed Ricoh hobbled their own clone because they didn't want to pay MOS Tech royalties.

your mom processes my unit

Funny. Your mom does the same thing for me.
 
Back