Author Topic: New Solar Assembler version released/updated  (Read 6742 times)

BogdanOntanu

  • Global Moderator
  • Member
  • *****
  • Posts: 62
    • Solar_OS, Solar_Asm and HE RTS Game
New Solar Assembler version released/updated
« on: October 31, 2012, 08:50:58 AM »
Hi all,

I have released a new version of Sol_Asm here:
http://www.oby.ro/sol_asm/files/sol_asm_2012_10_30_v36_10.zip

Mainly 64 bits encodings bug fixes, a few missing 64 bits features have been added and then some more bugs fixing.

The license is free to use for commercial or non commercial purposes but it is not open source ;)
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4925
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: New Solar Assembler version released/updated
« Reply #1 on: November 02, 2012, 04:54:19 AM »
This is looking good Bogdan, I built the 32 bit examples and they all work fine. Assembler appears to be fast as well.  :t
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

BogdanOntanu

  • Global Moderator
  • Member
  • *****
  • Posts: 62
    • Solar_OS, Solar_Asm and HE RTS Game
Re: New Solar Assembler version released/updated
« Reply #2 on: November 02, 2012, 09:54:59 AM »
Thanks Hutch ;)
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

wjr

  • Member
  • **
  • Posts: 185
    • WJR's website
Re: New Solar Assembler version released/updated
« Reply #3 on: November 05, 2012, 07:30:43 AM »
For the Win64 samples, although they run, the IMAGE_OPTIONAL_HEADER data directory for the EXPORT Table should have 0 for RVA and Size, but other wrong values are being placed there instead.

BogdanOntanu

  • Global Moderator
  • Member
  • *****
  • Posts: 62
    • Solar_OS, Solar_Asm and HE RTS Game
Re: New Solar Assembler version released/updated
« Reply #4 on: November 05, 2012, 07:59:15 AM »
For the Win64 samples, although they run, the IMAGE_OPTIONAL_HEADER data directory for the EXPORT Table should have 0 for RVA and Size, but other wrong values are being placed there instead.

Thanks for reporting this wjr.

Fixing it as we speak ;)
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

BogdanOntanu

  • Global Moderator
  • Member
  • *****
  • Posts: 62
    • Solar_OS, Solar_Asm and HE RTS Game
Re: New Solar Assembler version released/updated
« Reply #5 on: November 06, 2012, 07:01:04 AM »
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

wjr

  • Member
  • **
  • Posts: 185
    • WJR's website
Re: New Solar Assembler version released/updated
« Reply #6 on: November 14, 2012, 11:09:54 AM »
In the IMAGE_OPTIONAL_HEADER data directory for the BASE RELOCATION Table, the Size value is a bit larger than it should be. This table is only present in the 32-bit DLL sample as expected, but is always there for the 64-bit EXE samples (generally wouldn't be, unless the /DYNAMICBASE option was used which also sets the IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE flag).

BogdanOntanu

  • Global Moderator
  • Member
  • *****
  • Posts: 62
    • Solar_OS, Solar_Asm and HE RTS Game
Re: New Solar Assembler version released/updated
« Reply #7 on: November 15, 2012, 05:58:12 AM »
Hi wjr,

Thank you for testing and for information.

I will investigate and fix those issues fast ;)
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

BogdanOntanu

  • Global Moderator
  • Member
  • *****
  • Posts: 62
    • Solar_OS, Solar_Asm and HE RTS Game
Re: New Solar Assembler version released/updated
« Reply #8 on: November 15, 2012, 09:53:46 AM »
BTW...

If you comment out the relocation section like this:
Code: [Select]
; section "reloc" class_relocs

Then the relocation directory is removed  from the PE64 .exe files.
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

wjr

  • Member
  • **
  • Posts: 185
    • WJR's website
Re: New Solar Assembler version released/updated
« Reply #9 on: November 17, 2012, 06:53:20 AM »
A re-source-ful quick fix for that one. Another one though... on the 64-bit side, in the IMAGE_OPTIONAL_HEADER for Major/Minor Image Version, this is really for the application itself (often left at 0000 0000), and shouldn't be the same as the OS or Subsystem Version.

BogdanOntanu

  • Global Moderator
  • Member
  • *****
  • Posts: 62
    • Solar_OS, Solar_Asm and HE RTS Game
Re: New Solar Assembler version released/updated
« Reply #10 on: November 17, 2012, 06:58:20 AM »
Again thanks for the information and checking / testing. I will fix this also.

I will probably add an option to allow users to setup those minor/major values values as they see fit ;)

And I will also add an /dynamic-base option as needed.
Ambition is a lame excuse for the ones not brave enough to be lazy, www.oby.ro

GoneFishing

  • Member
  • ****
  • Posts: 967
  • Gone fishing
Re: New Solar Assembler version released/updated
« Reply #11 on: January 07, 2015, 09:23:03 AM »
Does anybody have the latest released version of sol_asm (sol_asm_2012_10_30_v36_12.zip)?
BTW compare the date of initial post of this thread and the record at the bottom of forum's index page:
Quote
...   Most Online Ever: 248 (October 31, 2012, 11:10:46 PM)

;-)