flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid
why, this is usualy done. Just open file, write the N bytes from position X to hdd and close file handle. Or did you meant it without using OS? THne you have to have some hdd driver
|
|||
![]() |
|
Madis731
It isn't just that easy
99% of memory addresses give errors even when NOT writing to them. I'm using Win2000 and when I tried to copy &200000-&200400 or about 1KB to dat.txt, then my program ran tgether and DrWatson said that memory was accessed illegally. ![]() I have 256MB of RAM so the values should be legal, but I have tried starting from 1 and I wasn't lucky even in &FFFFFFF |
|||
![]() |
|
vid
of course, protected mode, you can only access memory allocated for your process. You can't modify or even read memory of other processes (so easily).
|
|||
![]() |
|
fasm9
i found this on daily rotation.
|
|||
![]() |
|
Madis731
It's written in MASM. I can live with that, but why does it use so much calls???
I have seen programs capable of saving few megs per second. With this I got ~128KB/s. The calls take clocks!!! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.