Giter Club home page Giter Club logo

dsk2rom's People

Contributors

clach04 avatar joyrex2001 avatar sylverb 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

Watchers

 avatar  avatar  avatar  avatar

dsk2rom's Issues

Compile warning ambiguous else

Building with gcc 4.9.2:

dsk2rom.c: In function 'int main(int, char**)':
dsk2rom.c:294:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
     if (sector_hash[sector]==sector)

Code snippet:

292   /* write sector data */
293   for(sector=0;sector<total_sectors;sector++)
294     if (sector_hash[sector]==sector)
295       if (safe_mode)
296     for(i=0;i<sector_data[sector]->size;i++) {
297       if (!(ftell(output)%0x2000))
298         for (j=0;j<safe_patch_size;j++)
299           fputc(dsk2rom[safe_patch_offset+j],output);
300       fputc(sector_data[sector]->data[i],output);
301     }
302       else
303     fwrite(sector_data[sector]->data,1,sector_data[sector]->size,output);

(note indentation is inconsistent here too).

Mac OS binary

Hi, I love this project. I am using a Mac, and while concatentating the file works, the options for compression are very handy.

I have a compiled version that I build for myself, let me know if you want it to be added to the binary packages.

Not really a bug, more like a collaboration offer.

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.