43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
|
|
#include <stdbool.h>
|
|
|
|
extern void main();
|
|
|
|
void _start() {
|
|
__asm
|
|
.db 0x80, 0x0F
|
|
.db 0, 0, 0, 0
|
|
|
|
.db 0x80, 0x12
|
|
.db 0x01,0x04
|
|
|
|
.db 0x80, 0x21
|
|
.db 1
|
|
.db 0x80, 0x31
|
|
.db 1
|
|
.db 0x80, 0x48
|
|
.db 75, 97, 109, 105, 108, 97, 32, 32
|
|
.db 0x80, 0x81
|
|
.db 1
|
|
.db 0x80, 0x90
|
|
.db 0x03, 0x26, 0x09, 0x04, 0x04, 0x6f, 0x1b, 0x80
|
|
.db 0x02, 0x0d, 0x40, 0xa1, 0x6b, 0x99, 0xf6, 0x59, 0xbc, 0x67
|
|
.db 0xf5, 0x85, 0x9c, 0x09, 0x6c, 0x0f, 0xb4, 0x03, 0x9b, 0xc9
|
|
.db 0x03, 0x32, 0x2c, 0xe0, 0x03, 0x20, 0xe3, 0x2c, 0xf4, 0x2d
|
|
.db 0x73, 0xb4, 0x27, 0xc4, 0xa0, 0x72, 0x54, 0xb9, 0xea, 0x7c
|
|
.db 0x3b, 0xaa, 0x16, 0xf6, 0x77, 0x83, 0x7a, 0xee, 0x1a, 0xd4
|
|
.db 0x42, 0x4c, 0x6b, 0x8b, 0x13, 0x1f, 0xbb, 0x93, 0x8b, 0xfc
|
|
.db 0x19, 0x1c, 0x3c, 0xec, 0x4d, 0xe5, 0x75
|
|
.db 0x80, 0x7f
|
|
.db 0, 0, 0, 0
|
|
.db 0, 0, 0, 0
|
|
.db 0, 0, 0, 0
|
|
.db 0, 0, 0, 0
|
|
.db 0, 0, 0
|
|
__endasm;
|
|
main();
|
|
__asm
|
|
rst 0x28;
|
|
.dw 0x4027;
|
|
__endasm;
|
|
} |