mirror of
https://github.com/cc65/cc65.git
synced 2025-02-05 04:37:23 +00:00
Exposed, to C code, the names of the Atmos ROM's sound effect functions.
This commit is contained in:
parent
bf160cae69
commit
6589288a04
@ -126,12 +126,36 @@ extern void atmos_240_200_2_tgi[]; /* Referred to by tgi_static_stddrv[] */
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
/* Functions */
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void __fastcall__ atmos_load(const char* name);
|
void __fastcall__ atmos_load(const char* name);
|
||||||
/* Load Atmos tape. */
|
/* Load Atmos tape. */
|
||||||
|
|
||||||
void __fastcall__ atmos_save(const char* name, const void* start, const void* end);
|
void __fastcall__ atmos_save(const char* name, const void* start, const void* end);
|
||||||
/* Save Atmos tape. */
|
/* Save Atmos tape. */
|
||||||
|
|
||||||
|
void atmos_explode (void);
|
||||||
|
/* Bomb sound effect */
|
||||||
|
|
||||||
|
void atmos_ping (void);
|
||||||
|
/* Bell or ricochet sound effect */
|
||||||
|
|
||||||
|
void atmos_shoot (void);
|
||||||
|
/* Pistol sound effect */
|
||||||
|
|
||||||
|
void atmos_tick (void);
|
||||||
|
/* High-pitch click */
|
||||||
|
|
||||||
|
void atmos_tock (void);
|
||||||
|
/* Low-pitch click */
|
||||||
|
|
||||||
|
void atmos_zap (void);
|
||||||
|
/* Raygun sound effect */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* End of atmos.h */
|
/* End of atmos.h */
|
||||||
|
15
libsrc/atmos/atmos.s
Normal file
15
libsrc/atmos/atmos.s
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
;
|
||||||
|
; Expose include-file symbol names to C code.
|
||||||
|
;
|
||||||
|
|
||||||
|
.export _atmos_ping, _atmos_shoot, _atmos_explode
|
||||||
|
.export _atmos_zap, _atmos_tick, _atmos_tock
|
||||||
|
|
||||||
|
.include "atmos.inc"
|
||||||
|
|
||||||
|
_atmos_ping := PING
|
||||||
|
_atmos_shoot := SHOOT
|
||||||
|
_atmos_explode := EXPLODE
|
||||||
|
_atmos_zap := ZAP
|
||||||
|
_atmos_tick := TICK
|
||||||
|
_atmos_tock := TOCK
|
Loading…
x
Reference in New Issue
Block a user