flat assembler
Message board for the users of flat assembler.

Index > IDE Development > FASMW doesn't read entire DOS files

Author
Thread Post new topic Reply to topic
vhanla



Joined: 20 May 2004
Posts: 30
Location: Peru
vhanla 06 Jul 2004, 23:03
I was opening some source codes, and found that FASMW can't read a file
entirely, it breaks the file when it contains a lot of [space]s in a file.

I don't know why, but I can't open a file entirely, the only trick I use is to open EDIT from windows and edit the file.[asm] that contains that problem, and i erase that part. i save it and FASMW opens it entirely, But, don't you think doing is an annoying thing?

If not, just Try to do it everytime you open a new file....



Any comments?

Twisted Evil Question Rolling Eyes Arrow Cool

_________________
I'm just trying to start, help me!!!
Post 06 Jul 2004, 23:03
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 07 Jul 2004, 00:03
Can you attach such file please?

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 07 Jul 2004, 00:03
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Frank



Joined: 17 Jun 2003
Posts: 100
Frank 07 Jul 2004, 01:00
comrade wrote:
Can you attach such file please?


It's not difficult to produce one ... Very Happy


Description: A file containing lots of blanks, and some text at the very end.
Download
Filename: spaces.asm
Filesize: 3.63 KB
Downloaded: 689 Time(s)

Post 07 Jul 2004, 01:00
View user's profile Send private message Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 07 Jul 2004, 12:30
Fasmw has a limit of 255 chars per line. This is because for assembly source files it is enough.

Privalov, please correct me if I'm wrong.
Post 07 Jul 2004, 12:30
View user's profile Send private message Yahoo Messenger Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 07 Jul 2004, 16:35
It is sometimes not enough, and I've hit that limit in FASMW several times. It is quite annoying. I have tried modifying ASMEDIT sources to allow longer lines, but have broken undo/redo functionality while doing that. I don't think its a priority for Privalov to update ASMEDIT.

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 07 Jul 2004, 16:35
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 15 Jul 2004, 14:53
I'm working on it.
Post 15 Jul 2004, 14:53
View user's profile Send private message Visit poster's website Reply with quote
i-don



Joined: 18 Jul 2003
Posts: 66
i-don 16 Jul 2004, 16:51
I've noticed the breaking text content in FASMW ide is easily to replicate when you joined to text file using DOS COPY command like this one:

Code:
copy file1.txt + file2.txt fileA.txt
    


The result in fileA.txt has CTRL+Z in between them. Open it using FASMW ide, you only got the first file content. If you open the same file using Notepad, you'll see both file separated by a black square character.

CTRL+Z or ^Z or &H1A (ooops, thats a VB hex), or 01Ah usually the cause for some richedit based ide cannot load the other part of the files and understand it as EOF(end-of-file) characters. I read about how to fix it somewhere in the net by adding additional styles to richedit character handling. Can't remember whas style it was.

Hope this info would helps,

i-don.
Post 16 Jul 2004, 16:51
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 cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.