flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Dos ver of the next release of DexOS |
Author |
|
Dex4u 28 May 2011, 02:03
Here is the dos boot ver of the new DexOS release , its the same as my next ver of DexOS, other than this ver needs dos to boot from, but includes 32bit pm int21h dos functions.
So its like a 32bit dos. Here you will find a freedos floppy image boot to freedos and run dos2x.exe (thats the name of the 32bit dos ver of DexOS) and it will go to dos2x's gui or cli if you do not have the right vesa mode available . you can also exit back to freedos by typing exit at the cli, to run normal dos apps. The image http://www.dex-os.com/dos2x/dos2x_image.zip Screenshots http://www.dex-os.com/dos2x/ This ver is 100% compatable with dos as far as int 21h function go, but its full pm32bit. Its got a fasm port, both normal and ide vers. Simple GUI The non dos boot ver of DexOS will be release in a week or two. NOTE: Its needs a PURE DOS to run from. PS: Source will be released with the DexOS ver, unless someones in a rush. |
|||
28 May 2011, 02:03 |
|
DJ Mauretto 28 May 2011, 07:56
Cooooool
_________________ Nil Volentibus Arduum |
|||
28 May 2011, 07:56 |
|
cypher 28 May 2011, 11:02
My sentiments exactly!
|
|||
28 May 2011, 11:02 |
|
Dex4u 28 May 2011, 16:09
Thanks everyone for your kind words .
@garystampa, Cool that your sons interested in OS, As for are they 'obsolete', if you mean will they run in the new OS than, than its no they will not. But every app from the old ver will be ported to the new ver and the old ver will still be available if anyone want to add apps or mod the kernel32 etc. The big advantage with this ver is you can use those old dos asm tut to learn/write pmode asm app's with little modding. Hello world! example Code: ;=========================================================; ; Hello world! 06/05/11 ; ;---------------------------------------------------------; ; By Dex . ; ; ; ; Here is a simple "hello world" program. ; ; for dos2x, using the int 21h functions. ; ; in 32bit pm. ; ; To assemble in dos2x, use fasm as follows ; ; fasm.dex hello.asm hello.dex ; ;=========================================================; use32 ORG 0x400000 ; where our program is loaded to jmp start ; jump to the start of program. db DOS2 ; We check for this, to make shore it a valid dos2x file. msg1: db 'Hello world! ',13,10 db 'Press anykey to return to command.com ',13,10,'$' ;----------------------------------------------------; ; Start of program. ; ;----------------------------------------------------; start: mov ax,18h ; set ax to nonlinear base mov ds,ax ; add them to ds mov es,ax ; and es. ;----------------------------------------------------; ; Get int21h address. ; ;----------------------------------------------------; mov eax,21h ; test for int21h int 21h ; jc Int21hError ; error leave mov dword[Int21h],eax ; if not save address ;----------------------------------------------------; ; Try print string. ; ;----------------------------------------------------; ; print string 1 mov edx,msg1 ; this point's to our string. mov ah,09h ; function number call dword[Int21h] ; this call dos function. ;----------------------------------------------------; ; wait for keypress. ; ;----------------------------------------------------; ; is the wait for keypress function. mov ah,07h ; function number call dword[Int21h] ; this call the print function. Int21hError: ret ; This returns to the CLI/GUI ;----------------------------------------------------; ; Data. ; ;----------------------------------------------------; Int21h dd 0 |
|||
28 May 2011, 16:09 |
|
garystampa 28 May 2011, 22:25
Thanks for the info. I was asking form the standpoint of whether the old files were going to be 'obsoleted' by a newer concept or different style or interface.
I'm not fully up-to-speed on your OS and I've been looking at a few so my head's swimming a bit. I am very fluent in ASM and wanted to help my son assemble and run your OS and start learning how they work. I figured my extensive background in DOS, embedded, firmware and OS dev could keep me from having to spend too much of my own time trying to figure out what's going on - yet still be able to help him. |
|||
28 May 2011, 22:25 |
|
typedef 29 May 2011, 02:43
Just curious, is the .dex file just a flat binary file or did you make your own structure. ?
|
|||
29 May 2011, 02:43 |
|
Dex4u 29 May 2011, 17:06
typedef wrote: Just curious, is the .dex file just a flat binary file or did you make your own structure. ? Just a flat bin file with small header, we do have our own file formats. Eg: DIF and DFF Dex Image Format Dex Font Format Plus we have a module/driver structure. But the .DEX and .GEX are just .bin files the .Dex is loaded at 4mb and run from cli so opens and close in text mode. The .gex is load at 8mb and is opened and close in vesa mode 800*600 32bpp frome GUI. PS: We have use the .dex since 2003, but it seems now that the android is using it too. PSS: I have add the source code to the link dos2x.zip |
|||
29 May 2011, 17:06 |
|
typedef 29 May 2011, 18:54
cool beans
|
|||
29 May 2011, 18:54 |
|
Dex4u 31 May 2011, 20:31
bitshifter has pointed out that i did not include the fasm license and should have more respect for Tomasz Grysztar.
I have every respect for Tomasz Grysztar and bitshifter should open his eyes, the license is in the Doc folder, in the floppy image. |
|||
31 May 2011, 20:31 |
|
garystampa 04 Jun 2011, 10:18
In noticing the keyboard map file, I was wondering if you allowed the Alt-[enter 3 digits] sequence which either DOS or the BIOS allowed.
I remember that being a handy feature to throw in a high-bit char or other hard-to-get to character. |
|||
04 Jun 2011, 10:18 |
|
Dex4u 04 Jun 2011, 17:34
Not as it stands, but anything like that can be added.
The main reason, is that we used to remap these, unused fonts to make a custom logo in text mode. |
|||
04 Jun 2011, 17:34 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.