djhackersdev / bemanitools

Runs recent Konami arcade games and emulates various arcade hardware.
The Unlicense
87 stars 17 forks source link

aciodrv: add PANB support (+ aciotest handler) - [merged] #197

Closed icex2 closed 1 year ago

icex2 commented 3 years ago

In GitLab by @shtokopep on May 2, 2021, 15:16

Merges nostalgia -> master

Summary

add PANB support (nostalgia piano) to aciodrv as well as an aciotest handler for it

Description

this allows to use a nostalgia piano through aciodrv

Related Issue

https://dev.s-ul.net/djhackers/bemanitools/-/issues/69

How Has This Been Tested?

The aciotest handler :

Checklist

icex2 commented 3 years ago

In GitLab by @xyen on May 3, 2021, 18:28

Commented on src/main/aciodrv-proc/panb.c line 20

it's already a static (above) he just didn't carry over the static declaration down. The rest of the locks and stuff though should also be static.

icex2 commented 3 years ago

In GitLab by @xyen on May 3, 2021, 18:28

Commented on src/main/aciodrv-proc/panb.c line 52

Actually, this should be changed thread_create lest we forget later. (it's already bound to crt_thread_create by default).

Having the threads functions be passed in is NOT the solution here I think, it should only be passed when it crosses a memory space boundary, since otherwise the actual IO DLL itself should be receiving the thread functions and calling thread_api_init.

icex2 commented 3 years ago

In GitLab by @shtokopep on May 3, 2021, 20:03

resolved all threads

icex2 commented 3 years ago

In GitLab by @shtokopep on May 3, 2021, 20:06

Commented on src/main/aciodrv-proc/panb.c line 20

changed this line in version 4 of the diff

icex2 commented 3 years ago

In GitLab by @shtokopep on May 3, 2021, 20:06

Commented on src/main/aciodrv-proc/panb.c line 52

changed this line in version 4 of the diff

icex2 commented 3 years ago

In GitLab by @shtokopep on May 3, 2021, 20:06

added 1 commit

Compare with previous version

icex2 commented 3 years ago

In GitLab by @shtokopep on May 3, 2021, 20:15

added 4 commits

Compare with previous version

icex2 commented 3 years ago

In GitLab by @shtokopep on May 3, 2021, 20:16

Thanks for the feedback, I think I took care of everything, rebased and squashed, should be good to go :)

icex2 commented 3 years ago

yeah, that's lgtm. Great first contribution and happy to see others getting on-board.

icex2 commented 3 years ago

approved this merge request

icex2 commented 3 years ago

resolved all threads