Idea - Gaming OS

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Idea - Gaming OS

Post by Dex »

The Games OS is done and ready for people with Game programming experance , to make the games. full fasm source avaliable.
http://www.dex4u.com/
ScreenShot
http://www.dex4u.com/gui.htm

Software from Team Dex4U
Last edited by Dex on Sun May 28, 2006 11:00 pm, edited 1 time in total.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Idea - Gaming OS

Post by earlz »

Dex4u is the fastest Operating System available for the 386+ PC ! Everything in this system is focused on speed: the architecture, it's avoidance of virtualization, everything. And of course, the choice of development language: Dex4u is written in 100% pure 32Bit Assembly!
just because its written in assembly doesn't mean its fast(no I'm not calling your OS slow, just making a point)



after trying:

seems very very slow; it won't start on bochs
when it did start on microsoft vpc i would type in a command and it would wait like 30 seconds then tell me that it doesn;t exist
i can't really figure out how run works do you type like
run [gui.dex] or run gui.dex or without the .dex

really I'm kinda afraid to run this on my real pc so...


with dir on vpc it always says drive not ready

I can't get any command but help to work

ready for people with Game programming experance , to make the games
no not from my experience with this


edit:
if it worked I would love to try to make a C library and a format convertor for it(to convert .bin to .dex)

edit2:
if i remove the floppy and then stick it back in it freezes up upon entering the next command
Last edited by earlz on Sun May 28, 2006 11:00 pm, edited 2 times in total.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Idea - Gaming OS

Post by Dex »

First thanks for test it, here some answer to your ?.
First i must say i do not use any emulators, because of the problem you posted.
These are down to 2 things
1. Not set emulators up write
2. The emulators not emulating right.

Now you have done very well to even get it to run on vpc, because noone else has.
But BOCHS is differant. you must use the emulator img for this, here is a typical example of someone using emulators
http://www.mega-tokyo.com/forum/index.p ... eadid=9391
note it work in the end with no mods from me.

Now if it does not work on a real PC then i have problems, as thats what its made for.
as for run you use run filename.dex ;enter
But the latest ver you can do this filename ;enter
and yes your right asm does not mean it fast, but it does useally mean its lean, which inturn mean fast loading and it a good starting point for speed.
hope this helps
Last edited by Dex on Sun May 28, 2006 11:00 pm, edited 3 times in total.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Idea - Gaming OS

Post by earlz »

ummm I have only one thing to say about the reply

so are you telling me that to develop a Dex game, or well to test it I have to reset my pc, no


I would try to get this working on at least 1 free emulator
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Idea - Gaming OS

Post by Dex »

Thats up to you, but remember Dex4u come with both text editor and fasm port so no rebooting, also it can be run from dos (real dos not a dos box).

If not it works fine on qemu or DosBOX emulators
http://www.dex4u.com/images/DboxScr.jpg

NOTE: For DosBOX it needs the latest DosBOX and here is how to set it up
http://www.dex4u.com/dosbox.htm
And you need to use DosBoxDex4u.zip
Last edited by Dex on Fri Jun 02, 2006 11:00 pm, edited 3 times in total.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Idea - Gaming OS

Post by earlz »

hmmm ok I'll try qemu
Dex4u come with both text editor and fasm port so no rebooting
nah I'll stick to codeblocks as an editor and one day mingw(i seriously will try to turn your system calls into a C library though)
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Idea - Gaming OS

Post by Dex »

That would be great, thanks.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Idea - Gaming OS

Post by earlz »

this is a 32bit OS isn't it?

btw after trying to use qemu i have discovered that qemu is not very straight foward

how exactly do I just start dex if the image is written to B:
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Idea - Gaming OS

Post by Dex »

In the DosBoxDex4u.zip is a bat file with this

Code: Select all

@echo off
SET SDL_VIDEODRIVER=windib
START qemu-system-x86_64.exe -L . -m 32 -fda Dex4u.img -soundhw sb16 -std-vga -localtime
CLS
exit
That works fine for me in win98, but some people found that you need a certain ver see here:
http://www.mega-tokyo.com/forum/index.p ... eadid=9391
I also seem to have down loaded the 64bit ver, but it work s fine for me.

Also note i do not use emulator, but if i need screenshot, the above code work with the included image.
Last edited by Dex on Fri Jun 02, 2006 11:00 pm, edited 1 time in total.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Idea - Gaming OS

Post by earlz »

It doesn't work for me
it just makes the console blink and thats it


edit:
also do apps run in ring0 or ring3
and do they have full access to memory

Code: Select all

WaitForKeyPress      rd 1           ;  4.Wait for keypress,Exit: ASCII code of keypressed in AL .
KeyPressedNoWait     rd 1           ;  5.If keyperssed AL=1,if no keypressed AL=0.
on waitforkeypress does it actually wait for a keypress or does it just set to where keypressednowait returns 0(application wait or kernel wait)

Code: Select all

RealModeInt10h       rd 1           ;  2.Call realmode int 10h,fill in AX,BX,CX,DX, with function number etc, be carefull may not work will all functions.
RealModeRegs         rd 1           ;  3.Fills in AX,BX,CX,DX with result from above function,set CF to 1 on error.
you do know that some ints use more than just AX,BX,CX,and DX some use BP and DI and such

Code: Select all

CallTableAddress     rd 1           ;  0.call-table address,DO NOT call as function.
what is the point of that


and to be sure I'm getting this right
the call table is actually in the application and when you get the call table filled you set edi with the call table address and then int whatever fills it with all the functions
right?
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Idea - Gaming OS

Post by Dex »

Seem not to work in Qemu 0.6.0
works fine in Qemu 0.7.0
may not work in Qemu 0.8.0 (i have not tested it in this ver).
Other than that i can not say why, thats why i do not like emulators, you spend most of you time trying to learn how to set them up.
As you can see its running in it here:
http://www.dex4u.com/images/DexScr.jpg

Also notest thats 0.8.0 ver
Last edited by Dex on Fri Jun 02, 2006 11:00 pm, edited 2 times in total.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Idea - Gaming OS

Post by Dex »

Yes its 32bit.
1 runs in ring 0
2 waits for keypress, (note there are other functions for no wait)
3. This is only design for simple int 10h like mode change etc.
4. The use for that address is that it has the address of the call table in the kernel
with this you can say write a better function and replace the address in the call
table with the one that points to the new function, abit like in dos tsr.

And the last comment is right.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Idea - Gaming OS

Post by earlz »

ahhhh
yes i finally got it running in dosbox (it nearly freezes my pc though running the gui)

it is pretty good with the aipong game it exited when you pressed a key
tex4u does not pay attention to caps and stuff
i made a simple text file in tex4u but named it test123.dex and when i ran that it said hello!!!!! (which is what i put in it) and at the bottom there was a line counter and stuff and the line counter kept increasing
i didn't think that was possible but anyway

settings in the gui does not work, in dosbox the gui is very slow(I can't listen to music when i have the gui running for some reason(it skips) but my pc isn't really the slowed down, its wierd)

I tried dex on qemu 7.2 btw
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Idea - Gaming OS

Post by Dex »

Emulators can do wierd things, and do slow things down a lot. some more than other, as you can see from the code it mostly bear metal so theres not much to slow it down.
As for text editor loading a dex file, it will load any file extension, it up to the maker of the editor to only load certain files, but this editor was going to be a hexeditor too,
so i let it load and save any file, but it should act like a txt file.
Last edited by Dex on Fri Jun 02, 2006 11:00 pm, edited 1 time in total.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: Idea - Gaming OS

Post by earlz »

no i mean i typed at the command prompt -- RUN TEST123.DEX and that is what happened
Post Reply