Running files
RE:grow up
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
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
RE:grow up
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!
And thanks for the toupper!
Final comment
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?)
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?)