Author Topic: NeHe Tutorial in masm64  (Read 25337 times)

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #105 on: March 07, 2021, 02:02:50 PM »
to be Continued. . .

caballero

  • Member
  • *****
  • Posts: 1698
  • Matrix - Noah
    • abre ojos ensamblador
Re: NeHe Tutorial in masm64
« Reply #106 on: March 07, 2021, 08:30:34 PM »
Hey, Mikl, good job  :thumbsup:

They all work well to me except 12, 22, 29, 32, 33, 35
« Last Edit: March 07, 2021, 11:29:22 PM by caballero »
The logic of the error is hidden among the most unexpected lines of the program

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #107 on: March 07, 2021, 11:21:06 PM »
¡Hola caballero!
In that message , I have already laid out lesson #12 and six_L wrote
Quote
Now, the tut_40-12.exe works ok. :thumbsup:

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #108 on: March 08, 2021, 02:01:30 AM »

38 is beatifull with all this butterfly.
Fa is a musical note to play with CL

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #109 on: March 10, 2021, 09:56:22 AM »
Hi caballero, TouEnMasm and six_L!
Can you briefly describe what's wrong with 22, 29, 32, 33, 35? What happens when you run these programs in Win10?

six_L

  • Member
  • **
  • Posts: 229
Re: NeHe Tutorial in masm64
« Reply #110 on: March 10, 2021, 07:13:29 PM »
Hi,Mikl__
First of all, thank you for the great work! :thumbsup:
a few exe files don't work. there are the tut_40-22.exe, tut_40-29.exe,tut_40-32.exe,tut_40-33.exe,tut_40-35.exe.
they have the common performance:"double click exe,don't start up, no any messages, mouse icon only rotating for a moment."
the tut_40-37.exe works fine at sometime.
« Last Edit: March 10, 2021, 09:22:29 PM by six_L »
Say you, Say me, Say the codes together for ever.

caballero

  • Member
  • *****
  • Posts: 1698
  • Matrix - Noah
    • abre ojos ensamblador
Re: NeHe Tutorial in masm64
« Reply #111 on: March 10, 2021, 08:38:50 PM »
When you execute the program, it dessapears with no info. This issue happens in 22, 29, 32, 33, 35.
The logic of the error is hidden among the most unexpected lines of the program

six_L

  • Member
  • **
  • Posts: 229
Re: NeHe Tutorial in masm64
« Reply #112 on: March 10, 2021, 09:26:09 PM »
the tut_40-37.exe works failed at sometime.
Say you, Say me, Say the codes together for ever.

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #113 on: March 11, 2021, 02:28:45 PM »
to be Continued. . .

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #114 on: March 11, 2021, 02:30:51 PM »
to be Continued. . .

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #115 on: March 11, 2021, 02:35:08 PM »
to be Continued. . .

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #116 on: March 11, 2021, 06:26:54 PM »
Hélas,
Quote
win10_29_33_35\35\tut_40-35.exe

(2e28.3af4): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
avifil32!AVIStreamInfoW+0x25:
00000000`001c70a5 488b06          mov     rax,qword ptr [rsi] ds:00000000`00000000=????????????????


There is here too many offset used in code ,change them by lea.

Quote
   mov   edx,offset psi         ;wrong usage of offset in code ,only valuable to point data
   invoke   AVIStreamInfo,pavi,,sizeof psi;   ; Reads information about the stream into psi


Fa is a musical note to play with CL

Mikl__

  • Member
  • *****
  • Posts: 1137
Re: NeHe Tutorial in masm64
« Reply #117 on: March 11, 2021, 10:40:43 PM »
Hi, Yves!
Why "Hélas" ?
Lesson #35 doesn't work, it's not scary. It will work later ... Do lessons #29, #32, #33 work?
« Last Edit: March 12, 2021, 12:15:32 AM by Mikl__ »

TouEnMasm

  • Member
  • *****
  • Posts: 1805
    • EditMasm
Re: NeHe Tutorial in masm64
« Reply #118 on: March 12, 2021, 03:25:55 AM »
#29, #32, #33  works OK
a rotating cube ,TGA,a country.
Fa is a musical note to play with CL

six_L

  • Member
  • **
  • Posts: 229
Re: NeHe Tutorial in masm64
« Reply #119 on: March 12, 2021, 05:22:48 AM »
Hi,Mikl__
29,32,33 works fine now.  :thumbsup:
35,37 can't work.
Say you, Say me, Say the codes together for ever.