nctref/tests/mbr.nct
2023-08-27 19:48:06 +03:00

22 lines
260 B
Plaintext

@org(16r7C00);
u8* dest = 16rB8000;
u8* src = &string;
loop {
if(*src == 0) {
break;
}
*dest = *src;
dest = dest + 1;
*dest = "_";
dest = dest + 1;
src = src + 1;
}
loop {}
u8[19] string: "Hello from Nectar!\0";
@align(510);
u16 bootsig: 16rAA55;