flat assembler
Message board for the users of flat assembler.

Index > Heap > HELP URGENT [edit:not urgent anymore]

Author
Thread Post new topic Reply to topic
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Ok, I was debugging a program in debug and accidently typed w instead of q to quit. It said 'writing 8 bytes'. WHERE DID IT WRITE TO?? DID IT OVERWRITE ANYTHING IMPORTANT???

_________________
----> * <---- My star, won HERE


Last edited by windwakr on 28 Jul 2008, 23:06; edited 1 time in total
Post 28 Jul 2008, 21:00
View user's profile Send private message Reply with quote
AxelDominatoR



Joined: 11 Aug 2004
Posts: 12
AxelDominatoR
W is used to write directly to hard disk, using sector numbers. You can find some useful info here:

http://mirror.href.com/thestarman/asm/debug/debug2.htm#W

In brief, 8 bytes may have been written to a random location on your hard drive.
Post 28 Jul 2008, 21:46
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Well, It doesn't seem to have caused any damage luckily. Is there any way to disable the write command?

EDIT: Ok, I booted up freedos in virtual pc to fool around with debug and found out that 'write' with no arguments just overwrites the file you're debugging. I'm going to assume dos debug does the same thing.
Post 28 Jul 2008, 22:35
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.