krikzz / msu-md

MegaCD driver for msu-like interfacing with CD hardware
GNU General Public License v3.0
34 stars 3 forks source link

Example on how to implement MSU-MD in SGDK projects? #10

Closed izu68 closed 1 year ago

izu68 commented 1 year ago

Hi, I'm making a game using Stef's SGDK library for Mega Drive development in C, and would like to use MSU-MD without the provided sys.h file.

How do I import the bin file and how do I call the MSU-MD driver? Could you write an example of how to do that in the README file so it's easier to implement?

Thanks in advance.

krikzz commented 1 year ago

you just need to include driver file using asm .incbin directive and call the address where it include to init the driver, then you can use driver registers. i don't think that i can explain it more clear than it already shown in msu-md-sample at my github

ср, 28 дек. 2022 г. в 13:44, izu68 @.***>:

Hi, I'm making a game using Stef's SGDK library for Mega Drive development in C, and would like to use MSU-MD without the provided sys.h file.

How do I import the bin file and how do I call the MSU-MD driver? Could you write an example of how to do that in the README file so it's easier to implement?

Thanks in advance.

— Reply to this email directly, view it on GitHub https://github.com/krikzz/msu-md/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGU2CTBUHY67TK4N77MGUXTWPQY2VANCNFSM6AAAAAATLHNP5Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>