He sure is.. :)
so how was your week in spain? my parents just told me that we have plane tickets to london for this thursday.. i had totally forgot about that.. :shock:
DennisCGc- 05-29-2006
It was totally awesome! I went to Spain with all the pupils of the 5th grade and a few teachers as well (it could be described as a school trip) for 6 days. And of course I saw a lot: Barcelona, Figueres (the Dali museum), and we also went on a mountain-hiking trip which sucked in the beginning.
Too bad that Babelfish sucks, and that your Dutch ain't good else you'd be reading my weblog by now :P
Have fun in London!
DennisCGc.
bubach- 05-29-2006
I can guess more or less what it's saying. You got a maximum of 2 hours sleep on the bus etc.. I'll see what else i can understand from it. :)
Thanks, i will.
Dex- 05-29-2006
Spain is a great country, i will after read your blog 8) .
As for int 21h so far list :
0 = Terminate program
1 = Read char with echo
2 = Write char
7 = Read char without echo
8 = Read char
9 = Write string
0Ah = Enter string
19h = Current drive
25h = Set int vec
2Ah = Get date
2Bh = Set date
2Ch = Get time
2Dh = Set time
30h = Get dos version
35h = Get int vec
48h = Alloc ram memory
4Ch = Terminate program
+ int 20h = Terminate program
bubach- 05-29-2006
how did you solve no. 0x48, Alloc ram memory without any kind memory managment in dex4u ?
you solved the loading of modules pretty good without it, but have you never considered some simple MM ?
Dex- 05-29-2006
Note: MiniDOS is a realmode OS, it does not use any Dex4u code etc.
Its just done with 2 vars, we add the memory they want, if it busts, we send them the memory we have, if not we add it to used memory var,and send them that, very simple.
Your right about Dex4u and MM, but i have always planed on add a 64bit ver of Dex4u, and will add some form of MM there.
eg:
MiniDOS ;realmode
Kernel32 ;pmode
Kernel64 ; longmode
bubach- 05-29-2006
Ok, that makes it more clear.
I have a simple MM for memory above 1mb in BOS, the thing is the asm code isn't readable at all... ;) If i discovered a bug there, i would have to rewrite the whole thing.. :D
I wrote another one for memory below 1mb, that simply deals out memory in 1kb units and set a byte to 1 if it's used.
watse of space really, since it's a bytemap instead of a bitmap. atleast it's much easier to read and understand it.
Dex- 05-29-2006
I will have to take a look at your MM code for above 1mb 8), are you going to continue with BOS, when you have time ? and did you get very far with your fat12 driver ?.
Much easier to code HDD than FDD or ATAPI :wink: .
bubach- 05-29-2006
of course i'm going to continue on it. i'm missing it, but can't tell for sure when i'll be finished with my current webpage projects.. :(
i recoded the floppy driver completly (to get more knowledge, and becasue my modifications on your source didn't turn out so well..;)) now i'm only using your var names..
and a month or so ago (when i just felt i _had_ to do some asm programming) i got the root dir listing done, first real progress i have made on fat12.. :(
tell me if you understand any of my MM code, it's so many cmp's and jmp's my head starts spinning.. :D
tonyMac- 05-29-2006
hmmmm, using some phoenetic German, mixed with high english and a little luck, I think I can read Dutch. :lol: Having some linguistic talent is on my side!! :wink: You are correct, however, about babelfish. My friend wanted to say something inappropriate about my mother in German, and babelfish said she was a garden rake. :roll: :lol: MiniDOS is a great idea, if we can show some DOS compatability, we'll really be the cool kids on the block. 8)
Dex- 05-30-2006
It can run about 50% of the dos com file games i have tryed, but for now it can not do dos open, read, close file, so anything that needs to open file do not work, but this will be easy to add.
mike21091- 06-05-2006
Could You Point Me In The Right Direction For The Open Close And Read File Functions .
I Would Like To Implement That Into MDR .
Dex- 06-05-2006
At the moment MiniDOS uses the bootloader code to load file etc, it would be much better to write function to do this in the kernel using int 13h, then finding what the dos function needs to return for open, close, read etc and implementing it.
mike21091- 06-05-2006
Thanks , And At My Forum I Posted Some Screen Shots Of The ( Tiny Bit ) Of Work I've Done On MDR .
Also , The com File Fasm Produces Will Run Under Windows XP As An App , Just The dir Command Doesn't Work . But It Is Good For Testing Without Using An Emulator .