Code Monkey home page Code Monkey logo

aosdk's People

Contributors

hcs64 avatar nmlgc avatar osmose avatar rb6502 avatar sappharad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aosdk's Issues

gcc 10 multiple definition compilation error

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

macOS build

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):

Compiling 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

Compiling 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

eng_spu.c

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);

eng_psf: PS2 DMA4 / DMA7 are implemented incorrectly

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.