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

what is the top 3 lines in the changelog.txt ?

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt
2011.11.11: Ziron Compiler 1.1.27.6 -patched internal bug relating to pf function "FileEntry". -fixed ebp was actually epb (typo)

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

^ that version then should be latest.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

something wrong here , got access violation

function event_Data() {
  uses edi;
  boolean Flg = true;  
  
  if(Flg)
   {
      Ziron_ShowMessage(Ziron_GetStringValue());       
      return true;
   }
  else
   {   
      return false;                           // let Ziron handle the line  
   }  
}

function FileEntry(DWord handle; char* strCode)
{   
   eax = strOffset(strCode, '.DATA');
   while (char[eax] <> 0) {
      char[eax] = "_";
      eax = strOffset(eax, '.DATA');
   }
}

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

i have compiled this code and there is no access violation, are you sure it is this plugin causing the problem? what is your test file?

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt
program WIN32CUI 'Masm Syntax test';

#include 'console.zir';


.DATA  var      DB 64     

wait_key(nil);
ExitProcess(0);

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

then it should work, can you try compile exact code from post #[633] and see if still there is access violation?

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

still have it

PlugSys: Emit plugin has loaded! PlugSys: Masm plugin has loaded! -------------------------------------------- Access violation at address 003F3045 in module 'masm.dll'. Read of address 00000000

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