Git Product home page Git Product logo

siddump's People

Contributors

cadaver 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

siddump's Issues

TXS does not change flags

Hi! Found another: TXS is different from the other T opcodes in that it does not affect the flags.

Undocumented opcode

I found an undocumented opcode (0xeb) unsupported by siddump in a file named Boing.sid. I looked up the source code of tinysid. This opcode is same as 0xe9 (SBC #imm).

Build fails on Ubuntu 20.04LTS / ARM64 (siddump.c:(.text.startup+0x19c): undefined reference to `pow')

Hi there!

Been trying to compile SIDdump for my Raspberry Pi4B box (=ARM64/aarch64) that is running on 64bit Ubuntu 20.04.1LTS. It's been my attempt to create a nice little cross-development platform for an old friend of mine who's hopelessly stuck in the C64 era. :-)

Previously I've managed to get i.e. siddasm to compile and work just fine, but for some reason compiling siddump brings this kind of error:

$ make
gcc -O3 -Wall   -c -o siddump.o siddump.c
siddump.c: In function ‘main’:
siddump.c:245:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
  245 |   fread(&mem[loadaddress], loadsize, 1, in);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
siddump.c: In function ‘readbyte’:
siddump.c:504:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
  504 |   fread(&res, 1, 1, f);
      |   ^~~~~~~~~~~~~~~~~~~~
siddump.c: In function ‘readword’:
siddump.c:512:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
  512 |   fread(&res, 2, 1, f);
      |   ^~~~~~~~~~~~~~~~~~~~
gcc -O3 -Wall   -c -o cpu.o cpu.c
gcc -o siddump.exe siddump.o cpu.o
/usr/bin/ld: siddump.o: in function `main':
siddump.c:(.text.startup+0x19c): undefined reference to `pow'
collect2: error: ld returned 1 exit status
make: *** [Makefile:7: siddump.exe] Error 1

Any ideas on where I should start with the bug hunt?

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.