News for hackers. Stuff that matters.
Re:How to program an NES game in C by pjmlp on Sunday August 13, 2017 @10:56AM (#15003130)
Even a 8080 would be problematic, given near and far segments and the memory tricks we used to do to fit everything into the available memory.

Then it also depends on the IO and video architecture. The PC ones were a bit of a pain.

Re:How to program an NES game in C by userbinator on Sunday August 13, 2017 @11:11AM (#15003202)
A 8080 has a linear 64K address space, like the 8085 and the Z80. Perhaps you were thinking of 8086?

In any case, 64K address space is not the real limiter with a 6502 --- it's other things, like the tiny number of registers, relative shortage of 16-bit addressing modes, and fixed(!) 256-byte stack which make it difficult to program in C. Even the 6800, with its 16-bit index and stack pointer registers, would be easier.

Re:How to program an NES game in C by pjmlp on Sunday August 13, 2017 @11:52AM (#15003361)
Yeah, I thought 8086 also had segments, did not bother to cross-check it.
Re:How to program an NES game in C by pjmlp on Sunday August 13, 2017 @04:49PM (#15004868)
Oops, another typo, I meant 8080.
Re:How to program an NES game in C by kazinator on Sunday August 13, 2017 @11:00AM (#15003151)
Re:How to program an NES game in C by pjmlp on Sunday August 13, 2017 @11:50AM (#15003357)
I mixed it up with 8086.