Programming Bitmap Graphics - Agon Light using C

  Рет қаралды 1,434

NCOT Technology

NCOT Technology

22 күн бұрын

Get the code: github.com/ncot-tech/agon-gra...
Support the channel: ncot.uk/support
Visit the website: ncot.uk
In this video I look at how you can program the Agon Light to display bitmap images using C. I go through how to convert a PNG image into an RGB2222 format bitmap image, and then use the C library functions to load that into the Agon Light, and the VPD commands necessary to display this on the screen.
The end result is a fairly pretty scrolling text routine that demonstrates how to draw multiple bitmaps to the Agon Light's display using VDP commands.
This builds on my previous Agon Light C Programming video where I explained how the Agon Light's screen works, and how to draw lines and shapes.
----
Music I use: www.bensound.com
License code: 89GUMYPSNGHK77J3
#programming #cprogramming #agonlight #retrocomputer

Пікірлер: 10
@paulmichaud7565
@paulmichaud7565 20 күн бұрын
Well done. Just acquired an Agon Light myself, and everything you are doing is right on point. I appreciate the struggles with programming pitfalls: rabbit holes, failing your way to insight, build your own vs use a library, the territory is all familiar. Best wishes.
@willofirony
@willofirony 20 күн бұрын
Ok we wrote about 150 lines of code and got wiggly text? Or did we???? I have just figured out why I like this channel: we all know the "give a man a fish/ teach a man to fish" paradigm that we use to justify not sending enough fish. Well this channel takes another step into abstraction by teaching the man how to LEARN to fish! Then we don't need to send him grain either. Nice one.
@skeleton_craftGaming
@skeleton_craftGaming 20 күн бұрын
I mean that is all philosophy is.
@jaybeemods
@jaybeemods 20 күн бұрын
Ello James! Loving that groovy shirt!
@ncot_tech
@ncot_tech 20 күн бұрын
Get your own from your favourite Chinese clothing store with dubious quality control. 😄
@arronshutt
@arronshutt 20 күн бұрын
@@ncot_tech And you can blend in so well at your local BBQ or retro gaming event curry. We need to arrange another one at some point.
@JSRFFD2
@JSRFFD2 20 күн бұрын
Great video! I'm a bit surprised that the VDU bitmap commands don't have a way to draw a subset of the bitmap, so that the font could be stored in a single bitmap and then drawing a character involves drawing a piece of that image. I imagine there is a lot of overhead to having one VDU bitmap per character.
@ncot_tech
@ncot_tech 20 күн бұрын
I'm sure they will at some point, I think affine transformations are being worked on. Does feel a bit clunky needing one bitmap per character. The Console8 version of the firmware moves fast, every time I update my machine there's new stuff to play with :)
@arronshutt
@arronshutt 20 күн бұрын
If you do get a scrolling background working on your Agon Light, then you could try writing some kind of platform shooter thing. Always wanted to see whether the Agon Light could run some kind of indie game like that. Also a four bit alpha channel seems very wrong - basically you've got on and off, and 1/3 and 2/3 transparency. Hardly seems worth having an alpha channel for that. Reminds me of the time that you had 8-bit R3G3B2 and 16-bit R5G5GBA1 format graphics on certain machines which seemed quite odd ways of representing colour pixel colouring....
@ncot_tech
@ncot_tech 19 күн бұрын
The alpha channel is actually just on or off, so you can have transparent backgrounds. Any value for alpha that is non-zero means visible (I think)
Agon Light 2 - C Programming, Better Keyboard Routines, Joystick Ports
35:36
Agon Light C Programming - An Introduction
8:32
NCOT Technology
Рет қаралды 2,8 М.
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 119 МЛН
Stealing the secrets of the NES - Agon Light Tilemaps in C
18:56
NCOT Technology
Рет қаралды 1 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 906 М.
What's coming in Godot 4.3? by David Snopek @ Godot Wisconsin
26:06
Godot Wisconsin
Рет қаралды 1,2 М.
Programming Windows Screensavers - Agon Light Graphics Programming
37:49
BBC BASIC in RiscOS on a Raspberry Pi is really cool!
17:37
NCOT Technology
Рет қаралды 13 М.
The Computer Timeline: Calculators, Maths and Reverse Polish Notation
13:53
Sinclair BASIC vs BBC BASIC - How to fit an entire devkit inside 64K
22:01
All about Bitmap Images
6:08
Jonathan Molson
Рет қаралды 23 М.
CompTIA Network+ Certification Video Course
3:46:51
PowerCert Animated Videos
Рет қаралды 7 МЛН
why do header files even exist?
10:53
Low Level Learning
Рет қаралды 350 М.