flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > Function 58 - run programms |
Author |
|
Fagotus 26 Jul 2004, 05:09
Oh, and another quastion
how can i read data from file - string one to integer1 - string two to integer2 ??? I know how to open file and put data to memory, but others? |
|||
26 Jul 2004, 05:09 |
|
DennisCGc 26 Jul 2004, 11:00
Fagotus wrote: Hi everyone! The path isn't an integer, but a string..... API reference wrote: fileinfo: According to this, it SHOULD work See this for more information : http://www.menuetos.org/www/eng/sysfuncs.txt HTH. |
|||
26 Jul 2004, 11:00 |
|
SPTH 27 Jul 2004, 05:50
Fagotus wrote:
Maybe you have the same problem as me! check out is that one works: Code: mov eax, 58 mov ebx, fileinfo int 0x40 fileinfo: dd 0 ; 0=READ (delete/append) dd 0x0 ; 512 block to read 0+ dd 0x16 ; blocks to read (/bytes to write/append) dd 0x20000 ; return data pointer dd 0x10000 ; work area for os - 16384 bytes db '/HARDDISK/FIRST',0 ; ASCIIZ dir & filename then you check the values at 0x20000 (for instands via a text-box), if there are strange signs, you also have 'my' bug greets, ... |
|||
27 Jul 2004, 05:50 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.