Jump to content

Search the Community

Showing results for tags 'c'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Commander X16 Forums
    • Introductions
    • X16 Discussion Lounge
    • X16 Help & Support Lounge
    • Off-topic Lounge

Categories

  • Official Software
  • Official Docs
  • Community Downloads
    • Games
    • Productivity Apps
    • Graphics Apps
    • Audio Apps
    • Demos
    • Networking Apps
    • Dev Tools
    • Tutorial Apps
    • Misc Apps

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 8 results

  1. Raycasting demo (written in c) View File # Raycaster demo (written in c) The raycaster has been improved quite a bit. See below description of version 1.1.0 This is a raycaster demo written in c for the Commander x16. I've been trying out the x16 and thought it would be a cool idea to start working on a raycaster. Ultimately it would be great if "Wolfenstein 3D" can somehow be ported to the x16. That would be a BIG challenge though! New in this version 1.1.0: - Much improved DDA casting algoritm (speed increase). - Collision detection (you can't walk through walls anymore) - Smoother walls (much less jaggy) - Ceiling and floor added - Colors added to walls - Bigger map - Strafing added: you can use a,d,w,s for moving, q,e for turning (see usage below) - Added simple title screen - Debug mode / tooling # In the previous version 1.0.0: - Using a 'naive' raycasting technique (=slow and jaggy lines) - Only grey colors # Usage To compile: (this assumes cc65 is installed) cl65 -t cx16 -o RAY.PRG -l ray.list ray.c To run: x16emu.exe -prg RAY.PRG -run To play: w - move forwards s - move backwards a - strafe left d - strafe right q - turn left e - turn right To debug: p - turn on log screen o - turn off log screen t - turn on test ray l - rotate test ray left j - rotate test ray right # Known issues (1.1.0) - Sometimes you get a "blue screen of death", because a ray cast is in an infinite loop. Please send a screenshot if this happens to you. # Next up: - I would like to port some of the performance critical functions towards assembly. Most notably the DDA casting algo itself and the drawing routines. - Add a time-per-frame indicator (using a vsync interrupt counter) - Show a map on the screen - Add textures - Add Sprites - Add a border around the screen and some player stats/info at the bottom (like Wolfenstein 3D) Having fun! Jeffrey Submitter Jeffrey Submitted 02/19/21 Category Demos  
  2. Version 1.1.0

    40 downloads

    # Raycaster demo (written in c) The raycaster has been improved quite a bit. See below description of version 1.1.0 This is a raycaster demo written in c for the Commander x16. I've been trying out the x16 and thought it would be a cool idea to start working on a raycaster. Ultimately it would be great if "Wolfenstein 3D" can somehow be ported to the x16. That would be a BIG challenge though! New in this version 1.1.0: - Much improved DDA casting algoritm (speed increase). - Collision detection (you can't walk through walls anymore) - Smoother walls (much less jaggy) - Ceiling and floor added - Colors added to walls - Bigger map - Strafing added: you can use a,d,w,s for moving, q,e for turning (see usage below) - Added simple title screen - Debug mode / tooling # In the previous version 1.0.0: - Using a 'naive' raycasting technique (=slow and jaggy lines) - Only grey colors # Usage To compile: (this assumes cc65 is installed) cl65 -t cx16 -o RAY.PRG -l ray.list ray.c To run: x16emu.exe -prg RAY.PRG -run To play: w - move forwards s - move backwards a - strafe left d - strafe right q - turn left e - turn right To debug: p - turn on log screen o - turn off log screen t - turn on test ray l - rotate test ray left j - rotate test ray right # Known issues (1.1.0) - Sometimes you get a "blue screen of death", because a ray cast is in an infinite loop. Please send a screenshot if this happens to you. # Next up: - I would like to port some of the performance critical functions towards assembly. Most notably the DDA casting algo itself and the drawing routines. - Add a time-per-frame indicator (using a vsync interrupt counter) - Show a map on the screen - Add textures - Add Sprites - Add a border around the screen and some player stats/info at the bottom (like Wolfenstein 3D) Having fun! Jeffrey
  3. Version 0.8.1

    60 downloads

    cc64 is a small-C compiler, written in Forth, targeting the 6502 CPU. It's hosted on the C64, on the C16 with 64k RAM, and now on the X16. Runtime targets are available for all 3 platforms, on each host, allowing cross-compilation. The code lives at https://github.com/pzembrod/cc64. It's licensed under the 2-clause BSD license: https://github.com/pzembrod/cc64/blob/master/COPYING See https://github.com/pzembrod/cc64/blob/master/Usage.md for usage. See https://github.com/pzembrod/cc64/blob/master/C-lang-subset.md for details about the supported subset of C. Released under the 3 clause BSD license.
  4. totodilespy

    Snake

    Version 1.0.1

    11 downloads

    Fairly basic version of snake written in C (& complied with cc65). First project for the cx16 and I'm pretty happy with it. WASD to move. Might add joystick controls as well in the future.
  5. Snake View File Fairly basic version of snake written in C (& complied with cc65). First project for the cx16 and I'm pretty happy with it. WASD to move. Might add joystick controls as well in the future. Submitter totodilespy Submitted 02/09/21 Category Games  
  6. Version 1.0.1

    28 downloads

    This demo program provides an overview of what the vera card can do in terms of the different configurations in text mode, tile mode, and bitmap modes. The demo is nothing really fancy, but the workhorse underneath is the new API library (veralib.c and veralib.h, conio-cx16.c etc. ) that allows to configure and control the vera card of the CX16 using the kickc compiler of Jesper Gravgaard: camelot / kickc · GitLab. The veralib library and source code of this demo program has become an integral part of the compiler and test programs, and can be downloaded also from src/test/kc/examples/cx16/cx16-vera.c · CX16_VERA · Sven Van de Velde / kickc · GitLab. If you're a C-programmer, and you're interested in using this library, please beware that this is still work in progress. However, if you're motivated to try it out, i'm really interested to get feedback on this c-library to understand if the API is useful and clear. Feel free to try out the program, by running it in an emulator in windows; the mobile phone emulators won't be able to run this program properly because the keyboard is needed to run this. More features are planned to be added. One of the features planned is to provide mouse support, so it can be run using the android emulators too. kind regards, Sven
  7. Vera Modes - Demo View File This demo program provides an overview of what the vera card can do in terms of the different configurations in text mode, tile mode, and bitmap modes. The demo is nothing really fancy, but the workhorse underneath is the new API library (veralib.c and veralib.h, conio-cx16.c etc. ) that allows to configure and control the vera card of the CX16 using the kickc compiler of Jesper Gravgaard: camelot / kickc · GitLab. The veralib library and source code of this demo program has become an integral part of the compiler and test programs, and can be downloaded also from src/test/kc/examples/cx16/cx16-vera.c · CX16_VERA · Sven Van de Velde / kickc · GitLab. If you're a C-programmer, and you're interested in using this library, please beware that this is still work in progress. However, if you're motivated to try it out, i'm really interested to get feedback on this c-library to understand if the API is useful and clear. Feel free to try out the program, by running it in an emulator in windows; the mobile phone emulators won't be able to run this program properly because the keyboard is needed to run this. More features are planned to be added. One of the features planned is to provide mouse support, so it can be run using the android emulators too. kind regards, Sven Submitter svenvandevelde Submitted 01/23/21 Category Graphics Apps  
  8. cc64 X16 View File cc64 is a small-C compiler, written in Forth, targeting the 6502 CPU. It's hosted on the C64, on the C16 with 64k RAM, and now on the X16. Runtime targets are available for all 3 platforms, on each host, allowing cross-compilation. The code lives at https://github.com/pzembrod/cc64. It's licensed under the 2-clause BSD license: https://github.com/pzembrod/cc64/blob/master/COPYING See https://github.com/pzembrod/cc64/blob/master/Usage.md for usage. See https://github.com/pzembrod/cc64/blob/master/C-lang-subset.md for details about the supported subset of C. Released under the 3 clause BSD license. Submitter pzembrod Submitted 01/19/21 Category Dev Tools  
×
×
  • Create New...

Important Information

Please review our Terms of Use