Agon Light C Programming - An Introduction

Поділитися
Вставка
  • Опубліковано 22 жов 2024

КОМЕНТАРІ • 14

  • @arronshutt
    @arronshutt 9 місяців тому +2

    "Or I'll give up and never mention it again..." made me laugh quite a bit. I've been interested in the Agon Light for a while, just trying not to get distracted from the two other major projects that I'm currently working on in my own time first! :)

  • @The8bitNoob
    @The8bitNoob 9 місяців тому +5

    The agon has Vi binary already on the sdcard that comes with the emulator. it's in the mos folder i believe.
    edit: and welcome to the Agon party 😁.

  • @Enos666
    @Enos666 8 місяців тому

    I hope you keep at this, I'm tempted to pick one up to have a play around with.

  • @nickthesoulboy
    @nickthesoulboy 9 місяців тому

    Looking forward to the next one!

  • @PhilHowlett
    @PhilHowlett 9 місяців тому +3

    Your video is perfect timing for me. I'm waiting for my Agon light to turn up in the mail so I'm setting up my own development environment. I'm curious to learn why you went down the CE C/C++ path rather than the z88dk path for the C compiler. I've just setup my environment for z88dk (compiled my hello.c file and can run it in the emulator).

    • @TheClassicsCoder
      @TheClassicsCoder 9 місяців тому +2

      For me, the main reason was the more modern C-Compiler in CE and the missing graphics support which I found easier to add in the CE toolchain. Normally I'm also on Z88DK fo the Speccy stuff.

  • @assifmirza130
    @assifmirza130 7 місяців тому

    Just finding this video. Really well put together. It exactly describes my workflow. I am loving being able to use a capable host to write and compile C (AgDev also) and have a short compile test cycle on the emulator before ever going near the hardware and sdcards.
    Looking forward to see what you create.
    PS chest infections suck. I know. Hope you feel better soon.

  • @jumhig
    @jumhig 9 місяців тому +3

    Nice video! But why not mention the default/original C development environment for eZ80 , namely Zilog ZIDE 2. This is what I use for Agon Light dev, it's Windows only but that's not a problem for me. Would love to see more videos on Agon C programming, specifically how to upload bitmaps and manage sprites, which has a few gotchas. Also MOS functions, audio, keyboard / joystick input etc. I also have Agon C libraries for the graphical and audio functions, and the key up/down map.

    • @ncot_tech
      @ncot_tech  9 місяців тому +3

      To be honest the only time I looked at the Zilog C compiler was to see some #defines for the UART port.
      It is used for MOS though I discovered.

    • @jumhig
      @jumhig 9 місяців тому +1

      I see there is also a new "AgDev" C compiler for Agon too.

  • @lorensims4846
    @lorensims4846 9 місяців тому +3

    I'm surprised it has a C compiler.
    The closest thing I had on my Atari 800 (with 48K) was Deep Blue C from the Atari Programmer Exchange.
    It was based on "small C" and didn't support structures or unions along with a lot of other features.
    Most annoying to me, the Atari keyboard didn't include braces so we had to us $( and $) instead.

  • @greenfrogcoding
    @greenfrogcoding 3 місяці тому

    Great video 👍

  • @mr_noodler
    @mr_noodler Місяць тому

    Is there a C API for the Agon Light 2? I can’t find it anywhere

    • @ncot_tech
      @ncot_tech  Місяць тому

      Not exactly. The AgDev toolchain is the closest we have, combined with the console8 documentation available here agonconsole8.github.io/agon-docs/
      Once you understand how the VDP is controlled by literally printing text to the screen with special control codes, the BBC Basic examples are fairly straight forward to understand.
      My Github repo contains some useful code if you have a dig around in it, specifically the functions for writing 8 and 16 bit values to the VDP.