flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Dex4u OS dashboard demo

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 30 Apr 2006, 19:10
Here's: Dex4u OS, New dashboard (GUI) for you all to test:
http://www.dex4u.com/code/Menuet4U.zip
Here's a image for Qemu, but it needs hdd and atapi seting up.
http://www.dex4u.com/code/QemuDex.zip

Full code will be available, when bugs are out.
Screenshot: http://www.dex4u.com/images/Dash4u.jpg

EDIT:
Here is a ISO, for people without floppy drives, for testing Dex4u dashboard(gui).
http://www.dex4u.com/code/DexISO.zip

Note: The above ISO is for people without floppys, so when reading A: drive, its reading the floppy boot image.
Post 30 Apr 2006, 19:10
View user's profile Send private message Reply with quote
Redragon



Joined: 27 Nov 2004
Posts: 101
Location: U.S.
Redragon 11 May 2006, 21:16
works and looks great dex!

_________________
(AH+AL=AX)+E=EAX
Post 11 May 2006, 21:16
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 14 May 2006, 18:42
The Source code to Dex4u OS including GUI has been released and is available here: http://www.dex4u.com/download.htm

Regards Dex.
Post 14 May 2006, 18:42
View user's profile Send private message Reply with quote
viki



Joined: 03 Jan 2006
Posts: 40
Location: Czestochowa, Poland
viki 15 May 2006, 08:43
Dex4u rules!!!
Sources look fantastic!!!
I have a questions about debugging. When I try to write a bootloader I've used a tasm to have possibility to easy debug the code. How do you do this?
Post 15 May 2006, 08:43
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 15 May 2006, 11:06
This may sound odd, but i have never used debuggers, if i have any problems, i useally print numbers every 6 lines or so, and see what number it gets to, also i print reg values, with the "write_hex32" function.
On top of this a letter is printed in the top righthand corner, if double fault etc.
Also try to keep things as simple as possable helps.
Thanks for you nice words Cool .
Post 15 May 2006, 11:06
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8209
Location: Kraków, Poland
Tomasz Grysztar 15 May 2006, 14:07
Dex4u: nice to see someone else using the same method. Smile
Post 15 May 2006, 14:07
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 15 May 2006, 15:00
in my 512byte paratrooper project i was forced to do the same - except one little thing that i even couldn't do any output Smile

i was using jump to exit routine to see if code reaches some particular location...
Post 15 May 2006, 15:00
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32 26 May 2006, 08:43
Oh no Sad
It doesnt work in VMWARE Sad


Description:
Filesize: 30.21 KB
Viewed: 5715 Time(s)

dex4u-vmware-server.JPG


Post 26 May 2006, 08:43
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 26 May 2006, 13:31
Looks like VMware still needs to do some more work to emulate a PC.
I have only tested it with DosBOX and Qemu, both work fine once setup right.
Thanks for testing.
Post 26 May 2006, 13:31
View user's profile Send private message Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2465
Location: Bucharest, Romania
Borsuc 26 May 2006, 19:49
Dex4u wrote:
This may sound odd, but i have never used debuggers, if i have any problems, i useally print numbers every 6 lines or so, and see what number it gets to, also i print reg values, with the "write_hex32" function.

I'm into this method too, it helps a lot especially when you want it to turn fast (at least, it is much better than doing the "Step In" over and over again Smile ).

But IMHO, sometimes you need to "understand" the problem, not only just "find" it. I was very upset once, for a damn bug, and I found it pretty easy with that method. But then, I was so pissed off figuring out WHY it didn't work as expected!

The ONLY part of the debugger that I find "essential" is the "Memory Window" that displays the RAM memory. With this I was able to "understand" the problem, and realized that I had to modify my erroneous algorithm.

So, in short, I'm in the middle. I love the "classic" method without debuggers, but sometimes their assistance cannot be denied. It's a matter of choosing what's good from both sides. I always like to say that. Wink


PS: debuggers can also be used to "reverse engineer" stuff. I used a couple of nasty tricks to crack some games and make 'em run without CDs for my friends... they were really impressed, but to the back of it, you only had to know a few tricks here and there. Of course, all this couldn't have been learned by a book, it's a skill you have to gain. And besides, I only did this because I wanted to apply some of my tricks (and my friends asked real nice) -- it's not something I'm interested in anyway, but it sure requires a lot of "tricky" thinking (and this was the part I enjoyed -- to think; it's not that I like "reverse engineering" much...).

I just wanted to say that debuggers can be used for others purposes too Smile
Post 26 May 2006, 19:49
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8209
Location: Kraków, Poland
Tomasz Grysztar 26 May 2006, 20:09
I've been successfully using disassemblers/hex editors for the same thing.
Sometimes it's this "thinking" that is much more important than the set of tools you've got.
Post 26 May 2006, 20:09
View user's profile Send private message Visit poster's website Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2465
Location: Bucharest, Romania
Borsuc 26 May 2006, 20:19
Agreed Cool
Post 26 May 2006, 20:19
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 26 May 2006, 20:46
I agreed with Tomasz Grysztar, also most people think programming is a science, but its also a art, the science part can be learnt, but its the art part, that separates the good programmer, from the great, like Tomasz Grysztar.

For me, if i have a problem i usually sleep on it and the answer come to me by morning, i can stayup all night, trying to solve it, with no luck, but if i sleep on it, it just comes to me, this always works Smile .
This is for code of your own making, but for code someone else made (that you need to crack etc), than disassemblers/hexeditors are a great help.
Post 26 May 2006, 20:46
View user's profile Send private message Reply with quote
viki



Joined: 03 Jan 2006
Posts: 40
Location: Czestochowa, Poland
viki 29 May 2006, 12:09
Hello. I found one problem when I tried to add boot12.bin file to WinImage.
Program hangs with that screen.

Sorry this is in polish but means divide error. I tried use Menuet4U.exe with WinImage and it works perfect


Description:
Filesize: 7.41 KB
Viewed: 5661 Time(s)

error.gif


Post 29 May 2006, 12:09
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 29 May 2006, 13:01
@Viki, First thanks for testing , "boot12.bin" is the bootloader for floppy disk (first 512bytes), to use it, you put it in the same dir as "bootable.exe" ( you will find it in the folder bootpro/utils)
To use it put a formated floppy in the A: drive and type
c:\bootable boot12.bin A:
then enter, this will put the boot sector on the floppy.
Once you have assebled the source code add kernel32.exe and gui.dex to the floppy, just like any other file (cut & paste etc).

But you do not really have to do the above, if you all ready have make a floppy or image from menuet4u you just need to add the new kernel32.exe and gui.dex to the floppy or image.
Hope this helps.

ps: this may also help: http://www.dex4u.com/bootprog.htm
Post 29 May 2006, 13:01
View user's profile Send private message Reply with quote
viki



Joined: 03 Jan 2006
Posts: 40
Location: Czestochowa, Poland
viki 29 May 2006, 14:43
Yes I know this buy I try to test my and your os with bochs and with image prepared on WinImage. When I load whole Menuetos4U to WinImage and save it as a m.ima file on my hdd I can use it as fdd simulator. (for safe some time, don't need to restart ... ). Then I start bochs and see Booting from floppy message and then this:


Description:
Filesize: 8.59 KB
Viewed: 5653 Time(s)

bochs.gif


Post 29 May 2006, 14:43
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 29 May 2006, 15:20
I can not see the right hand top corner, but if you get a D printed there that because
i use a specal fdd driver for emulator like bochs, as the normal one does not work in emulators.

Let me know if this is the case and i will send you the code .
Post 29 May 2006, 15:20
View user's profile Send private message Reply with quote
viki



Joined: 03 Jan 2006
Posts: 40
Location: Czestochowa, Poland
viki 30 May 2006, 07:31
With floppy there is no D but something like this - and I think it's ok.
Problem is that with bochs after above screen kernel hangs
Post 30 May 2006, 07:31
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 30 May 2006, 13:08
I have tested it and the floppy driver does not seem to work in BOCHS, but works fine in Qemu, DosBOX, and real PC.
Post 30 May 2006, 13:08
View user's profile Send private message Reply with quote
viki



Joined: 03 Jan 2006
Posts: 40
Location: Czestochowa, Poland
viki 31 May 2006, 14:48
With dosbox v0.65 I have the same screen as from bochs. This D on right top corner apears after few seconds
Post 31 May 2006, 14:48
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  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-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.