Author Topic: Jwasm 13 debugging source mode in 64 bits  (Read 4682 times)

habran

  • Member
  • *****
  • Posts: 1058
    • uasm
Re: Jwasm 13 debugging source mode in 64 bits
« Reply #30 on: May 09, 2016, 01:23:56 PM »
I succeeded to build 32 bit with OpenWatcom.
I used again Code:Blocks but chose  OpenWatcom 32 compiler
As far as I tested it works fine in both 32 and 64 bit
The only problem in 64 is it rejects: real8  2.22e-308 ;rejected by ml + jwasm ( since v2.11 )
I could have changed it in watcom headers but I don't want to do that because for x64 build we will still use MSVS
I really have to mention that the Code:Blocks is an excellent tool :t
« Last Edit: May 09, 2016, 03:20:20 PM by habran »
Cod-Father

TWell

  • Member
  • ****
  • Posts: 748
Re: Jwasm 13 debugging source mode in 64 bits
« Reply #31 on: May 09, 2016, 04:35:01 PM »
Here is hjwasm.exe build with MSVC 2013 and WinDDK 7600 headers and libraries, -subsystem:console,5.1
Should run in WindowsXP too.
Can we have here some test files for testing?

ToutEnMasm

  • Member
  • *****
  • Posts: 1184
    • EditMasm
Re: Jwasm 13 debugging source mode in 64 bits
« Reply #32 on: May 09, 2016, 05:40:05 PM »
:biggrin:

The Hjwasm32 posted by Habran and compiled with openWatcom mark one point on 32 bits.
Under Windows 10 he allow to debug 32 bit sources codes in source mode with windbg.
He couldn't do the same thing for 64 bits sources.
 
Fa is a musical note to play with CL

habran

  • Member
  • *****
  • Posts: 1058
    • uasm
Re: Jwasm 13 debugging source mode in 64 bits
« Reply #33 on: May 09, 2016, 07:28:03 PM »
Hi ToutEnMasm,
Nice to see a smile ones on your face :biggrin:

He couldn't do the same thing for 64 bits sources.
Please explain ;)
Hi TWell, here is attached one 32 bit example 8)
Cod-Father

TWell

  • Member
  • ****
  • Posts: 748
Re: Jwasm 13 debugging source mode in 64 bits
« Reply #34 on: May 09, 2016, 08:02:26 PM »
after chancing in example source rcx to ecx in lines 124 and 125 and comment out invoke subproc1
i was able debug with source with WinDbg 6.1 and Visual Studio in Windows 10.

habran

  • Member
  • *****
  • Posts: 1058
    • uasm
Re: Jwasm 13 debugging source mode in 64 bits
« Reply #35 on: May 09, 2016, 08:05:35 PM »
Sorry I borrowed some example from x64
I uploaded fixed version.
But good thing is that it works fine :t
Cod-Father

habran

  • Member
  • *****
  • Posts: 1058
    • uasm
Re: Jwasm 13 debugging source mode in 64 bits
« Reply #36 on: May 09, 2016, 09:14:07 PM »
TWell, I tested your HJWasm build and it works fine on my laptop, however, it is 64 bit machine,we need to test 32 bit
Cod-Father

HSE

  • Member
  • ****
  • Posts: 521
  • <AMD>< 7-32>
Re: Jwasm 13 debugging source mode in 64 bits
« Reply #37 on: May 09, 2016, 10:01:12 PM »
Perfect now  :t