23 lines
261 B
Plaintext
23 lines
261 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;
|