Skip to content

Commit

Permalink
Merge pull request #273 from mheyer32/add_cdplayer_library
Browse files Browse the repository at this point in the history
Add cdplayer.library v37 SDK
  • Loading branch information
bebbo authored Jun 18, 2022
2 parents 9711f51 + 8d364bd commit 5c917ef
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
30 changes: 30 additions & 0 deletions patches/cdplayer/cdplayer.fd.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
--- cdplayer.library/include/fd/cdplayer.fd.orig 2022-04-22 22:53:12.738869052 -0700
+++ cdplayer.library/include/fd/cdplayer.fd 2022-04-22 22:53:38.970284940 -0700
@@ -1,15 +1,15 @@
##base _CDPlayerBase
##bias 30
-CDEject(io_ptr) (a5)
-CDPlay(starttrack,endtrack,io_ptr) (a0,a1,a5)
-CDResume(Mode,io_ptr) (a0,a5)
-CDStop(io_ptr) (a5)
-CDJump(Blocks,io_ptr) (a0,a5)
-CDActive(io_ptr) (a5)
-CDCurrentTitle(io_ptr) (a5)
-CDTitleTime(cd_time,io_ptr) (a0,a5)
-CDGetVolume(vol,io_ptr) (a0,a5)
-CDSetVolume(vol,io_ptr) (a0,a5)
-CDReadTOC(toc,io_ptr) (a0,a5)
-CDInfo(cdi,io_ptr) (a0,a5)
+CDEject(io_ptr)(a5)
+CDPlay(starttrack,endtrack,io_ptr)(a0,a1,a5)
+CDResume(Mode,io_ptr)(a0,a5)
+CDStop(io_ptr)(a5)
+CDJump(Blocks,io_ptr)(a0,a5)
+CDActive(io_ptr)(a5)
+CDCurrentTitle(io_ptr)(a5)
+CDTitleTime(cd_time,io_ptr)(a0,a5)
+CDGetVolume(vol,io_ptr)(a0,a5)
+CDSetVolume(vol,io_ptr)(a0,a5)
+CDReadTOC(toc,io_ptr)(a0,a5)
+CDInfo(cdi,io_ptr)(a0,a5)
##end
12 changes: 12 additions & 0 deletions patches/cdplayer/cdplayer_protos.h.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- cdplayer.library/include/clib/cdplayer_protos.orig.h 1995-05-29 11:57:38.000000000 -0700
+++ cdplayer.library/include/clib/cdplayer_protos.h 2022-06-17 22:54:59.342089800 -0700
@@ -11,7 +11,7 @@
#endif

BYTE CDEject (struct IOStdReq *);
-BYTE CDPlay (UBYTE, UBYTE, struct IOStdReq *);
+BYTE CDPlay (ULONG, ULONG, struct IOStdReq *);
BYTE CDResume (BOOL, struct IOStdReq *);
BYTE CDStop (struct IOStdReq *);
BYTE CDJump (ULONG, struct IOStdReq *);

16 changes: 16 additions & 0 deletions sdk/cdplayer.sdk
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Short: Library to play audio from scsi-cdrom
Version: 37
Url: http://aminet.net/dev/misc/CDPlayerlib37.lha

patch : cdplayer.fd.diff
patch : cdplayer_protos.h.diff

cdplayer.library/include/clib/cdplayer_protos.h
cdplayer.library/include/fd/cdplayer.fd
cdplayer.library/include/libraries/cdplayer.h
cdplayer.library/docs/cdplayer.dok = cdplayer.doc
cdplayer.library/docs/cdplayer.guide

fd2sfd : cdplayer.fd clib/cdplayer_protos.h
sfdc : cdplayer.sfd
stubs : cdplayer.sfd

0 comments on commit 5c917ef

Please sign in to comment.