256-byte "music generator"
Moderator: Moderators
256-byte "music generator"
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 394 times
Re: 256-byte "music generator"
Any reason why you can't supply this as NSF too? Does it use IRQ?
- MrNorbert1994
- Posts: 987
- Joined: Tue May 06, 2014 1:50 pm
- Location: Szeged, Hungary
- Contact:
Re: 256-byte "music generator"
Here is an NSF.
- Attachments
-
- Music Generator.nsf
- (390 Bytes) Downloaded 561 times
Re: 256-byte "music generator"
Hrm... This does not appear to work with NSFPlay.
- rainwarrior
- Posts: 8732
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: 256-byte "music generator"
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.
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 the fix here > viewtopic.php?p=198632#p198632rainwarrior 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.
Re: 256-byte "music generator"
Publish source code ~~~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...