flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3 |
Author |
|
l_inc 04 Aug 2014, 13:13
smiddy wrote: I think if you search hard enough on here, someone has left a CDROM iso image that can be used for what he wants I have a set of macros for creating bootable floppy and ISO-images. In the simplest case one would be able to compile an ISO-image with the following code: Code: format binary as "iso" include 'eltorito.inc' macro bootcode { jmp 0:configure configure: xor ax,ax mov ds,ax mov es,ax cli mov ss,ax mov sp,7c00h sti mov ax,1300h mov bx,000Ah xor dx,dx mov cx,message.end-message call message.end message db 'Hello. I am your OS.' .end: pop bp int 10h @@: hlt jmp @B } iso_image bootcode endii If there's a need to create a file/directory structure, one may use more advanced macro sets instead: "iso9660.inc" or "joliet.inc" . The tree definition syntax is pretty much the same as here. The relevant include files are attached.
_________________ Faith is a superposition of knowledge and fallacy |
|||||||||||||||||||||||||||||||
![]() |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.