flat assembler
Message board for the users of flat assembler.

Index > OS Construction > I want you to make me an operating system like MS-DOS

Goto page Previous  1, 2, 3  Next
Author
Thread Post new topic Reply to topic
cod3b453



Joined: 25 Aug 2004
Posts: 618
cod3b453 05 Mar 2014, 17:10
FreeDOS is an open source "DOS", while not strictly of the MS persuation it'll get you most of the way there.
Post 05 Mar 2014, 17:10
View user's profile Send private message Reply with quote
neville



Joined: 13 Jul 2008
Posts: 507
Location: New Zealand
neville 06 Mar 2014, 01:53
sid123 wrote:
Quote:
You've written an app in Dos2x which performs those 7 steps? Then back to Dos2x afterwards?
No,
But could you do it, using only the tools provided in the Dos2X environment?

@Dex4u: My original question answered by sid123 was really just hoping that you would explain how this can be done from within Dos2X:
Dex4u wrote:
... this means it can also switch back to realmode to run old dos games.
You can still use any Dos int 21h from 32bit pm, by using the 32bit regs, instead of the 16bit.

_________________
FAMOS - the first memory operating system
Post 06 Mar 2014, 01:53
View user's profile Send private message Visit poster's website Reply with quote
timryazthunder



Joined: 18 Jan 2014
Posts: 44
timryazthunder 08 Mar 2014, 05:51
Well, you would rather make a CLI enhancement, thus, I'm a leader of the Developers Team.
Post 08 Mar 2014, 05:51
View user's profile Send private message Reply with quote
timryazthunder



Joined: 18 Jan 2014
Posts: 44
timryazthunder 08 Mar 2014, 06:05
neville wrote:
sid123 wrote:
Quote:
You've written an app in Dos2x which performs those 7 steps? Then back to Dos2x afterwards?
No,
But could you do it, using only the tools provided in the Dos2X environment?

@Dex4u: My original question answered by sid123 was really just hoping that you would explain how this can be done from within Dos2X:
Dex4u wrote:
... this means it can also switch back to realmode to run old dos games.
You can still use any Dos int 21h from 32bit pm, by using the 32bit regs, instead of the 16bit.


Description:
Download
Filename: kernel.asm
Filesize: 3.83 KB
Downloaded: 1826 Time(s)


_________________
Enigma is for programmers! | Making DL-DOS 1.10 together! 1%
Post 08 Mar 2014, 06:05
View user's profile Send private message Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 08 Mar 2014, 06:30
It's a little from MikeOS source, as I see it. Wink which doesn't even work, since you got the BIOS keyboard interrupt number wrong, it's 0x16 and not 0x14. Along with that you forgo to add a "jmp cmd" after:
Code:
 
mov si, no_command
call PRINT
;; Some byte was here, the processor went
;; executing random instructions.
jmp cmd
    

The DIR command fails to print the list of files, I haven't investigated the situation btw.
Long way to go.
Plus you forgot to give Mike proper credits.
And by the way, you are too inexperienced to hold a corporation, I have been through that stage, and I know what you think, "I AM GREAT! I AM THE LEADER!
<Inset Ambitious Quote Here>", but believe me after you become sane and sensible, you will regret when you will look at your past.
Post 08 Mar 2014, 06:30
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 08 Mar 2014, 06:59
Hmm, the Dunning-Kruger effect?
Post 08 Mar 2014, 06:59
View user's profile Send private message Visit poster's website Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 08 Mar 2014, 07:07
@revolution: Yep.
Post 08 Mar 2014, 07:07
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 08 Mar 2014, 07:54
timryazthunder wrote:
You should all make me a full operating system with:
A GUI
FAT32 Support
CLI


Look at FreeDOS or EDR-DOS. Note than M$-DOG never had FAT28 (even less FAT32) nor GUI. At least CLI is easy - it already worx as long as your CPU is in real mode. Smile
Post 08 Mar 2014, 07:54
View user's profile Send private message Reply with quote
timryazthunder



Joined: 18 Jan 2014
Posts: 44
timryazthunder 08 Mar 2014, 14:04
I'm practicing Bona Fide tutorials, but some of these don't work
Post 08 Mar 2014, 14:04
View user's profile Send private message Reply with quote
timryazthunder



Joined: 18 Jan 2014
Posts: 44
timryazthunder 14 Mar 2014, 17:40
Oh, I will have to tinker around, because I have Windows 7 and Windows XP (on my VM).
Post 14 Mar 2014, 17:40
View user's profile Send private message Reply with quote
timryazthunder



Joined: 18 Jan 2014
Posts: 44
timryazthunder 14 Mar 2014, 17:45
revolution wrote:
Show us how far you have got and perhaps we can help you to extend it a bit further.
My code here:
Bits 16
ORG 0x7C00

mov ax, [label]

label:
dw 0

mov ah, 0Eh
mov al, 'S'
mov bh, 0Fh
mov bl, 0
int 10h

mov ah, 0Eh
mov al, 'a'
mov bh, 0Fh
mov bl, 0
int 10h

mov ah, 0Eh
mov al, 'n'
mov bh, 0Fh
mov bl, 0
int 10h

mov ah, 0Eh
mov al, 'd'
mov bh, 0Fh
mov bl, 0
int 10h

mov ah, 0Eh
mov al, 'r'
mov bh, 0Fh
mov bl, 0
int 10h

mov ah, 0Eh
mov al, 'a'
mov bh, 0Fh
mov bl, 0
int 10h

times 510 - ($-$$) db 0
dw 0xAA55

As a result, it will print "Sandra" on the screen. Try that.

_________________
Enigma is for programmers! | Making DL-DOS 1.10 together! 1%
Post 14 Mar 2014, 17:45
View user's profile Send private message Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 15 Mar 2014, 03:56
WTF! That's really basic stuff what everyone here knows.
You need way more features, at least a file system.
And your code isn't really great, you could have skipped a lot
of useless instructions.
It would take me at least a decade to find from where you've got this
gross lack of computer knowledge and are attempting to write
an operating system, that too in assembly.
This may seem harsh but you've exceeded the limits.
Post 15 Mar 2014, 03:56
View user's profile Send private message Reply with quote
timryazthunder



Joined: 18 Jan 2014
Posts: 44
timryazthunder 15 Mar 2014, 10:10
sid123, I'm still practicing tutorials, I also made a PM bootstrap which has the GDT
Post 15 Mar 2014, 10:10
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 15 Mar 2014, 10:18
timryazthunder wrote:
As a result, it will print "Sandra" on the screen.
I expect it will. But you have a long way to go before you can consider that an operating system. Also, you posted what appears to be NASM code (or at least non-FASM code) so that makes it harder for us to help you. The more blocks you place in our path that means the more time we spend climbing over the blocks and the less time we have spare for helping you.
timryazthunder wrote:
I'm like, well, young Bill Gates.
Okay.
Post 15 Mar 2014, 10:18
View user's profile Send private message Visit poster's website Reply with quote
timryazthunder



Joined: 18 Jan 2014
Posts: 44
timryazthunder 26 Mar 2014, 12:23
Also, I'll try to make an enhancement in my bootstrap, but it'll be hard.
Post 26 Mar 2014, 12:23
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc 26 Mar 2014, 15:44
revolution
Quote:
timryazthunder wrote:
I'm like, well, young Bill Gates.
Okay.

This is an unfortunate comment. A correct one would include reminding, that young Bill Gates payed 25 000$ for the DOS. The topic starter is welcome to propose the requirements as soon as he's ready to offer that money.

_________________
Faith is a superposition of knowledge and fallacy
Post 26 Mar 2014, 15:44
View user's profile Send private message Reply with quote
timryazthunder



Joined: 18 Jan 2014
Posts: 44
timryazthunder 26 Mar 2014, 16:08
The requirements for the team (11 programmers):
A good education (MANDATORY)
Knowledge of 8086 Assembly, C and C++
Skills at designing.
Post 26 Mar 2014, 16:08
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc 26 Mar 2014, 16:19

_________________
Faith is a superposition of knowledge and fallacy
Post 26 Mar 2014, 16:19
View user's profile Send private message Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 27 Mar 2014, 02:30
The license does not permit you to use the source code in ANY possible derivative work. It's just like protecting a piece of puke (DOS) from others and then keeping it in front of everybody (open source).
EDIT: Reading mistake, they let you use it, but they won't let you distribute it, as pointed out by l_inc.


Last edited by sid123 on 28 Mar 2014, 10:31; edited 2 times in total
Post 27 Mar 2014, 02:30
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc 27 Mar 2014, 10:53
sid123
Quote:
The license does not permit you to use the source code in ANY possible derivative work.

Did you take at least a two-seconds look into the license?
This is the first sentence of the license terms:
MICROSOFT RESEARCH LICENSE AGREEMENT wrote:
You may use, copy, compile, and create Derivative Works of the software, and run the software and Derivative Works on simulators or hardware solely for non-commercial research, experimentation, and educational purposes

_________________
Faith is a superposition of knowledge and fallacy
Post 27 Mar 2014, 10:53
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3  Next

< 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.