flat assembler
Message board for the users of flat assembler.
Index
> Main > Possible to create Memory State Saving and loading? |
Author |
|
vid 03 Jan 2004, 16:30
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
|
|||
03 Jan 2004, 16:30 |
|
Madis731 05 Jan 2004, 23:43
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 |
|||
05 Jan 2004, 23:43 |
|
vid 06 Jan 2004, 10:37
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).
|
|||
06 Jan 2004, 10:37 |
|
fasm9 08 Jan 2004, 01:50
i found this on daily rotation.
|
|||
08 Jan 2004, 01:50 |
|
Madis731 09 Jan 2004, 14:53
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!!! |
|||
09 Jan 2004, 14:53 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.