News for hackers. Stuff that matters.
Re:How we fit an NES game into 40 Kilobytes [video] by Scaevolus on Thursday September 06, 2018 @07:14PM (#17930466)
Retro City Rampage for NES did something similar (32KB program ROM, 256KB graphics ROM), but the author also developed a High Level Assembler so you he could write structured code more directly: https://www.youtube.com/watch?v=Hvx4xXhZMrU
Re:How we fit an NES game into 40 Kilobytes [video] by monocasa on Thursday September 06, 2018 @10:48PM (#17931522)
A lot of asm work back in the days was with fairly powerful macro assemblers that let you 80/20 rule yourself to fairly structured code.
Re:How we fit an NES game into 40 Kilobytes [video] by unwind on Friday September 07, 2018 @09:25AM (#17934014)
Well this video is about fitting all of the vertically-scrolling 4-player run-and-jump action into 40 KB, with some very neat tricks to shave and save everywhere. Really interesting if you're into low-level stuff. The NES looks kind of fun to develop for ...
Re:How we fit an NES game into 40 Kilobytes [video] by bopbop on Friday September 07, 2018 @09:33AM (#17934059)
It is actually - I've done quite a bit over the past two or three years and 6502 assembly is really nice to program - it's hard to explain, but the fact it only has three registers combined with a relative ton of storage space for variables means you're constantly doing this three-card Monte shuffle that is very satisfying.

It's also all eight bit, obviously, so you're also dealing with nice, human manageable numbers of 0 to 255.

Re:How we fit an NES game into 40 Kilobytes [video] by bopbop on Friday September 07, 2018 @03:05AM (#17932399)
Haven't watched this but follow the nes dev scene closely, and I'm looking forward to this.

Some other good new releases(all three of these are freely downloadable):

Project blue: http://forums.nesdev.com/viewtopic.php?f=33&t=16785

Star Evil and FF: http://forums.nesdev.com/viewtopic.php?f=33&t=16993

For anyone interested in doing some new programming, I recommend starting with nesdougs tutorials, which'll get you started with a dev environment in c:

https://nesdoug.com/

And checking out forums.nesdev.com in general.

Re:How we fit an NES game into 40 Kilobytes [video] by bopbop on Friday September 07, 2018 @03:10AM (#17932409)
Oh and should probably mention there's another nes kickstarter on now, nebs n debs, which is looking good:

https://www.kickstarter.com/projects/dullahan-software/nebs-...

Re:How we fit an NES game into 40 Kilobytes [video] by Dowwie on Friday September 07, 2018 @06:40AM (#17933234)
In addition to this talk, I recommend watching a documentary, Beep, about how musician-programmers managed to compose meaningful sounds and music in memory constrained systems.

http://www.gamessound.com/

Re:How we fit an NES game into 40 Kilobytes [video] by makapuf on Friday September 07, 2018 @05:45AM (#17932992)
quick summary : (video still interesting)

- optimize sprites as 8x8 tiles, use symmetry

- reuse sprites / tiles with different palettes

- define levels as metatiles of 32x32 made of 4x4 tiles

- set levels as symmetric, use high bit of metatile indices to define rotation of each metatile line.

- delta-encode hard mode wrt standard mode

Re:How we fit an NES game into 40 Kilobytes [video] by mattseattle on Friday September 07, 2018 @01:01AM (#17931987)
It's an interesting project, and I enjoyed watching the video, Thanks for sharing.
Re:How we fit an NES game into 40 Kilobytes [video] by Hydraulix989 on Thursday September 06, 2018 @10:20PM (#17931425)
How big are they normally?
Re:How we fit an NES game into 40 Kilobytes [video] by firdak on Thursday September 06, 2018 @10:24PM (#17931440)
Offical NES games were between 24KB (e.g. Excitebike) and 768KB (Kirby's Adventure) in size. The Japanese Famicom even had a 16KB game (Galaxian).
Re:How we fit an NES game into 40 Kilobytes [video] by 0xcde4c3db on Thursday September 06, 2018 @10:36PM (#17931486)
Famicom also had a 1024KB game (Metal Slader Glory).
Re:How we fit an NES game into 40 Kilobytes [video] by lostgame on Thursday September 06, 2018 @10:22PM (#17931431)
256kb, 512kb?