Register | Login
Forum Index > News > Ziron 2 - development has resumed
Author Message
Pages: 1 2
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1410] Ziron 2 - development has resumed - posted: 2014-11-17 22:53:56
Ziron 2 has resumed development after the long interruption, at this moment PE32P (64-bit) executable files are supported by the updated linker.dll and there is a very very primitive support for 64-bit instructions.

I hope to get most of the instruction set supporting 64-bit as soon as possible and get the update out!

I will continue to post updates occasionally on development status.

-Colin

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1411] - posted: 2014-12-01 19:21:43
Hi Mr Colin.

nice to see you again after a long time.

can you speed the rate of developing ziron.

i still prefer implement reg as a param in procedure and function
for example
Code:
procedure dump_mem(pointer mem; DWord len) {
   uses edi;
   edx = mem;  
   ecx = len;
   eax = 0;
   repeat {
  al = [edx];
  print([dword]eax, ' ');
  edx++;
  ecx--;
   } until (ecx == 0);
   print('\r\n');
}

can be like this
Code:
procedure dump_mem(edx , ecx) {
   uses edi;
   eax = 0;
   repeat {
  al = [edx];
  print([dword]eax, ' ');
  edx++;
  ecx--;
   } until (ecx == 0);
   print('\r\n');
}


so when calling dump_mem like this
Code:
lab:
   mov eax , 10
   ......
   .......etc
   dump_mem(@lab , 20); // @lab is address of memory , 20 is the length  

will be
Code:
   edx = @lab;  
   ecx = 20;
   call  dump_mem


it will be fast and optimized method.

what do you think?

also i think there is a bug , try this
Code:
program PE32_CUI 'my second application';

#include 'win_def.zir';
#include 'console.zir';


  goto eee
  
fff:
   eax = 10;
   ret 
   
eee:
   call fff 
   print([dword]eax); 
   
wait_key();
ExitProcess(0);


http://www.freewebs.com/ogremagic/index.htm
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1412] - posted: 2014-12-03 21:10:56

hi , any body here?

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

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1413] - posted: 2014-12-04 04:04:15
Hi Emil,

I will add it to my list, but my list is long.

As for your bug, can you try rent instead of ret, or use return and let me know.

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1414] - posted: 2014-12-04 17:15:57
Hi Colin,

only retn works well , but ret & return did not compile at all.

i think , all of the three instruction must wrok okay.

http://www.freewebs.com/ogremagic/index.htm
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1415] - posted: 2014-12-04 17:19:18

Oh...

after compiling the program crash when run it.

http://www.freewebs.com/ogremagic/index.htm
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1416] - posted: 2014-12-04 18:11:19

also , how to get the address of label

see that
Code:
Lab:
   eax = lab;


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

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1417] - posted: 2014-12-04 18:46:19
Hi Emil,

ret and return both take 1 param. (i will look into correcting this)

Code:
fff:
   return 10;


try the address operator "@", let me know if this does not work.

e.g. eax = @lab

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Pages: 1 2
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 4 user(s) online. 0 member(s) and 4 guest(s)
Most users ever online was 1046, January 28, 2022, 2:08 pm.


Statistics:
Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51
Welcome to our newest member, yecate
const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd