and here's your ZX beeper

no real hardware yet
specs of this dispatch may change at any time to fit a driver
This commit is contained in:
tildearrow 2022-05-14 00:22:23 -05:00
parent 0a0ddfa661
commit 895765b68a
7 changed files with 453 additions and 3 deletions

View file

@ -2874,7 +2874,7 @@ void FurnaceGUI::drawInsEdit() {
if (ins->type==DIV_INS_GB) {
volMax=0;
}
if (ins->type==DIV_INS_PET) {
if (ins->type==DIV_INS_PET || ins->type==DIV_INS_BEEPER) {
volMax=1;
}
if (ins->type==DIV_INS_FDS) {
@ -2906,6 +2906,10 @@ void FurnaceGUI::drawInsEdit() {
dutyLabel="Duty/Int";
dutyMax=10;
}
if (ins->type==DIV_INS_BEEPER) {
dutyLabel="Pulse Width";
dutyMax=255;
}
if (ins->type==DIV_INS_AY8930) {
dutyMax=255;
}