hi!
i'm trying to play sound on cpc in assembly using i/o ports only, and getting no success at all... :S
i tried:
ld bc,$f782
out (c),c
ld bc,$f407
out (c),c
ld bc,$f638
out (c),c
ld bc,$f400
out (c),c
ld bc,$f6FE
out (c),c
ld bc,$f408
out (c),c
ld bc,$f60F
out (c),c
and
ld b,$F4
out (c),c
ld bc,$F607
out (c),c
ld bc,$F600
out (c),c
ld b,$F4
out (c),c
ld bc,$F638
out (c),c
ld bc,$F600
out (c),c
ld b,$F4
out (c),c
ld bc,$F600
out (c),c
ld bc,$F600
out (c),c
ld b,$F4
out (c),c
ld bc,$F6FE
out (c),c
ld bc,$F600
out (c),c
ld b,$F4
out (c),c
ld bc,$F608
out (c),c
ld bc,$F600
out (c),c
ld b,$F4
out (c),c
ld bc,$F60F
out (c),c
ld bc,$F600
out (c),c
any idea? and thanks in advance!
(btw, please don’t suggest me to use firmware routines, sound queues, etc. - i really just want to use i/o ports directly only - i’m all focused on multitargeting/multiplatform development (trying to cover all z80-based machines that uses ay-3-891x), since if i could access ay-3-891x directly on ZX-Spectrum and MSX, it seems totally nonsense for me if i couldn’t do the same on CPC )