How can i write some Asm code in Cosmos?

Topics: Developing Cosmos (Working on Cosmos source code directly), Using Cosmos (Developing your own OS, projects, etc)
Developer
Nov 3, 2012 at 2:38 PM

Hey guys i am trying to create a VESA Driver but i need to write some ASM code. How can i do that?

 

N.B: Asm code is required to set VESA modes.

Coordinator
Nov 3, 2012 at 2:57 PM
On 11/3/2012 9:38 AM, forest201 wrote:
> Hey guys i am trying to create a VESA Driver but i need to write some
> ASM code. How can i do that?

X#
Developer
Nov 3, 2012 at 6:18 PM

Is X# included in the new release of cosmos?

Coordinator
Nov 3, 2012 at 7:36 PM

Its in the dev kit. The user kit has an older version of X#.

Nov 3, 2012 at 7:37 PM

Can I help with the driver?

Developer
Nov 3, 2012 at 9:18 PM
Edited Nov 3, 2012 at 9:20 PM
jpal wrote:

Can I help with the driver?

Sure! Why not? 

 

I'm gona name my OS "Optimus"

Nov 4, 2012 at 4:32 AM

so how can I help?

Nov 4, 2012 at 4:35 AM

What resolutions does this support?

Developer
Nov 4, 2012 at 1:18 PM
Edited Nov 4, 2012 at 1:24 PM

VESA Supports many resolutions like 640x400, 640x480, 800x600, 1024x768 etc. each resolution has at least two or more color modes like 16 colors, 256 color ,32K colors, 64K colors, 16.8M colors.

Check out this link on VESA Standard  http://www.monstersoft.com/tutorial1/VESA_intro.html

Read and Begin writing code. Our aim is to set VESA VGA Mode  screen resolution of 640x480 in any color mode. You can use Try Blocks to detect errors.

 

And Kudzu , i cannot find X# in the Userkit. The IL2CPU DLL is not included. 

 

Also I need someone to write a FAT filesystem Driver for me. It must contain List Dir, ReadFile,WriteFile etc. Don't worry about the reading Floppy Disk or ATA Harddrives. Simply read or write to an Array. My ATA Driver will just write data to that array.