Git Product home page Git Product logo

giibiiadvance's People

Contributors

antoniond avatar bentley avatar davidgfnet avatar lioncash 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

giibiiadvance's Issues

Export the dissambled code

After a bit of hacking I saw that is possible to get the dissembled code with this emulator.
I am wondering if it is possible to add a new menu or a cli command to export it in a file to an easy inspections.

On my experimenting seems like that every line of the memory need to be disassembled but there is a loop that show only max 39 lines.
There is a way to do a loop to parse the whole and generate it?

I have not s much experience C and is not clear for me to find where is stored the memory.

GiiBii Wii

Tem como você disponibilizar a versão 0.3 do GiiBii Wii homebrew?

ENABLE_ASM_X86 fails to build on 32‐bit OpenBSD

OpenBSD generates position‐independent executables by default. This requires an extra register when compiling, and as a result the build fails on i386.

This can be worked around by manually disabling ENABLE_ASM_X86 or by passing -fno-pie to GCC, but it would be nice if this code could work when building on a system with PIE.

cc -O2 -pipe  -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/local/include/libpng16 -I/usr/local/include/opencv -I/usr/local/include -c -o gba_core/memory.o gba_core/memory.c
gba_core/memory.c: In function 'GBA_MemoryRead32':
gba_core/memory.c:295: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/memory.c:295: error: 'asm' operand has impossible constraints
*** Error 1 in /home/anthony/giibiiadvance (Makefile:14 'gba_core/memory.o')

cc -O2 -pipe  -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/local/include/libpng16 -I/usr/local/include/opencv -I/usr/local/include -c -o gba_core/thumb.o gba_core/thumb.c
gba_core/thumb.c: In function 'GBA_ExecuteTHUMB':
gba_core/thumb.c:345: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:386: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:488: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:489: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:490: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:491: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:492: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:493: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:494: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:495: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:228: error: can't find a register in class 'BREG' while reloading 'asm'
gba_core/thumb.c:345: error: 'asm' operand has impossible constraints
gba_core/thumb.c:386: error: 'asm' operand has impossible constraints
gba_core/thumb.c:488: error: 'asm' operand has impossible constraints
gba_core/thumb.c:489: error: 'asm' operand has impossible constraints
gba_core/thumb.c:490: error: 'asm' operand has impossible constraints
gba_core/thumb.c:491: error: 'asm' operand has impossible constraints
gba_core/thumb.c:492: error: 'asm' operand has impossible constraints
gba_core/thumb.c:493: error: 'asm' operand has impossible constraints
gba_core/thumb.c:494: error: 'asm' operand has impossible constraints
gba_core/thumb.c:495: error: 'asm' operand has impossible constraints
gba_core/thumb.c:228: error: 'asm' operand has impossible constraints
*** Error 1 in /home/anthony/giibiiadvance (Makefile:14 'gba_core/thumb.o')

Fix build with OpenCV

After a few attempts at trying to build with the compatibility layer of OpenCV, I got to build the emulator and got this:

[ WARN:0] global ../modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.
[ WARN:0] global ../modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.

Which makes sense considering this change: https://fossies.org/diffs/opencv/4.0.1_vs_4.1.0/modules/videoio/src/videoio_c.cpp-diff.html

This means that probably the only option is to use the C++ webcam interface and create a wrapper to use it from C.

The alternative is to use a C cross-platform library to read images from the webcam, but that seems to be surprisingly hard to find. This looks promising: https://github.com/openpnp/openpnp-capture

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.