flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > problem with bootloader |
Author |
|
Dex4u 08 Jan 2006, 19:18
Have you tryed "bootprog" it will load a com or mz exe or bin file from a fat12 formated floppy.
You can get it here: http://alexfru.chat.ru/epm.html#bootprog PS: I have a 286 laptop, most things will not work as the video seg=B000h, may be this is your problem Try this, just as a test: Code: ;************************************; \\|//; (@ @); ASHLEY4.; Put vesatest.bin on boot sector; with rawrite.; Assemble with fasm; c:\fasm test.asm test.bin;;************************************org 0x7C00use16;****************************; Realmode startup code.;****************************start: xor ax,ax mov ds,ax mov es,ax mov ss,ax mov sp,0x7C00 mov ax,0xB000 mov es,ax lea si,[msg0] mov di,(80 * 1 + 2) * 2 mov cx,52 cld rep movsb jmp $ ;*************************************; Data.;*************************************color dd 0 msg0 db " V E S A M O D E N O T S U P P O R T E D ! " ;*************************************; Make program 510 byte's + 0xaa55;*************************************times 510- ($-start) db 0 dw 0xaa55 NOTE: The spacers in the letters are needed. |
|||
08 Jan 2006, 19:18 |
|
DC740 08 Jan 2006, 23:10
nop, it doesn't work, but thank you for your link, this bootloader works!! i was losing my hopes on the 286 hehehe
thanx a lot! |
|||
08 Jan 2006, 23:10 |
|
Dex4u 09 Jan 2006, 02:04
Your welcome, One out of two ain't bad, that all most a meatloaf song .
|
|||
09 Jan 2006, 02:04 |
|
RedGhost 09 Jan 2006, 02:20
Dex4u wrote: Your welcome, One out of two ain't bad, that all most a meatloaf song . haha i happen to be listening to the album "bat out of hell" _________________ redghost.ca |
|||
09 Jan 2006, 02:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.