Changed the message in main

This commit is contained in:
Vincenzo Aleksey Brocato 2024-09-07 20:39:49 +02:00 committed by VinceAle7082
parent 72537fb9ec
commit 29739db656

View File

@ -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);