Can I programming on ASM for Visopsys?

General discussion about Visopsys. We'll create more specific forums if the number of posts justifies that.
Post Reply
ps2013
Posts: 18
Joined: Sat Jan 02, 2016 1:36 pm

Can I programming on ASM for Visopsys?

Post by ps2013 » Tue Jan 05, 2016 5:14 am

Can I programming on ASM for Visopsys?

User avatar
andymc
Posts: 491
Joined: Tue Nov 16, 2010 7:20 pm

Re: Can I programming on ASM for Visopsys?

Post by andymc » Thu Jan 07, 2016 2:01 pm

Of course - some parts of Visopsys are written in ASM (that's why it needs NASM, the assembler, to build).

The OS loader (src/osloader) is all written in ASM.

ps2013
Posts: 18
Joined: Sat Jan 02, 2016 1:36 pm

Re: Can I programming on ASM for Visopsys?

Post by ps2013 » Thu Jan 07, 2016 2:04 pm

How to?

User avatar
andymc
Posts: 491
Joined: Tue Nov 16, 2010 7:20 pm

Re: Can I programming on ASM for Visopsys?

Post by andymc » Thu Jan 07, 2016 2:10 pm

:? how to ... write ASM code???

ps2013
Posts: 18
Joined: Sat Jan 02, 2016 1:36 pm

Re: Can I programming on ASM for Visopsys?

Post by ps2013 » Thu Jan 07, 2016 4:26 pm

andymc wrote::? how to ... write ASM code???
I ask - how to programming on ASM for Visopsys?

For diferrent OSes - there all different

User avatar
andymc
Posts: 491
Joined: Tue Nov 16, 2010 7:20 pm

Re: Can I programming on ASM for Visopsys?

Post by andymc » Thu Jan 07, 2016 5:08 pm

The language is the same regardless of the OS.

The things that'll be different are the way the final program is linked, and the system calls, to talk to the kernel.

We can go through that once you can build, install, and run the OS. Maybe make a 'hello world' in C, get familiar with the environment, etc.

Post Reply