mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Quick and dirty sound for DOOM. Samplerate seems off, but it's just a demo.
This commit is contained in:
parent
e524ea4815
commit
39e7dddc5a
4 changed files with 83 additions and 10 deletions
|
|
@ -2,14 +2,15 @@
|
|||
// These are not required when building a custom host target code with uvm32
|
||||
|
||||
// syscalls for exposed host functions, start at 0
|
||||
#define UVM32_SYSCALL_PUTC 0x00000000
|
||||
#define UVM32_SYSCALL_GETC 0x00000001
|
||||
#define UVM32_SYSCALL_PRINT 0x00000002
|
||||
#define UVM32_SYSCALL_PRINTLN 0x00000003
|
||||
#define UVM32_SYSCALL_PRINTDEC 0x00000004
|
||||
#define UVM32_SYSCALL_PRINTHEX 0x00000005
|
||||
#define UVM32_SYSCALL_MILLIS 0x00000006
|
||||
#define UVM32_SYSCALL_PRINTBUF 0x00000007
|
||||
#define UVM32_SYSCALL_RENDER 0x00000008
|
||||
#define UVM32_SYSCALL_GETKEY 0x00000009
|
||||
#define UVM32_SYSCALL_PUTC 0x00000000
|
||||
#define UVM32_SYSCALL_GETC 0x00000001
|
||||
#define UVM32_SYSCALL_PRINT 0x00000002
|
||||
#define UVM32_SYSCALL_PRINTLN 0x00000003
|
||||
#define UVM32_SYSCALL_PRINTDEC 0x00000004
|
||||
#define UVM32_SYSCALL_PRINTHEX 0x00000005
|
||||
#define UVM32_SYSCALL_MILLIS 0x00000006
|
||||
#define UVM32_SYSCALL_PRINTBUF 0x00000007
|
||||
#define UVM32_SYSCALL_RENDER 0x00000008
|
||||
#define UVM32_SYSCALL_GETKEY 0x00000009
|
||||
#define UVM32_SYSCALL_RENDERAUDIO 0x0000000A
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue