Hello world from printf!
This commit is contained in:
parent
42c5016e57
commit
cb9c591976
@ -5,9 +5,7 @@ void _cdecl cstart_(uint16_t bootDrive)
|
||||
{
|
||||
const char far* far_str = "far string";
|
||||
|
||||
puts("Hello world from the stage 2 of the bootloader written in C!\r\n");
|
||||
printf("Formatted %% %c %s %ls\r\n", 'a', "string", far_str);
|
||||
printf("Formatted %d %i %x %p %o %hd %hi %hhu %hhd\r\n", 1234, -5678, 0xdead, 0xbeef, 012345, (short)27, (short)-42, (unsigned char)20, (signed char)-10);
|
||||
printf("Formatted %ld %lx %lld %llx\r\n", -100000000l, 0xdeadbeeful, 10200300400ll, 0xdeadbeeffeebdaedull);
|
||||
printf("Hello world from printf!");
|
||||
for (;;);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user