flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Memory + Saving files in my kernel

Author
Thread Post new topic Reply to topic
SkiMask11



Joined: 06 Sep 2014
Posts: 8
SkiMask11 16 Nov 2014, 07:06
How can I allow my kernel to save data. Example: Going into a notepad and clicking file and save.

P.S - When developing a 16 bit kernel, should I use C or Assembly. If C what program should I use to compile C?
Post 16 Nov 2014, 07:06
View user's profile Send private message Reply with quote
BAiC



Joined: 22 Mar 2011
Posts: 272
Location: California
BAiC 16 Nov 2014, 09:08
from the questions your asking it sounds like you should learn programming first. the best advice I can give is to exploit debugging tools in software such as Visual Studio to learn what the assembly for applications look like (and as a tool in learning programming in general) then move into assembly and OS development.

when you write your own OS the only tools you'll have are the ones you write yourself. if you don't fully understand what you're doing you won't be able to push forward.

- Stefan

_________________
byte me.
Post 16 Nov 2014, 09:08
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20413
Location: In your JS exploiting you and your system
revolution 16 Nov 2014, 14:51
SkiMask11 wrote:
How can I allow my kernel to save data. Example: Going into a notepad and clicking file and save.
You are going to have to make a file system driver first. You can choose any file system that you like and then make some code to implement it.
SkiMask11 wrote:
P.S - When developing a 16 bit kernel, should I use C or Assembly. If C what program should I use to compile C?
At some point you will have to use assembly because C can't do all the things needed to access the hardware or the special CPU settings and mode control. So if you take the path of C then you have to mix it with assembly. And if you take the path of assembly then you can use just that and ignore C completely.
Post 16 Nov 2014, 14:51
View user's profile Send private message Visit poster's website Reply with quote
cod3b453



Joined: 25 Aug 2004
Posts: 618
cod3b453 16 Nov 2014, 23:13
The C vs ASM choice can only really be answered by you - what requirements/goals/design are you going for?

For C there are only a few older/less-known compilers that support 16bit code generation such as Turbo C or OpenWatcom (there are others).
Post 16 Nov 2014, 23:13
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.