Skip to content

Commit

Permalink
SNDSB need to probe 0xD2, 0xD4 on PC-98 and 0x220, 0x240 on IBM PC
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed May 22, 2019
1 parent 100e975 commit 5554c13
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hw/sndsb/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4892,10 +4892,17 @@ int main(int argc,char **argv) {
}
}
if (!disable_probe) {
#if defined(TARGET_PC98)
if (sndsb_try_base(0xD2))
printf("Also found one at 0xD2\n");
if (sndsb_try_base(0xD4))
printf("Also found one at 0xD4\n");
#else
if (sndsb_try_base(0x220))
printf("Also found one at 0x220\n");
if (sndsb_try_base(0x240))
printf("Also found one at 0x240\n");
#endif
}

#if !(TARGET_MSDOS == 16 && (defined(__TINY__) || defined(__SMALL__) || defined(__COMPACT__))) /* this is too much to cram into a small model EXE */
Expand Down

0 comments on commit 5554c13

Please sign in to comment.