Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / News

Ziron 2

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

Ziron 2

Over the next few month i plan to begin re-writing the ziron assembler/compiler (source has become difficult to maintain, want to make it 10x better internally), so before i begin i want to ask for suggestions/ideas.

if you have ideas for the plugin framework, what functions you would like added, and any other ideas, please let me know.

note: i will continue to maintain version 1, until Ziron 2 is fully compatible

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

I thought I'd just give a brief update of the progress... I began real development on Ziron 2 approx. 2 weeks ago, I have put many hours into getting it up and running.

So what is completed and todo!

  • Assembler Core - Complete
  • Syntax Parser - Complete
  • Plugin System - Complete
  • High Level Features - 1%
  • PE Executable - 40%
  • COFF Object - 15%
  • Raw Binary - 0%
  • x86 OPCODES (full) - 68%
  • UTF-8, UTF-16 Support - Complete

Right now none of the high level functionality is added, very minimal support for consts, no defines or includes or anything of the such, just a pure small assembler right now. Once i complete the PE Executable i will begin to re-add some of the features of Ziron 1 and hopefully have an alpha release in the coming weeks.

I expect to have the whole x86 opcodes added and without bugs, Ziron 1 design was flawed and made things complex, making testing of opcodes a difficult task. No longer with Ziron 2.

In a future release i would like also to allow disassembly into Ziron syntax. (This is a very low priority idea)

Some of the higher priority things are x64 opcodes/support, ARM, and others.

Any questions? Just ask.

-Colin

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

good to hear this news. well done Mr Colin.

ofcourse after Ziron2 will catch Ziron1,here are some extra features we need it.

- including Obj file and static Libs.
- supporting c++ classes for using already maded classes.    
- syntax is more close to c language.

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

Colin admin
Posts
928
Threads
49
Location
Bulgaria

a sneak peek at progress, i so far have all or most of the lower level assembler functioning and some of the higher level stuff.

program PE32_CUI 'my app';

#include 'win_def.zir';

#set frame 0;
procedure ShowMessageW(wchar* title, msg) {
	push 0
	push title
	push msg
	push 0
	call MessageBoxW
	retn
}

procedure ShowMessageA(char* title, msg) {
	push 0
	push title
	push msg
	push 0
	call MessageBox
	retn
}
#set frame 1;

push "こんにちは世界"
push "通知"
call ShowMessageW

push "Здравей, Свят!"
push "Собщение"
call ShowMessageW

push 'Hello, World!'
push 'Message'
call ShowMessageA

push 0
call ExitProcess

I hope to have an alpha very shortly, i will keep you informed.

jackel member
Posts
19
Threads
6
Location
Unknown

Alright mate, i like the look of v2 awesome stuff , all the best with your work & i will look forward to using ziron v2 when release day comes :D

Regards

jack

;-)

jack.

Colin admin
Posts
928
Threads
49
Location
Bulgaria

since i just finished the high level function caller, might aswell make the above code shorter :)

program PE32_CUI 'my app';

#include 'win_def.zir';

#set frame on;
procedure ShowMessageW(wchar* title, msg) {
	MessageBoxW(0, msg, title, 0);
}

procedure ShowMessageA(char* title, msg) {
	MessageBox(0, msg, title, 0);
}
#set frame off;

ShowMessageA('Message', 'Hello, World!'); 
ShowMessageW("通知", "こんにちは世界");
ShowMessageW("Собщение", "Здравей, Свят!");

ExitProcess(0);
jackel member
Posts
19
Threads
6
Location
Unknown

Nice One Mate, thx again

Regards

jack.

;)

jack.