flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Two bugs in FASM and FASMW

Author
Thread Post new topic Reply to topic
oneo



Joined: 11 May 2006
Posts: 3
oneo
Hello!
I've started learning assembler and tried to compile FASMW.ASM using FASMW.EXE. Everything was OK. I’ve pressed F9 and compilation was successful. But when I tried to compile this file using FASM.EXE for Win32, it wrote

C:\FASM\SOURCE\IDE\FASMW\FASMW.ASM [3114]:
icon main_icon,main_icon_data,'resource\fasmw.ico'
C:\FASM\INCLUDE/macro/resource.inc [109] icon [5]:
file icon_file:6,16
error: file not found.

Also Windows sad that it’s not enough virtual memory. I’m using WinXP Pro SP2. What it can be?

And the second bug. I’ve translated FASMW.ASM into Russian, but Cyrillic symbols doesn’t displayed correctly. I’ve changed all ENGLISH_ CHARSET to RUSSIAN_CHARSET and all LANG_ENGLISH to LANG_RUSSIAN. I even changed ‘040904E4’ to ‘041904E3’ in RESOURCE.INC, but it didn’t help. All messages are displayed correctly, but all text in .rsrc section doesn’t. How can I use Cyrillic in the .rsrc section?
Post 11 May 2006, 13:04
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17260
Location: In your JS exploiting you and your system
revolution
Quote:
But when I tried to compile this file using FASM.EXE for Win32 ...
Works for me, but your must have your current directory the same as the fasmw directory. How much ram do you have?

As for the second 'bug', I can't help you help you with that, but it may be something to do with unicode/ascii. FASM is an ascii application.
Post 11 May 2006, 14:25
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7718
Location: Kraków, Poland
Tomasz Grysztar
You have to include the proper encoding header, see the Win32 headers documentation.
Post 11 May 2006, 14:53
View user's profile Send private message Visit poster's website Reply with quote
oneo



Joined: 11 May 2006
Posts: 3
oneo
Thanx for your replyes! I'll try.
My PC has 1GB of RAM (but the swap file is disabled)


Last edited by oneo on 11 May 2006, 17:25; edited 1 time in total
Post 11 May 2006, 17:13
View user's profile Send private message Reply with quote
oneo



Joined: 11 May 2006
Posts: 3
oneo
Quote:
FASM is an ascii application.
So maybe there is a reason to make two versions of FASM - ASCII and Unicode?
Post 11 May 2006, 17:23
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-2020, Tomasz Grysztar.

Powered by rwasa.