Giter Club home page Giter Club logo

the-great-escape-in-c's People

Contributors

archifishaldev avatar dougieh avatar dpt 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  avatar  avatar

the-great-escape-in-c's Issues

26/32-bit neutral build... isn't (RISC OS)

I saw a GtEscape build crashing on ArcEm, Arculator and ArchiEmu but only when configured for ARM2, not ARM250. In fact it locked the virtual machines solid. After some digging I found that the OSLib that I link against isn't 26/32-bit neutral. The 32-bit version uses MRS instructions and they somehow work on emulated ARM250's, but not on emulated ARM2's.

Add full screen mode (RISC OS)

Add a full-screen mode to the RISC OS build. This won't multitask and will perhaps speed up the game on ARM2 to an acceptable level.

License of the source code

Hi,

The headers of the source file say "It is free software provided without warranty in the interests of education and software preservation.". I'm not sure what this exactly would mean.

  • Is it compatible with the MIT or GPL license?
  • How did the translation took place? There is a conversion document but I'm not sure if all the code was just recreated or if it's more like a disassembly? If it was more like a disassembly, can it become free software? Did the original authors maybe give their consent?

Kind regards

CMake build

Complete the CMake build work. In particular CMake builds on Windows will need to be supported.

build on Linux

I tryed to build on Linux.
Both running:
The-Great-Escape-in-C/platform/generic$ gcc -I../../include sdlmain.c -o tge
or
The-Great-Escape-in-C/platform/generic$ make -f SDL.mk build
it stop with this error:

sdlmain.c: In function ‘key_handler’:
sdlmain.c:102:41: error: incompatible type for argument 2 of ‘zxkeyset_for_port’
  102 |     return zxkeyset_for_port(port, state->keys);
      |                                    ~~~~~^~~~~~
      |                                         |
      |                                         zxkeyset_t
In file included from sdlmain.c:19:
../../include/ZXSpectrum/Keyboard.h:99:56: note: expected ‘const zxkeyset_t *’ but argument is of type ‘zxkeyset_t’
   99 | int zxkeyset_for_port(uint16_t port, const zxkeyset_t *keystate);
      |                                      ~~~~~~~~~~~~~~~~~~^~~~~~~~
sdlmain.c: In function ‘sdl_key_pressed’:
sdlmain.c:221:32: error: incompatible type for argument 1 of ‘zxkeyset_setchar’
  221 |       *keys = zxkeyset_setchar(*keys, k->keysym.sym);
      |                                ^~~~~
      |                                |
      |                                zxkeyset_t
../../include/ZXSpectrum/Keyboard.h:104:35: note: expected ‘zxkeyset_t *’ but argument is of type ‘zxkeyset_t’
  104 | void zxkeyset_setchar(zxkeyset_t *keystate, int c);
      |                       ~~~~~~~~~~~~^~~~~~~~
sdlmain.c:223:34: error: incompatible type for argument 1 of ‘zxkeyset_clearchar’
  223 |       *keys = zxkeyset_clearchar(*keys, k->keysym.sym);
      |                                  ^~~~~
      |                                  |
      |                                  zxkeyset_t
../../include/ZXSpectrum/Keyboard.h:109:37: note: expected ‘zxkeyset_t *’ but argument is of type ‘zxkeyset_t’
  109 | void zxkeyset_clearchar(zxkeyset_t *keystate, int c);
      |                         ~~~~~~~~~~~~^~~~~~~~
sdlmain.c: In function ‘main’:
sdlmain.c:326:21: error: incompatible types when assigning to type ‘zxkeyset_t’ from type ‘long long unsigned int’
  326 |   state.keys      = 0ULL;
      |                     ^~~~

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.