Changed the message in main
This commit is contained in:
parent
f2a2931174
commit
6960359367
@ -5,7 +5,7 @@ void _cdecl cstart_(uint16_t bootDrive)
|
|||||||
{
|
{
|
||||||
const char far* far_str = "far string";
|
const char far* far_str = "far string";
|
||||||
|
|
||||||
puts("Hello world from stage 2 of the bootloader written in C!\r\n");
|
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 %% %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 %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("Formatted %ld %lx %lld %llx\r\n", -100000000l, 0xdeadbeeful, 10200300400ll, 0xdeadbeeffeebdaedull);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user