flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Fagotus
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? |
|||
![]() |
|
DennisCGc
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. |
|||
![]() |
|
SPTH
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, ... |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.