Page 1 of 1

256-byte "music generator"

Posted: Sat Jun 10, 2017 3:08 pm
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...

Re: 256-byte "music generator"

Posted: Sat Jun 10, 2017 4:22 pm
by ccovell
Cool stuff!

Re: 256-byte "music generator"

Posted: Mon Jun 12, 2017 10:55 am
by B00daW
Any reason why you can't supply this as NSF too? Does it use IRQ?

Re: 256-byte "music generator"

Posted: Mon Jun 12, 2017 11:15 am
by MrNorbert1994
Here is an NSF.

Re: 256-byte "music generator"

Posted: Fri Jun 16, 2017 10:13 pm
by B00daW
Hrm... This does not appear to work with NSFPlay.

Re: 256-byte "music generator"

Posted: Tue Jun 20, 2017 10:27 pm
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.

Re: 256-byte "music generator"

Posted: Tue Jun 20, 2017 10:36 pm
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

Re: 256-byte "music generator"

Posted: Sat Nov 25, 2017 5:47 pm
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 :)~~~