Skip to content

Add sound support via POKE? #16

@driscoll

Description

@driscoll

Some of the historical code I've been working with uses POKE/CALL routines for sound effects. I see that the ASCII bell is simulated by playing an audio file so this feature may require significant development work. Take a look at the example code below. Is this within the scope of your plans for this project? I'm happy to take a shot at implementation if supporting this sort of feature seems feasible.

2010 POKE 768,173: POKE 769,48: POKE 770,192: POKE 771,136: POKE 772,208: POKE 773,4: POKE 774,198: POKE 775,1: POKE 776,240
2015 POKE 777,8: POKE 778,202: POKE 779,208: POKE 780,246: POKE 781,166: POKE 782,0: POKE 783,76: POKE 784,0: POKE 785, 3: POKE 786, 96
2030 FOR I = 1 TO 6: READ N,D: POKE 0,N: POKE 1,D: CALL 768: NEXT I: DATA 110,75,70,75,55,75,45,200,55,100,45,255

Thanks so much for creating such a useful tool.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions