Running files

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Veulnet

RE:grow up

Post by Veulnet »

And where did groovyos got it from then? Yes, MinitOS...
carbonBased

RE:grow up

Post by carbonBased »

Fudged stack frame, usually.

But why are you returning with an iret, anyway?

As per toupper()... how're you using it?
for(i = 0; i < lengthOfString; i++) myString[i] = toupper(myString[i]);

And if you wrote it, it should look similar to this:

int toupper(int c) {
  if(c >= 'a') c -= ('a' - 'A');
  return c;
}

Cheers,
Jeff
Veulnet

RE:grow up

Post by Veulnet »

We end if an iret because we didn't wrote the program, but could anyone give a good code or give some help (because that was the question) for running a file in an os?

And thanks for the toupper!
St8ic

Final comment

Post by St8ic »

Gyarnoc and Veulnet,

Both Cabonbased and I gave you good advice on your "issue". Either download the file I pointed you to (I swear to god, it has EXACTLY what you're trying to do), or take CarbonBased's advice and learn how to use Int 0x13 (BIOS disk functions). If you want more hand-holding then this, try another forum.

Just accept these solutions or admit that you're out of your league. But please just let this thread die!

(P.S. What's with Dumbass101? Is he your friend or something?)
Veulnet

RE:Final comment

Post by Veulnet »

Don't know who he is....
Post Reply