256-byte "music generator"

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
256-byte "music generator"
by on (#197914)
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"
by on (#197917)
Cool stuff!
Re: 256-byte "music generator"
by on (#198039)
Any reason why you can't supply this as NSF too? Does it use IRQ?
Re: 256-byte "music generator"
by on (#198040)
Here is an NSF.
Re: 256-byte "music generator"
by on (#198367)
Hrm... This does not appear to work with NSFPlay.
Re: 256-byte "music generator"
by on (#198628)
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"
by on (#198633)
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"
by on (#208731)
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 :)~~~