NASM Forum > Other Discussion

Custom x86 OS

<< < (2/3) > >>

Structure:
I have an IDE as well... Which is a collection of .exe tools for windows.

example.aro:

--- Code: ---<print.asm>

string: db "hello world", 0

__entry:
    print string

--- End code ---

This can be assembled as a .img and run from the bootLoader.
Step 1 cmd: arrow example
Step 2 cmd: nasm example.asm -o example.img

There are some files that are automatically included to construct the proper structure to run on the OS. It currently requires an immutable directory structure as well, which will change eventually with maybe a settings.ini ? idk.

I considered writing a development environment in the OS, but it makes no sense to me. It makes more sense to use the power of windows and create the binary's. As far as the file system, this is trivial imo. As long as the disks run, organizing them on the hard drive is simple.

To run a disk you just push F5 at the command prompt.

After the application runs it returns to video mode 0x03 and the command prompt.

Structure:
One thing i would really like is if someone could test it on real hardware... I'm currently using virtualization.

debs3759:

--- Quote from: Structure on January 22, 2020, 12:35:31 AM ---
--- Quote ---a FAT12 boot sector
--- End quote ---
I currently don't have a file system, it runs off disks.
--- End quote ---

How do you load your loader without a file system? Is it just a single binary file so far?


--- Quote ---
--- Quote ---I wrote a windowing system for DOS
--- End quote ---
forget about DOS...[/quote

When I rewrite it in assembler, it will use BIOS calls, not DOS calls. Only reason it was written for DOS was because at the time I was using MSVC :) Simple enough to use Int 10h instead of int 21h.


--- Quote ---
--- Quote ---windowing system
--- End quote ---
This is where i am at... I am currently experimenting with display modes.

--- End quote ---

I only found my code a few days ago. I aimed to be VGA compatible, and used 800x600 mode. I forget exactly which mode though, I need to read my code thoroughly. Good thing all my code is heavily commented :) When I have done some work on it, it will be posted in the example code area. It'll be a few months off though, as I am working on a big update to the gpuzoo.com website at the moment. When I start coding again, my IDE will be my first project, and that will make heavy use of my windowing routines. As always, all my code will be public domain.
--- End quote ---

Structure:

--- Quote ---public domain
--- End quote ---
If it's public domain i will differ.

I'm having many issues with VESA, very complicated imo.


--- Quote ---working on a big update to the gpuzoo.com website at the moment
--- End quote ---
take your time. Do whatever you want. :)


--- Quote ---public domain
--- End quote ---
I am not public domain. OEM

Don't forget... many people steal from you when it's public. This has become a real problem.

95% of "programmers" google all day and copy/paste

Structure:

--- Quote ---How do you load your loader
--- End quote ---
It is a disk. Put the disk in and turn on the computer.


--- Quote ---Is it just a single binary file
--- End quote ---
It is. The applications are then run off of the second disk.
also single files.


--- Quote ---so far?
--- End quote ---
lol, it works. That's a good start  8)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version