Add back long string
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
|
|
||||||
// char* longstring = \
|
char* longstring = \
|
||||||
// "This is a very long string that is meant to test the loader.\
|
"This is a very long string that is meant to test the loader.\
|
||||||
// We can only load one cluster so far, which means 8 sectors of\
|
We can only load one cluster so far, which means 8 sectors of\
|
||||||
// 512bytes, or a total of 4k. If there was any more data than this,\
|
512bytes, or a total of 4k. If there was any more data than this,\
|
||||||
// then we would have to traverse the fat to find the next cluster number.\
|
then we would have to traverse the fat to find the next cluster number.\
|
||||||
// This may not be that difficult, but the file will need to be large\
|
This may not be that difficult, but the file will need to be large\
|
||||||
// enough to actually stretch that far. The kernel will probably be\
|
enough to actually stretch that far. The kernel will probably be\
|
||||||
// that big in the future, but for now when it doesnt really do anything\
|
that big in the future, but for now when it doesnt really do anything\
|
||||||
// then it can't really be tested.";
|
then it can't really be tested.";
|
||||||
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
@@ -19,7 +19,7 @@ int main() {
|
|||||||
cprintf("Val: %d\n", val);
|
cprintf("Val: %d\n", val);
|
||||||
cprintf("%s", string);
|
cprintf("%s", string);
|
||||||
|
|
||||||
// cprintf("Here is a long string: %s\n", longstring);
|
cprintf("Here is a long string: %s\n", longstring);
|
||||||
|
|
||||||
while(1);
|
while(1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user