Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Requests and Feedback

data section.

A community discussion post from the original code:zIRON forum.

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

can you open the log.txt file and paste the bottom output?

Colin admin
Posts
928
Threads
49
Location
Bulgaria

sorry i see you did before

PlugSys: Emit plugin has loaded!
PlugSys: Masm plugin has loaded!
[6,3]: Unknown Identifier "." in [testprg.zir]
Code: 
.DATA var DB 64

hmmm

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

ok , i have reinstalled it in new folder but the same error

here is the entire log file , run only one time

Ziron Compiler 1.1.27.6 Copyright (C) 2011. OverHertz Ltd. All rights reserved. -------------------------------------------- 11/12/2011 6:09:52 PM -------------------------------------------- Compile OK - 896 lines, 0.016 second(s) Link OK - 0 second(s) Build Complete - 0 second(s) -------------------------------------------- Press the [enter] key to exit. Ziron Compiler 1.1.27.6 Copyright (C) 2011. OverHertz Ltd. All rights reserved. -------------------------------------------- 11/12/2011 6:10:02 PM -------------------------------------------- PlugSys: Emit plugin has loaded! PlugSys: Masm plugin has loaded! [6,3]: Unknown Identifier "." in [testprg.zir] Code: .DATA var DB 64 -------------------------------------------- Press the [enter] key to exit.

the first one for masm.zir and the second for testprg.zir

http://www.freewebs.com/ogremagic/index.htm

Colin admin
Posts
928
Threads
49
Location
Bulgaria

what OS do you run? windows 7?

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

yes , windows7

http://www.freewebs.com/ogremagic/index.htm

Colin admin
Posts
928
Threads
49
Location
Bulgaria

ok, i'll fire up my win7 dev machine and try compile and run from there, but i don't think that could be a problem, but best to test, will let you know asap.

Colin admin
Posts
928
Threads
49
Location
Bulgaria

ok it seems to be a win7 issue, i'm guessing windows 7 has some restrictions on changing memory of another application, so probably to do with the char[eax] = "_" ....

you could try using the Ziron_SetFileBuffer, but you would need to dynamically create a buffer for the strCode, copying the code; you could try using strDup for that, then do the changes to your buffer and call SetFileBuffer.

Colin admin
Posts
928
Threads
49
Location
Bulgaria

disregard that last post, i'm going to look into what is the problem, actually the pointer to the buffer is not being passed at all, so it means something windows 7 does not like about ziron....i will fix it then let you know.