/* Wire CPU Basic Boot Strapper This thing asks the user where to load the code (what offset in "memory"), and loads it from there. small, simple, to the point. The choice is probably the most complex part. */ main() { /* main Function: The main thing that starts everything. Takes: Nothing Returns: Nothing */ /* Some variables. */ int offset // The offset to boot from. /* Now it beings. */ offset = 1060864; // The default offset to boot from. printf("Enter offset or nothing for default.\n"); scanf("%i",offset); // I didn't do this right I don't think. printf("Booting from %i...\n",offset); /* And then it does other things. */ }