flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
LocoDelAssembly
Quote:
To read and write files, you need to write your own code to deal with FAT file system and also use Int 0x13 read/write operations (or your own code to handle the hardware directly). Search the forum, there are some FAT code already besides FAT-capable OSes (although not sure how many of them provide the source without some sort of membership these days). |
|||
![]() |
|
nitt
LocoDelAssembly wrote:
Thanks, I'll be looking that up. I wish people would make more advanced tutorials. I started Assembly tutorials, made them as basic as possible, and went on to like 28 (enough tutorials to explain what I know). But it seems that no one else has the time to make video tutorials. I probably won't be able to figure this out for awhile unless someone provides source and explanation. Because I have a lot of more ambitious things to do than just sit on a computer and learn Assembly. |
|||
![]() |
|
addes3
Well, there's a great FAT12/FAT16 OS tutorial over at http://www.brokenthorn.com/Resources/OSDevIndex.html . I'm currently using this. There's also some great stuff at http://osdev.net.
|
|||
![]() |
|
smiddy
INT 21h is a PC/MS-DOS (originally) usage and would need to be written into your own OS to work. Otherwise you need to use BIOS calls and they are all over the place. Look up 'Ralf Brown's Interrupt List' and you can use those until you've got command of the hardware to use.
|
|||
![]() |
|
DOS386
nitt wrote: When I'm writing my OS, I can use any interrupt except for int 21h. Not correct. You can use only what BIOS gives you - INT $10, $13, $15 as the most important ones, and only from real mode. You can't use for example INT $21 (DOS), INT $2F (DOS more mess), INT $31 (DPMI), INT $33 (mouse driver), INT $60 to $67 (EMS VCPI PACKET ...). Quote: I couldn't figure out though, was how to read and write files without int 21h. Implement a filesystem (FAT, LPFS, NTSC, EXT, ...) ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.