flat assembler
Message board for the users of flat assembler.
Index
> DOS > file I/O |
Author |
|
Dex4u 13 Aug 2005, 15:23
Here is a example of file i/o http://members.tripod.com/~ladsoft/
Go to the "MSDOS demos" and then "File i/o", its not for fasm but should be easy to convert. also this http://www.cesis.lv/learn/asm/asm3.html |
|||
13 Aug 2005, 15:23 |
|
ly 19 Oct 2005, 20:10
hello
Is there file I/O interupt using BIOS (instead of DOS int 21h) ? If yes please show some demos for create,read,write,open,close and delete files. thanks ly |
|||
19 Oct 2005, 20:10 |
|
vid 19 Oct 2005, 20:15
|
|||
19 Oct 2005, 20:15 |
|
ly 19 Oct 2005, 20:39
thanks vid
BUT they are for DOS (int 21h) ,i'm looking for BIOS intrpts. ly |
|||
19 Oct 2005, 20:39 |
|
decard 19 Oct 2005, 21:00
AFAIR with BIOS only you can't work on files. You have a direct access to disk structure (sectors) with int 13h. You can find detailed description here. But if you want to access files, you'll have to write your own routines.
|
|||
19 Oct 2005, 21:00 |
|
vid 19 Oct 2005, 21:39
bios just doesn't support any fiesystems.
|
|||
19 Oct 2005, 21:39 |
|
Remy Vincent 20 Oct 2005, 12:01
ke11ey wrote: Hi, iv read a tutorial (some place) and now im just looking for file i/o stuff, Did search google but nothing i just need some example codes and a explanation how to write to files, how to create a simple text file? o and user input i just had basic in the tutorial like how to use the registers, making a message box, ect For me it's IMPOSSIBLE to program so hard programs directly in assembler, have you access to another language so you could translate your own C (not C++) programs to assembler, or your own Delphi programs (using "native" CreateWindow) to assembler or your own Ada programs to assembler ? Please be carefull because clever thinking process can't enter to a brain directly in assembler, you need to practice a little bit in your own usual language (and i don't want to know which one!!) and then to make final program in assembler. _________________ Groups lower your IQ |
|||
20 Oct 2005, 12:01 |
|
vid 20 Oct 2005, 17:18
so hard? if you mean file I/O than it is just as hard as in C (but you have cca 4 lines instead of 1)
Quote: clever thinking process can't enter to a brain directly in assembler |
|||
20 Oct 2005, 17:18 |
|
Remy Vincent 20 Oct 2005, 20:33
vid wrote: so hard? if you mean file I/O than it is just as hard as in C (but you have cca 4 lines instead of 1) I swear that "unstructured thinking" and talking i do, is all about music and sometomes movies etc. I swear it's true!!! that's why I talk directly about programming without saying things like "..."or "..."... I don't know where it comes from but that's how I am... But I remember that when I try a little bit of C and Ada 6 monthes ago, I remember that I was more about to do compting talks with more "..." and more "..."... may be Ada or C are pushing far away all music I have inside my head (disco, old rocks, pop... _________________ Groups lower your IQ |
|||
20 Oct 2005, 20:33 |
|
Remy Vincent 20 Oct 2005, 20:35
ave u similar "....." "..." nervous breakdown ??
|
|||
20 Oct 2005, 20:35 |
|
vid 21 Oct 2005, 10:08
you 've just over-argumented me
|
|||
21 Oct 2005, 10:08 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.