nmlgc / aosdk Goto Github PK
View Code? Open in Web Editor NEWAudio Overload SDK
License: Other
Audio Overload SDK
License: Other
On debian unstable - gcc-10:
OSTYPE=linux NOGUI=1 make
/dev/dsp not found. Playback will be unavailable.
Linking aosdk-x86_64-linux-gnu...
/usr/bin/ld: obj/x86_64-linux-gnu/eng_dsf/dc_hw.o:(.bss.EG_TABLE+0x0): multiple definition of `EG_TABLE'; obj/x86_64-linux-gnu/eng_dsf/eng_dsf.o:(.bss.EG_TABLE+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_dsf/aica.o:(.bss.EG_TABLE+0x0): multiple definition of `EG_TABLE'; obj/x86_64-linux-gnu/eng_dsf/eng_dsf.o:(.bss.EG_TABLE+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_dsf/aicadsp.o:(.bss.EG_TABLE+0x0): multiple definition of `EG_TABLE'; obj/x86_64-linux-gnu/eng_dsf/eng_dsf.o:(.bss.EG_TABLE+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_ssf/scsp.o:(.bss.EG_TABLE+0x0): multiple definition of `EG_TABLE'; obj/x86_64-linux-gnu/eng_dsf/eng_dsf.o:(.bss.EG_TABLE+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_ssf/scspdsp.o:(.bss.EG_TABLE+0x0): multiple definition of `EG_TABLE'; obj/x86_64-linux-gnu/eng_dsf/eng_dsf.o:(.bss.EG_TABLE+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_ssf/scspdsp.o:(.bss.FNS_Table+0x0): multiple definition of `FNS_Table'; obj/x86_64-linux-gnu/eng_ssf/scsp.o:(.bss.FNS_Table+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_ssf/sat_hw.o:(.bss.EG_TABLE+0x0): multiple definition of `EG_TABLE'; obj/x86_64-linux-gnu/eng_dsf/eng_dsf.o:(.bss.EG_TABLE+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_ssf/sat_hw.o:(.bss.FNS_Table+0x0): multiple definition of `FNS_Table'; obj/x86_64-linux-gnu/eng_ssf/scsp.o:(.bss.FNS_Table+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_ssf/eng_ssf.o:(.bss.EG_TABLE+0x0): multiple definition of `EG_TABLE'; obj/x86_64-linux-gnu/eng_dsf/eng_dsf.o:(.bss.EG_TABLE+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/eng_ssf/eng_ssf.o:(.bss.FNS_Table+0x0): multiple definition of `FNS_Table'; obj/x86_64-linux-gnu/eng_ssf/scsp.o:(.bss.FNS_Table+0x0): first defined here
/usr/bin/ld: obj/x86_64-linux-gnu/main.o: in function `main':
main.c:(.text.startup.main+0x3d1): undefined reference to `m1sdr_TimeCheck'
/usr/bin/ld: main.c:(.text.startup.main+0x485): undefined reference to `m1sdr_Init'
/usr/bin/ld: main.c:(.text.startup.main+0x496): undefined reference to `m1sdr_PlayStart'
collect2: error: ld returned 1 exit status
On debian stable - gcc-8: build pass
Hello, I am trying to compile a 64-bit binary in order to continue using Audio Overload on macOS 10.15, as the OS X build found on the website is unfortunately a 32-bit one. I have tried changing the OSTYPE
environment variable to no avail. My build breaks either way, while performing the following actions (click to reveal console output):
win32_utf8/src/win32_utf8.h
on a Windows build, due to including Windows.h
.$ make Compiling main.c... main.c:384:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 1 warning generated. Compiling ao.c... Compiling corlett.c... Compiling m1sdr.c... Compiling utils.c... Compiling mididump.c... mididump.c:427:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while(vchan = vchans_iterate(&iter)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mididump.c:427:16: note: place parentheses around the assignment to silence this warning } while(vchan = vchans_iterate(&iter)); ^ ( ) mididump.c:427:16: note: use '==' to turn this assignment into an equality comparison } while(vchan = vchans_iterate(&iter)); ^ == 1 warning generated. Compiling sampledump.c... Compiling wavedump.c... Compiling argparse/argparse.c... Compiling dsnd.c... In file included from dsnd.c:31: ./win32_utf8/src/win32_utf8.h:11:10: fatal error: 'Windows.h' file not found #include <Windows.h> ^~~~~~~~~~~ 1 error generated. make: *** [obj/x86_64-apple-darwin18.7.0/dsnd.o] Error 1
oss.c
on a Linux build, due to including sys/soundcard.h
.$ OSTYPE=linux make Compiling main.c... main.c:384:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 1 warning generated. Compiling ao.c... Compiling corlett.c... Compiling m1sdr.c... Compiling utils.c... Compiling mididump.c... mididump.c:427:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while(vchan = vchans_iterate(&iter)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mididump.c:427:16: note: place parentheses around the assignment to silence this warning } while(vchan = vchans_iterate(&iter)); ^ ( ) mididump.c:427:16: note: use '==' to turn this assignment into an equality comparison } while(vchan = vchans_iterate(&iter)); ^ == 1 warning generated. Compiling sampledump.c... Compiling wavedump.c... Compiling argparse/argparse.c... Compiling oss.c... oss.c:35:10: fatal error: 'sys/soundcard.h' file not found #include <sys/soundcard.h> ^~~~~~~~~~~~~~~~~ 1 error generated. make: *** [obj/x86_64-apple-darwin18.7.0/oss.o] Error 1
Of course, using NOGUI=1
doesn’t make a difference, as the failures are caused not by GUI libraries but by OS libraries. As such, would it be possible to obtain the code used to compile for Mac, if it is indeed still available? @nmlgc
I'd say the order of the params is wrong..
strncpy((char *)&buffer[4], name, 128);
strncpy((char *)&buffer[0x44], song, 128);
strncpy((char *)&buffer[0x84], company, 128);
I thought I'd point out how to fix that. Basically, both are coded to copy twice as many halfwords as they're supposed to. And the DMA7 has its BCR and CHCP registers swapped for some mysterious reason.
The double memory has the following bug effects apparent in released sets:
nenolod's Final Fantasy X rip: DMA4 copies twice as much, compensating for DMA7 being totally broken. Normally, this rip uses simultaneous DMA4 and DMA7 copies to split up transfers of individual samples.
CaitSith2's Final Fantasy 4 rip: DMA4 is used to stream all of the sample data for both playing channels, which breaks completely because it is copying twice as much data as it is supposed to.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.