The MASM Forum

General => The Workshop => Topic started by: Vortex on January 25, 2021, 01:40:41 AM

Title: Re: The MASM Forum Introduction Video
Post by: Vortex on January 25, 2021, 01:40:41 AM
Hi Hutch,

Again, very nice work :thumbsup: No any lag or glitch.
Title: Re: Re: The MASM Forum Introduction Video
Post by: TimoVJL on January 25, 2021, 02:04:05 AM
Windows 7 OK.
Title: Re: Re: The MASM Forum Introduction Video
Post by: HSE on January 25, 2021, 03:43:03 AM
A little faster for my English  :biggrin:

Look very well at 0.5x, music sound even better at this speed :thumbsup:
Title: Re: Re: The MASM Forum Introduction Video
Post by: avcaballero on January 25, 2021, 05:22:55 AM
Both videos look and move smoothly. I like specially the first one, both the image and the background music.
Title: Re: Re: The MASM Forum Introduction Video
Post by: daydreamer on January 25, 2021, 05:55:49 AM
Looks great and nice music and very informative  :thumbsup:
Wonder will you keep going like show how to make "hello world" in masm 64?
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on January 27, 2021, 07:40:27 PM
I moved the member comments out of the introduction forum so that the introduction videos were easy to find and occurred in sequential order. I have more on the way and I need to be able to just add each new one after the previous one. Also, thanks for your comments and testing, it addressed some things that I cannot directly test.
Title: Re: The MASM Forum Introduction Video
Post by: HSE on January 28, 2021, 02:39:17 AM
 :eusa_clap: :eusa_clap: :eusa_clap:

The credits for music in youtube library apparently must have this format:

Stardust by Jay Someday https://soundcloud.com/jaysomeday
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/-_stardust
Music promoted by Audio Library https://youtu.be/3FcdHjZbP3A
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on January 28, 2021, 08:22:27 AM
Under "Studio" in your Youtube account,

Quote
Terms and conditions
Your use of this music library (including the music files in this library) is subject to the YouTube Terms of Service. Music from this library is intended solely for use by you in videos and other content that you create. You may use music files from this library in videos that you monetize on YouTube.

By downloading music from this library, you agree with the following:

You may not make available, distribute or perform the music files from this library separately from videos and other content into which you have incorporated these music files (e.g., standalone distribution of these files is not permitted).
You may not use music files from this library in an illegal manner or in connection with any illegal content.
You agree to comply with these requirements when you use music from this library.

Learn more about the YouTube Audio Library.
Title: Re: The MASM Forum Introduction Video
Post by: HSE on January 28, 2021, 08:45:32 AM
 :thumbsup:

Just I listen in the library a few tracks requiring that:
QuoteGive attribution
Some music in the YouTube Audio Library requires you to give attribution (credit) to the artist in exchange for using their music in your video.

If you're using a track that has an attribution-required icon  listed in the License type column, make sure to credit the artist in your video's description.

In the License Type column, you can click  and copy  the attribution text. Then, you can paste this text into your video's description. Learn more about attribution from Creative Commons.
Title: Re: The MASM Forum Introduction Video
Post by: Gunther on January 28, 2021, 09:17:54 AM
Steve,

the video is well done, informative and instructive. Taking small steps is the right approach. This makes it easier for the switchers and newcomers. The test bed is a good help.

Gunther
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on January 28, 2021, 09:56:43 AM
Hi Gunther,

What I am trying to do with the videos is help new members to understand the background of the revival of mainstream assembler programming and to do this, it need to be a coherent message for a new member to comprehend what is finally a complex field. In the early days of the forum this was well understood and it worked well but over time a new member is seen as a resource for folks peddling a range of alternative technologies.

When a new member get hit with a wall of conflicting technologies, tools, licences and arguments, they just disappear and this has been happening more often than not recently. The idea is to present a coherent technique so that a new member can get up and going with successful code that runs properly. Once a new member is up and going, they can explore any technology they want once they know how it works.
Title: Re: The MASM Forum Introduction Video
Post by: Gunther on January 28, 2021, 10:41:12 AM
Steve,

I agree with you there. What about similar help for Win64? Is there anything planned in this direction?

Gunther
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on January 28, 2021, 11:40:04 AM
Its coming but I have to get the entry level 32 bit code better understood so that more people can start writing assembler code in MASM. As I generally work in 64 bit these days, it will in fact be easier and its a great environment to work with as it is a more powerful environment with a lot of extra power and capacity.

Its usually the case that a programmer needs a reasonable background in 32 bit code to transit to 64 bit as it is a more complex area and it is structurally different but once you are familiar with it, it is very similar to writing 32 bit code. You have to effectively ditch PUSH / POP style code as the argument layout on the stack is very different and avoid using registers as arguments in the first 4 arguments as you can get unexpected overlaps but most of it is similar to 32 bit.
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on January 28, 2021, 10:32:58 PM
what about if I send you .gif with few seconds/frame,where I screencapture several steps howto make a 32bit program,would that be useful?
do you use any storyboard when make them?

@Gunther
"switchers" as programmers who always use switch/case vs jumptables/series of IFs ? :biggrin:
Title: Re: The MASM Forum Introduction Video
Post by: Gunther on January 29, 2021, 04:51:36 PM
Quote from: daydreamer on January 28, 2021, 10:32:58 PM
@Gunther
"switchers" as programmers who always use switch/case vs jumptables/series of IFs ? :biggrin:

Precisely! :thumbsup:

Gunther
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on January 29, 2021, 06:14:14 PM
Hi Magnus,

While I don't claim to have understood your comments, if you want to get things you have done on the screen, you use a screen capture app. I use one that came with my video editor and it does the job OK, set the window size, set the frame rate then record what you are doing on the screen. Be aware that the raw recording file size is massive but you can trim that down by its bitrate with an app like ffmpeg.
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on January 30, 2021, 09:38:00 PM
Quote from: hutch-- on January 29, 2021, 06:14:14 PM
While I don't claim to have understood your comments, if you want to get things you have done on the screen, you use a screen capture app. I use one that came with my video editor and it does the job OK, set the window size, set the frame rate then record what you are doing on the screen. Be aware that the raw recording file size is massive but you can trim that down by its bitrate with an app like ffmpeg.
I been using Cg apps making animations and they output to uncompressed file format,for easier postwork it,so you need to have a big HD to output to
wondering how you do so we avoid,the no popup window asking me if I want to login to youtube and commercial the first seconds?
I have made something unfinished with showing how you can use Icons
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on January 31, 2021, 09:38:01 PM
Motivation video  :thumbsup:
In a Avx video,I can imagine perfect background would be an autobahn video

Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on January 31, 2021, 10:48:23 PM
Glad you liked it but the limit is bandwidth. Its done in 1080 with the bitrate screwed down.
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on February 24, 2021, 08:46:48 PM
64 bit library nice video,similar batch file with 32bit?
SIMT example video with several threads would be nice
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on February 24, 2021, 09:32:48 PM
 :biggrin:

Over the last week I have just about mastered a later text to speech app and the voices I have with it are a lot better than the SAPI5 ones I used with Balabolka but after experimenting with using voice, its a lot slower to communicate information than text and code so I will have to work on that for a while to see if its useful.
Title: Re: The MASM Forum Introduction Video
Post by: jj2007 on February 24, 2021, 10:49:41 PM
Quote from: hutch-- on February 24, 2021, 09:32:48 PMthe voices I have with it are a lot better than the SAPI5 ones I used with Balabolka

What did you use then? I found a demo here that sounds very good (https://www.linguatec.de/en/voice-reader-home-15-test/), but it costs...
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on February 24, 2021, 11:20:07 PM
I found it on Facebook, its called Talkia. Cost me about $80 AUD and the available voices are usable. Problem is to upgrade anything it starts to get very expensive so I have so far stuck with the standard set of voices.
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on February 24, 2021, 11:48:05 PM
I checked the link, the voices I heard were old SAPI5 voices that are not very good.
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on February 28, 2021, 12:03:38 PM
I just posted a new video using an Indian accent explaining stack frames in x64. From watching Youtube videos like "Tech for Luddites" and TFI Global videos I have tried to get a similar effect, I borrowed the name "Shubhangi" from one of the voice overs of TFI Global and it seems to have worked well.

Any feedback here would be useful as I am trying to get these tutorials into an easy to watch and easy to understand form.
Title: Re: The MASM Forum Introduction Video
Post by: Gunther on February 28, 2021, 09:16:24 PM
Steve,

Shubhangi sounds not so good for me. You might want to try the Australian female voice.

Gunther

Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on February 28, 2021, 11:02:28 PM
I have just forked for another text to speech app and between the two I am starting to have a good range of voices at last. I used the Indian accent voice to try and make it a little less "anglo" to many people who don't comes from places like the US, UK, OZ, Canada, NZ and it sounds a lot like a couple of sources I have watched.

I may try the next one with a different voice, the problem with Australian accents (mine included) is they are very flat with little intonation and some people would not understand them all that well.
Title: Re: The MASM Forum Introduction Video
Post by: Gunther on March 01, 2021, 03:51:20 AM
Steve,

Quote from: hutch-- on February 28, 2021, 11:02:28 PM
I may try the next one with a different voice, the problem with Australian accents (mine included) is they are very flat with little intonation and some people would not understand them all that well.

is that really so? I never had any problems understanding Australians or New Zealanders. Of course, the Queens English is dead, but how about a native English speaker?

Gunther
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on March 02, 2021, 01:57:32 AM
Quote from: hutch-- on February 28, 2021, 11:02:28 PM
I have just forked for another text to speech app and between the two I am starting to have a good range of voices at last. I used the Indian accent voice to try and make it a little less "anglo" to many people who don't comes from places like the US, UK, OZ, Canada, NZ and it sounds a lot like a couple of sources I have watched.

I may try the next one with a different voice, the problem with Australian accents (mine included) is they are very flat with little intonation and some people would not understand them all that well.
profiling with Indian woman reading up if you want to,there is loads of Indian,chinese people ...,but might be impopular choice among some people
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on March 02, 2021, 02:33:22 AM
I just posted the next version and it has an English voice. I don't particularly like the latest TTS app but it has some decent voices.
Title: Re: The MASM Forum Introduction Video
Post by: TouEnMasm on March 02, 2021, 04:16:18 AM

I prefered a french voice,perhaps  could be it in option ?

Title: Re: The MASM Forum Introduction Video
Post by: jj2007 on March 02, 2021, 04:18:11 AM
You can have English with a strong French accent, Yves :badgrin:
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on March 02, 2021, 10:22:24 AM
The trouble is they don't work well, a voice designed for one language makes a mess of any other. I tried translating English to Spanish then used a Spanish speaking voice and it sounded OK but if you feed English to it, it is unintelligible.

I have so far used an Indian voice and the last one was an English voice and they were at least clear, I have more American voices but some people don't want to hear that.
Title: Re: The MASM Forum Introduction Video
Post by: Gunther on March 02, 2021, 10:50:45 AM
Steve,

The English voice sounds clear for me.

Gunther
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on March 02, 2021, 12:40:50 PM
Good, I have found a male English voice that sounds OK as well.
Title: Re: The MASM Forum Introduction Video
Post by: TouEnMasm on March 03, 2021, 01:58:00 AM
Multilingue tuto (in french)
https://www.bing.com/videos/search?q=reconnaissance+vocale+voix+francaise&&view=detail&mid=6E660433F5E6FDBBF5276E660433F5E6FDBBF527&&FORM=VRDGAR&ru=%2Fvideos%2Fsearch%3Fq%3Dreconnaissance%2Bvocale%2Bvoix%2Bfrancaise%26qpvt%3Dreconnaissance%2Bvocale%2Bvoix%2Bfrancaise%26FORM%3DVDRE (https://www.bing.com/videos/search?q=reconnaissance+vocale+voix+francaise&&view=detail&mid=6E660433F5E6FDBBF5276E660433F5E6FDBBF527&&FORM=VRDGAR&ru=%2Fvideos%2Fsearch%3Fq%3Dreconnaissance%2Bvocale%2Bvoix%2Bfrancaise%26qpvt%3Dreconnaissance%2Bvocale%2Bvoix%2Bfrancaise%26FORM%3DVDRE)

and about Twenty lines to made it work in which language you want.
http://luce.yves.pagesperso-orange.fr/com_utilisation.htm (http://luce.yves.pagesperso-orange.fr/com_utilisation.htm)
Title: Re: The MASM Forum Introduction Video
Post by: Gunther on March 03, 2021, 02:12:09 AM
Steve,

Quote from: hutch-- on March 02, 2021, 12:40:50 PM
Good, I have found a male English voice that sounds OK as well.

yes, sounds okay, indeed.

Gunther
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on March 03, 2021, 12:09:57 PM
Yves,

I have a couple of OK French voices, one male and one female. I have attached a sample of the male voice but the real problem for me is I am not a French speaker and the video/audio software doe not have the capacity to be multi-lingual.
Title: Re: The MASM Forum Introduction Video
Post by: TouEnMasm on March 03, 2021, 07:13:28 PM
The sample made an unknown event and don't play.
I was thinking to put translated text in various language and follow this steps:
****** detect the national language
****** start the speech recognition with this language.
Must be possible.
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on March 03, 2021, 08:07:25 PM
If you unzipped it, its an MP3 file that runs correctly with anything that can run an MP3 file.
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on March 05, 2021, 07:40:49 AM
Bandwidth when streaming tv episode + screen mirroring to tv sometimes WiFi bandwidth is problematic
Tested screen mirroring with tutorials and it works fine
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on March 05, 2021, 08:06:28 AM
Thanks magnus, I have the bitrate screwed right down as the content is not demanding like high res video and it reduces the demand in terms of bandwidth for folks who don't have access to high speed internet. Now that I have to suffer owning a mobile phone, its useful to test video performance as I have a wifi transmitter that I can turn on and off and while it very good at close range, its nowhere as fast as my internet connection.
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on March 05, 2021, 10:58:00 PM
with the use of two voices,what about one acting questioner and the other expert answering
but that is probably as old as radio
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on March 05, 2021, 11:06:43 PM
It can be done but it becomes a lot more work again. I create the voice in voice software then synch it to video and adjust the video to fit the speech length and while I am getting faster at it, it still takes a lot of work.
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on May 11, 2021, 10:25:58 PM
Latest tutorial on use xmm :thumbsup:
I also want 32bit version macro of aligned memory alloc: aalloc
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on May 11, 2021, 10:35:49 PM
See if this works for you.

Algo below.  :biggrin:
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on May 11, 2021, 10:45:34 PM
Quote from: hutch-- on May 11, 2021, 10:35:49 PM
See if this works for you.

LATER : The converted 64 bit will not work.
If I wrap the old alloc macro up,in new macro with added
And hmem, 0fffffff0h
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on May 11, 2021, 11:32:04 PM
magnus,

I think this works OK.

; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

    include \masm32\include\masm32rt.inc
    .686p
    .xmm

; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

comment * -----------------------------------------------------
                        Build this  template with
                       "CONSOLE ASSEMBLE AND LINK"
        ----------------------------------------------------- *

  ; --------------------------------------------------------
  ; alignment must be an immediate operand and a power of 2
  ; when no longer required the original address must be
  ; freed with either GlobalFree() or the macro "free".
  ; --------------------------------------------------------

    aalloc MACRO pMem:REQ,bcnt:REQ,alignment:REQ
      mov edx, bcnt
      add edx, alignment
      invoke GlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,edx
      mov pMem, eax
      add eax, alignment - 1
      and eax, -alignment
      EXITM <eax>
    ENDM

    .code

start:
   
; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

    call main
    inkey
    exit

; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

main proc

    LOCAL pMem  :DWORD
    LOCAL aMem  :DWORD

    mov aMem, aalloc(pMem,1024*1024*64,16)

    movntdqa xmm0, XMMWORD PTR [eax]
  ; -----------------
  ; do something here
  ; -----------------
    movdqa XMMWORD PTR [eax], xmm1

    print str$(pMem),13,10
    print str$(aMem),13,10

    ret

main endp

; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

end start
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on May 12, 2021, 03:32:53 AM
Thanks hutch  :thumbsup:
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on May 22, 2021, 09:35:24 PM
Great optimize video hutch  :thumbsup:
Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on May 23, 2021, 10:46:36 AM
Thqanks magnus, just hope that folks find the tutes useful.
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on May 27, 2021, 06:26:29 AM
Quote from: hutch-- on May 23, 2021, 10:46:36 AM
Thqanks magnus, just hope that folks find the tutes useful.
Minimize stackframes is new to use standard proc only
The Milliseconds timing seem more useful,in the long running programs
And animation at certain fps, @ 60 fps you have 1/60 seconds time to drawing code

Seem good for loading speed test to




Title: Re: The MASM Forum Introduction Video
Post by: valera on June 04, 2021, 01:52:31 AM
Hello!
Thank you for your hard work!
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on June 20, 2021, 08:24:08 PM
Great video :thumbsup:
Similar tool used in C# to make gui control, does that mean I am half metal coder,like to code gui parts?:)

Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on July 01, 2021, 11:54:12 PM
Nice video about restore window place :thumbsup:
But might need batch file,to restore to original main screen position, after switch from dual monitor set up where you have dragged app window over to second screen,back to only main monitor
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on July 24, 2021, 07:44:36 PM
nice dialog examples :thumbsup:,usually look at games for ideas to goodlooking cool GUI's
transparency dialogs?

Title: Re: The MASM Forum Introduction Video
Post by: hutch-- on July 24, 2021, 08:30:49 PM
I mentioned in the post that the example was very understated and was of the style used in business but creating your own bitmaps allows you to do almost anything from really load to very subdued. The idea with test pieces like this is application starters where the basic boilerplate code is up and running and you simply modify the interface with a dialog editor to get the effects that you want.

You will need to do your own artwork in terms of buttons and icons, for bitmaps the ordinary "mspaint" will probably do the job, for icons I have seen a number of reasonable free ones. I have for years used a professional version of Axialis Icon Workshop and it is a very hard tool to improve on.
Title: Re: The MASM Forum Introduction Video
Post by: daydreamer on July 24, 2021, 11:54:30 PM
Quote from: hutch-- on July 24, 2021, 08:30:49 PM
You will need to do your own artwork in terms of buttons and icons, for bitmaps the ordinary "mspaint" will probably do the job, for icons I have seen a number of reasonable free ones. I have for years used a professional version of Axialis Icon Workshop and it is a very hard tool to improve on.
there is also many free 3d apps,where you can make the the retrogames 3d prerendered style when cpus/gpus was limited 3d grunt,I like todo it this way
I spent some years on train 3d modelling beside asm