Programming Windows Screensavers - Agon Light Graphics Programming

  Рет қаралды 6,036

NCOT Technology

NCOT Technology

3 ай бұрын

Support the Channel - ncot.uk/support
Get the code for this episode - github.com/ncot-tech/agon-gra...
I'm learning how to program the Agon Light, and as a project thought it'd be fun to try and program two of the classic Windows 3.11 screensavers - Mystify and Starfield Simulation.
My aim is not to simply program the Agon Light by cloning the Windows 3.11 screensavers, but to learn how to program the Agon Light at all. Ultimately I want to learn how to program games for the Agon Light.
In this video I learn how to program the Agon Light's graphics system which is very similar to the BBC Micro's graphics system.
#programming #bbcmicro #agonlight #agon #learnprogrammingonyoutube #retrocomputer

Пікірлер: 29
@dechair3113
@dechair3113 3 ай бұрын
Computer Engineering student here, just commenting for better reach. Hope you keep making these videos, there aren't many made on such a low level,.
@TSteffi
@TSteffi 3 ай бұрын
Just a little side note on screensavers: The burn-in problem is also affecting OLED displays to some degree. It does not affect TFT screens with separate backlight, because the color layer on those does not wear out. Only the backlight wears out over time, making the screen dimmer and eventually breaking. But OLED displays use tons of individual LEDs to generate the picture, and those wear out over time. So if you have an OLED display, you might want to activate a screen saver to prevent your desktop and/or taskbar from burning in on it.
@adammontgomery7980
@adammontgomery7980 3 ай бұрын
I remember getting an early webcam that came with some screensaver software where it would overlay bubbles on it's view of you, and you could pop the bubbles with your hand. Hours of fun when I was a kiddo. Before that I remember watching starfield, and a 3d maze (like Wolfenstein) solver. Do kids feel the same sense of awe today?
@ciscornBIG
@ciscornBIG 3 ай бұрын
In my experience, no, they do not.
@ncot_tech
@ncot_tech 3 ай бұрын
No, kids take all the current tech for granted. Although they do still get amused by being able to create their own things.
@adammontgomery7980
@adammontgomery7980 3 ай бұрын
@@ncot_tech in the US, giving kids a laptop to turn in their homework is considered helping them to "learn technology". While I do think that familiarity with the devices is important (typing mostly), they aren't learning anything. It seems to me that starting with simpler machines would be more approachable. A modern x86 or ARM architecture is almost impossible to wrap your mind around, much less the OS.
@zooblestyx
@zooblestyx 3 ай бұрын
More than as a tutorial, I see this as basic research. I don't know what I'll learn along the way, but I trust there will always be something new to learn.
@reinoud6377
@reinoud6377 3 ай бұрын
I really love this Agon graphics interface
@arronshutt
@arronshutt 3 ай бұрын
I like watching programming videos - you should do more of them. And you've got a good line in shirts given that it's been chucking down now that Spring is here :) I don't know whether you can do any of the 3D screensavers from Win95 but I think that could be a stretch goal for your Windows Screensaver project. If you manage to do the 3D Flowerbox, 3D Maze or the 3D Pipes then that would be most impressive on a machine completely unsuited to doing 3D :)
@AmaroqStarwind
@AmaroqStarwind 3 ай бұрын
4:54 There used to be so many screensavers... On my Windows 7 machine, I actually grabbed an ISO of Windows XP and installed it in a virtual machine just so I could grab 3D flower box.
@ncot_tech
@ncot_tech 2 ай бұрын
I liked the pipes one from NT4 onwards, randomly it'd draw the OpenGL Utah Teapot. It always amused me that inside all 90s video cards or drivers that were OpenGL compliant was a mesh for a teapot.
@AmaroqStarwind
@AmaroqStarwind 2 ай бұрын
@@ncot_tech Is there a single function call to draw a teapot, or something?
@MikePerigo
@MikePerigo 3 ай бұрын
Screensavers existed on pre windows 8-bit machines long before Micro$haft included copies of the more popular public domain offerings into Windows. Even commercial programs like After Dark (which included the famous flying toasters) was available on the Mac before it was ported to Windows. Since Mystify is a fairly simple program it is quite likely you had access to an PD version before it was actually included in Windows.
@stephenelliott7071
@stephenelliott7071 3 ай бұрын
Fascinating video, looking forward to the next one!
@willofirony
@willofirony 3 ай бұрын
I loved the BBC computer. The graphics were challenging but it was amazing what could be done. Any onewho has seen the Elite game can vouch for that. Though what the Elite creators did to acheive that was way beyond what this channel is trying to acheive. Nevertheless, I will share what they did. It is a good example of thinking out of the box: Along with many 8 bit machines in the early 80s, the BBC (or Beeb) had a number of modes of video display. The number of pixels and colours of each mode was a bargaining process. the mode with the most pixels had only 2 colours. So if you wanted to display 80 characters per line on the screen you did so with a monochrome display (fine for word processing). If you wanted 8 colours, you had just 40 chunky characters per line. That was it, or was it? Well, that wasn't good enough for the Elite creators. So, they divided the screen into zones the top zone was just window dressing, the middle was the view out of the front of your space vehicle that was monochrome (what would you expect in space) with lots of pixels to draw many different enemy space crafts. The bottom zone was the colourful Dashboard and the controls. They did this by switching the mode of the display 3 times every frame of the vdu. The result was breathtaking. Would you have thought of that?
@rog2224
@rog2224 2 ай бұрын
A procedurally generated universe in 22K of memory was impressive.
@LearnAgon
@LearnAgon 3 ай бұрын
Love this, was trying to figure this one out myself
@SPimentaTV
@SPimentaTV 3 ай бұрын
Very inspiring video 👍
@Codeandpi
@Codeandpi 2 ай бұрын
Thanks for this, just about to purchase an anon light 2 or the console 8 not sure if there is much difference other than where they are produced. Really like your style of teaching and getting your points and ideas over. Thanks again
@R.Daneel
@R.Daneel 3 ай бұрын
All of the monitors in my first workplace had this very clear, severely burned-in message at regular intervals down the screen: THIS SCREEN HAS BEEN BLANKED TO SAVE THE MONITOR FROM BURN-IN. *** PRESS SPACE TO RESUME ***
@MadMatty72
@MadMatty72 3 ай бұрын
Nice vid, keep em coming
@nickmoore385
@nickmoore385 3 ай бұрын
Flying toasters FTW. ;-)
@delphicdescant
@delphicdescant 3 ай бұрын
Great video. Just found your channel. I'm taking offense to your analytics calling me old, though.
@CommanderKlag
@CommanderKlag 3 ай бұрын
Is the screen saver running at full speed or is there a speed control variable in the code? Seems al ittle slow.
@NateDohDoubleGee
@NateDohDoubleGee 3 ай бұрын
I didn't see any code that restricts the speed in the video, but it does seem slow considering the computer is around 5x faster (at least) than the NES (also 8-bit). Great question!
@ncot_tech
@ncot_tech 2 ай бұрын
The code is running at vblank so drawing at 60fps, but it is a little slow due to the horrific things I am doing. There's some floating point maths and sin/cos going on in there. It's not optimised in the slightest. It also judders slightly when my capture device loses sync briefly.
@MarkEdBell
@MarkEdBell 3 ай бұрын
I first saw mystify in Win 95
@ncot_tech
@ncot_tech 3 ай бұрын
It's confusing, I saw a video of someone running it on Windows 3, but I even went through the install files on the floppies and it's not there.
@reinoud6377
@reinoud6377 3 ай бұрын
Are you clearing the screen every frame?? Why not unplot ?
FORTH - Better than BASIC?
14:30
NCOT Technology
Рет қаралды 38 М.
Programming Bitmap Graphics - Agon Light using C
27:50
NCOT Technology
Рет қаралды 1,5 М.
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 16 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 42 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
First Look: Agon CONSOLE8! A New 8-Bit Console for Retro Fans
41:14
RMC - The Cave
Рет қаралды 56 М.
Assembly Programming & Colour - Computerphile
14:21
Computerphile
Рет қаралды 174 М.
Z80 Coding - File compression when your game doesn't fit in memory
4:50
ZX Retro Gaming including 8 and 16 bit
Рет қаралды 804
Stealing the secrets of the NES - Agon Light Tilemaps in C
18:56
NCOT Technology
Рет қаралды 1,6 М.
This 8-Bit Computer Has Two CPUs (And One Acts As A GPU!)
24:29
Noel's Retro Lab
Рет қаралды 148 М.
Sinclair BASIC vs BBC BASIC - How to fit an entire devkit inside 64K
22:01
What is the Smallest Possible .EXE?
17:57
Inkbox
Рет қаралды 321 М.
The Dark Art of Programming - Writing Cursed Code
13:12
NCOT Technology
Рет қаралды 2,1 М.
Agon Light C Programming - An Introduction
8:32
NCOT Technology
Рет қаралды 3,2 М.
Zilog Z80 Deep Dive - How does it work?
15:05
NCOT Technology
Рет қаралды 23 М.
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,2 МЛН
iPhone 15 Pro Max vs IPhone Xs Max  troll face speed test
0:33
Сколько реально стоит ПК Величайшего?
0:37
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 17 МЛН