End of AEOS
Well, last time I ended it, I came back to it, and much more happened than talking about it… Who knows what will happen next?
But this is the official goodbye for now.
Now I will no longer accept or answer questions in regards to AEOS, COSMOS, or other operating system creation questions.
The source code can still be found at: http://www.ertnerd.com/source.zip
Just Comment Here if You Need Help
I am under the impression that changing the commenting system to reduce spam has made it impossible to comment on older posts… so post questions and comments here
RSS Feed Reader…
Just a “for-the-fun-of-it” project… not so fun when you are making it on a laptop at 2 AM… Well, if it actually gets anywhere, I’ll let you all know…
Basic Drawing
using System;
using Cosmos.Compiler.Builder;
using Cosmos.Hardware;
using Cosmos.Sys;
using Cosmos.Kernel;
using System.Collections;
using System.Collections.Generic;
using Screen = Cosmos.Hardware.VGAScreen;
just a reminder…
The download to the AEOSgui is here: http://www.ertnerd.com/source.zip
Plans for AEOS
I am thinking of moving away from COSMOS as the kernel, and try my hand at making my own. I have found a few sites on kernel development, which is really helpful. When my kernel is ready, I already have a GUI.
SPAM!! I HATE IT!!!
No, I’m not talking about the canned pork (I haven’t tried it yet, but I think I will soon)
I’m talking about usless adverts (expecially the ones that aren’t even on topic…)
THEY DRIVE ME CRAZY!!!
ARGH!!!!!!!
Comment below if you hate spam too!!
(And if I wanted advertisements, I would have banner ads on top and to the sides, but I hate ads…)
FillRectangle
public static void FillRectangle(uint lx, uint ly, uint sx, uint sy, uint colour)
{
for (uint xx = lx; xx < sx + lx; xx++)
{
for (uint yy = ly; yy < sy + ly; yy++)
{
if(xx <= 319 && xx >= 0)
screenbuffer[yy * 320 + xx] = colour; //If you are using a uint[] as a screen buffer, use this, otherwise use this:
//Screen.SetPixel320×200x8(xx, yy, colour);
}
}
}
for this to work you use have
using Cosmos.Hardware;
using Screen = Cosmos.Hardware.VGAScreen;
private static uint[] screenbuffer = new uint[512000]; //Optional, you don’t need a buffer, but I recommend it;
and have added colors to the palette and added:
Screen.SetMode320×200x8();
before the main loop.
goto
I feel a bit odd… I just used a goto statement… because I was lazy… This is not good practice… Worse, the code is a mess now in that little spot. Eh, I guess I’ll fix it later. (This is a project unrelated to AEOSgui)