256-byte "music generator"

Discuss NSF files, FamiTracker, MML tools, or anything else related to NES music.

Moderator: Moderators

Post Reply
User avatar
za909
Posts: 248
Joined: Fri Jan 24, 2014 9:05 am
Location: Mijn hart woont al in Nederland

256-byte "music generator"

Post by za909 »

I was inspired by the "A Mind is Born" 256-byte demo on the C64 to try and put something interesting in the same amount of space for the NES. Not counting the stupid required system init things it does fit into 256 bytes and there's a TON of ways to improve on this but this was just a proof of concept I threw together in about one hour. It takes 146.633 minutes for it to loop...
Attachments
MusicGenerator.nes
(32.02 KiB) Downloaded 393 times
ccovell
Posts: 1045
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan
Contact:

Re: 256-byte "music generator"

Post by ccovell »

Cool stuff!
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: 256-byte "music generator"

Post by B00daW »

Any reason why you can't supply this as NSF too? Does it use IRQ?
User avatar
MrNorbert1994
Posts: 985
Joined: Tue May 06, 2014 1:50 pm
Location: Szeged, Hungary
Contact:

Re: 256-byte "music generator"

Post by MrNorbert1994 »

Here is an NSF.
Attachments
Music Generator.nsf
(390 Bytes) Downloaded 557 times
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: 256-byte "music generator"

Post by B00daW »

Hrm... This does not appear to work with NSFPlay.
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: 256-byte "music generator"

Post by rainwarrior »

This is a malformed NSF: mentioned in other thread

1. The last bank byte should be 00 not F9. The file isn't large enough to contain a bank F9, and this NSF relies on no bankswitching.

2. STA $2000 is not allowed in NSF. The player needs control over NMI.
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: 256-byte "music generator"

Post by B00daW »

rainwarrior wrote:This is a malformed NSF: mentioned in other thread

1. The last bank byte should be 00 not F9. The file isn't large enough to contain a bank F9, and this NSF relies on no bankswitching.

2. STA $2000 is not allowed in NSF. The player needs control over NMI.
Posted the fix here > viewtopic.php?p=198632#p198632
User avatar
bazza
Posts: 94
Joined: Fri Nov 24, 2017 1:36 pm
Location: Argentina
Contact:

Re: 256-byte "music generator"

Post by bazza »

za909 wrote:I was inspired by the "A Mind is Born" 256-byte demo on the C64 to try and put something interesting in the same amount of space for the NES. Not counting the stupid required system init things it does fit into 256 bytes and there's a TON of ways to improve on this but this was just a proof of concept I threw together in about one hour. It takes 146.633 minutes for it to loop...
Publish source code :)~~~
Post Reply