OK, I'd like to make a sort of "Hello world" with MSX-Music, but without using MSX-Music BASIC. So I can switch to assembler when I understood how it works. I opened in the emulator an MSX2 and inserted a FM-PAC cartridge.
I made this small program :
10 CALL MUSIC (0,0,1,1,1,1,1,1,1,1,1) 20 AD=&h7FF4:DAT=&h7FF5 30 POKEAD,&h30:POKEDAT,&h2F:' Instrument 2, volume 15 40 POKEAD,&h10:POKEDAT,216:' F-number LSB = 216 50 POKEAD,&h20:POKEDAT,&b00001000:' Octave = 4, F-number MSB = 0 60 POKEAD,&h20:POKEDAT,&b00011000:' +Key on
This produces no sound at all ...
I've tried before that using the I/O ports &h7C/&h7D but the result was the same.
I thought that either I/O or POKE would work, since the FM-PAC is inserted ...
What am I missing ?
Thanks.
Entrar ou registrar-se para comentar