View Full Version: MiniDos start

dex >>OS Dev >>MiniDos start


mike21091- 06-05-2006

Thanks

sleepsleep- 06-17-2006

hi :wink: http://www.dex4u.com/Dos4u/MiniDos.zip doesn't seem wanna boot inside vmware, :?: any idea? i set boot.bin in floppy and set system to boot from there. i tried minidos.IMZ aswell, output from MiniDOS.exe (fail too) tried minidos.com too, :cry: :cry: tried BOOTABLE.EXE too :( no luck it would be nice if you could take a little bit to boot it from vmware :) c ya

jas2o- 06-17-2006

Try using the image in this: http://www.dex4u.com/Dos4u/MdosQemu.zip I personallly don't like using vmware with Dex4u, my experience wasn't good. It didn't seem to support vesa. But maybe I forgot to enable something. I like QEMU much better :) Jas2o

sleepsleep- 06-17-2006

oh yeah, thanks jas2o, the qemu version works in vmware 8) 8) wait what is the "difference" between them :shock: btw, i get confused, what is dex4u compare to minidos? are they the same

jas2o- 06-17-2006

The "normal" version used to work in emu, but something happened and now I think it is real floppy only. The "emu" version uses the old floppy driver which does work in emulators. It (i think) is slower and doesn't support writing. Dex4u -> A 32bit pmode OS MiniDOS -> A simple DOS that is less than 2k Jas2o

Dex- 06-17-2006

Hi there maybe a little crossed wire here, first the problem with Dex4u and emulators is that emulators do not like some updated code in dex4us floppy driver. As it works fine on all real floppy drivers, i just use a older floppy driver for uses in emulators. Now this is not the same in MiniDOS it's floppy driver works in real or emulators. MiniDOS is just a demo of a small usefull OS, as far as emulators go, there is no differance between the real and qemu ver other than one is a self extracting exe to put the image on disk and the other is a disk image. From my understanding IMZ is a compressed format you need to save it as a IMA. The image was make by putting a floppy made from self extracting exe, in the A: drive opeing winimage: http://ourworld.compuserve.com/homepages/gvollant/download.htm Reading the floppy into memory and saving as a IMA file. Hope this helps. Note: if you mod the code for your oen use you need to ether just real play the com file on the floppy or image or you need to us bootable to put the bin file on the floppy as it jumps over the BPB.

Josea- 03-21-2008
Re: MiniDos start
This is a new project, i am starting that is a simple Dos that will be used to load Dex4u, but on top of that it will also emulate some common dos int 21h functions, so it can run some dos programs. As there is still a need to run small simple programs, we have freedos, but it's coded in C . This will also form a beginners OS tut, so will kill two birds with one stone. Once this is complet, we can add 64bit support to Dex4u. So we will have: kernel16.exe kernel32.exe kernel64.exe And a menu to go to the one you want. Comments welcome. Greetings, I'm new here. I found a link to MiniDos at the Fasm forum and downloaded the zip file. What license is this program under? Exept for the boot sector code there was no copyright notice. I noticed that most files are dated from 2006 except for one dealing with interupts which is dated Feb 2008. So I guess it is still being updated even if there is no activity in this tread.

Dex- 03-21-2008

First welcome to the forum Josea, MiniDos was coded as a simple demo of making a small useable OS in less than 2k, then it was hoped that anyone it helped would add a dos int 21h function or something to make it work with more dos programs. To that end, so far it as been used by many coders, but no one as added to it. We do not have time, to add to it, only bug fix if need be. The MiniDos code is freeware, to used as you like, a thanks to "Team DexOS" would be nice, but its up to you. As for the loader, it users bootprog and come under bootprogs license. Regards Dex. PS: This thread is our old forum, we just lost our main forum and all its topic, so theres a big gap, from the form that was lost, but there where many more post about minidos.

Josea- 03-24-2008

First welcome to the forum Josea, ... Thanks. ... To that end, so far it as been used by many coders, but no one as added to it. We do not have time, to add to it, only bug fix if need be. ... I can understand the lack of time. I would like to play with this little OS, time permitting. Maybe adding to the functions to support more programs. I tried to run the latest version of fasm but it didn't work. I guess this would be the first program to fully support. ... The MiniDos code is freeware, to used as you like, a thanks to "Team DexOS" would be nice, but its up to you. ... Can you please clarify what you mean by 'freeware'? Is it in the public domain? Or is it copyrighted but with an informal license to experiment with it an learn from it? PS: This thread is our old forum, we just lost our main forum and all its topic, so theres a big gap, from the form that was lost, but there where many more post about minidos. Look like I joined in kind of late, but it looks like it should be challanging to work on this code. Its been a while since I done any programming. I'll probably review assembly programming.

Dex- 03-25-2008

Right to get fasm to work on MiniDos you would need to add support for Dos's open mov ax,3D00h xor dx,dx call dos_int_with_buffer create mov ah,3Ch xor cx,cx xor dx,dx call dos_int_with_buffer write mov ah,40h xor dx,dx call dos_int_with_buffer read mov ah,3Fh xor dx,dx call dos_int_with_buffer close: mov ah,3Eh int 21h ret lseek: mov ah,42h mov ecx,edx shr ecx,16 int 21h dos_int_with_buffer: cmp [mode],dpmi je dpmi_dos_int_with_buffer push ds buffer pop ds stc int 21h pop ds ret As for freeware, its mean you can take any part of the code and use it in your own code or OS, modify it as you see fit, but you can do it in two ways, you can add to MiniDos which means you will be credited or you can start a new project using parts of MiniDos. If you do the second it would be nice to credit Team DexOS, but thats up to you. Hope this clear things up. Regards Dex.

Josea- 03-26-2008

... As for freeware, its mean you can take any part of the code and use it in your own code or OS, modify it as you see fit, but you can do it in two ways, you can add to MiniDos which means you will be credited or you can start a new project using parts of MiniDos. If you do the second it would be nice to credit Team DexOS, but thats up to you. Hope this clear things up. Regards Dex. Okay. This describes the Public Domain. Correct me if this is not what you meant. dos_int_with_buffer: cmp [mode],dpmi je dpmi_dos_int_with_buffer push ds buffer pop ds stc int 21h pop ds ret Dos version of Fasm uses dpmi? And miniDos has a way of accessing dpmi? I didn't know that. Maybe I'll make time this weekend to add the code you just provided and test this. On a different topic; I ran a program you provided on the self extracting file named kernal32.exe (which I assume is part of DexOS) and it failed to load the gui, claiming my system don't have VESA mode. I then ran a command named vesa and it gave some number. What was that about? Does that mean that VESA hardware was detected on my graphic card but it was the wrong mode?

Dex- 03-27-2008

Okay. This describes the Public Domain. Correct me if this is not what you meant. Yes Public Domain is right. Dos version of Fasm uses dpmi? And miniDos has a way of accessing dpmi? I didn't know that. Maybe I'll make time this weekend to add the code you just provided and test this. Fasm supports, a number of methods, if dpmi is not avilable, it will try unreal mode. On a different topic; I ran a program you provided on the self extracting file named kernal32.exe (which I assume is part of DexOS) and it failed to load the gui, claiming my system don't have VESA mode. I then ran a command named vesa and it gave some number. What was that about? Does that mean that VESA hardware was detected on my graphic card but it was the wrong mode? Yes its part of DexOS, the gui needs vesa 2 with LFB, you may still have vesa 1, but as this users bank switching, its no good for the GUI as it too slow.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.