This code was captured from Gundam 0083!

This forum is for actual topics of discussion that do not fit the above categories.
Locked
danielwang
Village Idiot
Joined: Fri May 03, 2002 12:17 am
Location: Denver, CO Banned: Several times!
Contact:
Org Profile

This code was captured from Gundam 0083!

Post by danielwang » Tue Jul 15, 2003 1:35 am

Nina's C++ syntax is certainly slacking...
either that, or it's open source from MIT.

Yes, I do take notes on anime.
See: http://www.animemusicvideos.org/phpBB/v ... hp?t=17423

Code: Select all

/* [ From Gundam 0083, Episode 6 ]
 * Edited for syntax. Some errors were preserved.
 *
 * Note: In the original anime, lines may contain "unsigned int far" (sic).
 */

char *env_buffer;
unsigned int env_size;
int namelen, program_name_len;
char input_buffer(256);
char program_buffer(256);

/* get int22 interrupt data */
?*'(unsigned int for *)MK_PP(0, 0x22 * 4 + 2) = 1;

/* check it is equal to int2e interrupt data */
if (i == *(unsigned int for *)MK_FP(0, 0x2e * 4 + 2) - 1) {

/* mother command.com */
i += *(unsigned int for *)MK_FP(i, 3) + 1;
}

else {
/* child command.com */
i = *(unsigned int for *)MK_FP(i+1,0x2e)=1;
}
Command.com? That sounds like Windows...
<a href="http://www.animetheory.com/" title="AnimeTheory" class="gensmall">AnimeTheory.</a>
<a href="http://www.animemusicvideos.org/search/ ... %20park%22" title="Seach videos NOT by danielwang" class="gen">Make sure you don't download videos that suck!</a>

User avatar
kthulhu
Joined: Thu May 30, 2002 6:01 pm
Location: At the pony stable, brushing the pretty ponies
Org Profile

Post by kthulhu » Tue Jul 15, 2003 1:37 am

COMMAND.COM is more DOS than Windows.
I'm out...

danielwang
Village Idiot
Joined: Fri May 03, 2002 12:17 am
Location: Denver, CO Banned: Several times!
Contact:
Org Profile

Post by danielwang » Tue Jul 15, 2003 2:15 am

According to the MechWarrior game rules, BattleMechs incur heat damage upon certain actions and "will automatically shut down when the 'Mech's components decide it is too hot to safely operate"

Problem solved. Here's an easy way to bypass that!

Code: Select all

Last login: Mon Apr 28 17:55:31 from ttyp1
Scum Microsystems, Inc. ScumOS 9.3   Generic Patch     October 0083CE
                Welcome to Miguel V5 BattleMech
root@battlemech:~# echo "0" > /dev/mech/powerbus/sensor.heat
root@battlemech:~# rm -r -f /dev/mech/powerbus/sensor.heat
root@battlemech:~# symlink /dev/mech/powerbus/sensor.heat /dev/null
root@battlemech:~# alias shutdown > vi
root@battlemech:~# init -f 5 -w 5
root@battlemech:~# alias init > vi
Using Mac and your BattleMech shuts down when it overheats?
Open up Firmware Update, System Update, or even Mail...
Mac OS X wrote: The application Mail canceled logout.[/n]
Quit the application first, then try logging out again.
To force quit an application, press Command Shift Q


With Windows, you just hit cancel or (console) type shutdown -a now
But, don't want to get message boxes as well? Login as another user
without the right to shutdown the box.
Windows wrote: System error 5 has occured.
The operation could not be completed because you do not have the required access priveleges.
<a href="http://www.animetheory.com/" title="AnimeTheory" class="gensmall">AnimeTheory.</a>
<a href="http://www.animemusicvideos.org/search/ ... %20park%22" title="Seach videos NOT by danielwang" class="gen">Make sure you don't download videos that suck!</a>

Locked

Return to “General Off Topic”