mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
feat: Add SLAB allocator, Ramdisk, Kernel Namespaces, Event Tracing, NetFilter Firewall, 8-Bit Melodies, and Shell Scripting (sh)
This commit is contained in:
1 parent
9f9a19bab0
commit
2f1f785cee
17 files changed
+1021
-115
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#ifndef _SOUND_MELODY_H
|
||||
#define _SOUND_MELODY_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
uint32_t freq;
|
||||
uint32_t duration_ms;
|
||||
} note_t;
|
||||
|
||||
void melody_init(void);
|
||||
void melody_play_startup(void);
|
||||
void melody_play_tetris(void);
|
||||
void melody_play_mario(void);
|
||||
void melody_play_custom(const note_t* notes, uint32_t count);
|
||||
|
||||
#endif // _SOUND_MELODY_H
|
||||
Reference in new issue
Block a user