class ZXUtils::MusicBox::Song::PlayerModule

MusicBox Song PlayerModule

A PlayerModule instance contains a compiled Song in the form suitable for the ZXUtils::AYMusicPlayer.

An instance of this class can be created by calling Song.to_player_module instance method of the compiled song or SongModule.to_player_module instance method.

Use Z80::TAP.save_tap included method to save the module as a .tap file.

Attributes

code[R]

A compiled song module body, including the relocation table, as a binary string suitable for the ZXUtils::AYMusicPlayer.

org[RW]

An address the module will be saved at when using one of the Z80::TAP methods.