hello sir mabdelouahab;
Congratulations.
Compiled lasm don't run in my machine because error below:
./lasm: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./lasm)
Version in my machine is below.
So, when I was assembling I receive some errors, I don't know whats ".ifline" do but I commented that lines to be able to assemble:
Projects.inc(41) : Error A2210: Syntax error: .ifline
Next step was install dev to vte and gtksourceview to be able to compile.
Now it runs, I receive some errors in terminal:
(lasm:11704): GLib-GObject-CRITICAL **: 21:03:19.127: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(lasm:11704): GLib-CRITICAL **: 21:04:18.222: g_key_file_set_string: assertion 'string != NULL' failed
But ok, I can check these things.
With lasm running I was able to assemble and compile lasm again by using IDE. Congrats.
I don't played before with vte and gtksourceview, so, I need time to digest that code.
I can sugest a thing:
I perceive that you have inserted user interface xml (glade) files inside source code. If I need touch that xml I need remove that from code and insert again, this can create some confusion. This is true in the case of icons or others datas. Will be better if xml/icons/... files stay outside code.
In your code:
invoke gtk_builder_add_from_string, GGtkBuilder,addr MainWindowInterface ,-1,addr _err
;invoke gtk_builder_add_from_file , GGtkBuilder,str$("UASMIde1.glade"),addr _err
I'm suggesting a macro:
file macro name,filename,filesize
align 16
name label qword
incbin <filename>
filesize equ $-name
endm
So, we can insert any file like:
.data
file GGtkBuilder,UASMIde1.glade,sz_GGtkBuilder
And call that in code like:
.code
invoke gtk_builder_add_from_string, GGtkBuilder,addr MainWindowInterface ,sz_GGtkBuilder,addr _err
I need time to digest code, but looks a great project.
