[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to make my program a bootable lilo image?



Hi,

I have a simple assembly program:

/* show.s */
begin:
movb $9,%ah
movb '*',%al
movb $0,%bh
movb $7,%bl
movw $10,%cx
int $0x10
jmp begin

I want to make it a bootable lilo image, so I tryed
$ gcc -c show.s
$ ld show.o -b binary -e 0 -o show.bin
then I add show.bin as a lilo image, but it can't be load and run.

How to make it a good lilo image?

Thanks,

Tao



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: