Assembler video tutorials on Vretrocomputing

All 680x0 related coding posts in this section please.

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Assembler video tutorials on Vretrocomputing

Postby BlankVector » Wed Sep 25, 2019 4:14 pm

Hello, here is the first episode of a series of assembler tutorials.
And if you like it, there will be other ones!
French speech, but English subtitles are available.

Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

Playmobil
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 139
Joined: Fri Nov 13, 2015 7:40 pm

Re: Assembler video tutorials on Vretrocomputing

Postby Playmobil » Wed Sep 25, 2019 4:50 pm

Merci Vincent !

User avatar
christos
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2455
Joined: Tue Apr 13, 2004 8:24 pm
Location: Greece
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby christos » Wed Sep 25, 2019 6:17 pm

Cool video (I'll follow the series closely)

But.. I'd like to see it progress into more than just explaining branching and looping, but to how to actually create a useful program.

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby BlankVector » Wed Sep 25, 2019 7:35 pm

christos wrote:But.. I'd like to see it progress into more than just explaining branching and looping, but to how to actually create a useful program

I don't plan to explain branching and looping, that would be for basic and boring 68000 lessons.
I don't plan to do useful stuff either, as I generally get fun from useless things.
But if you want to see cool stuff with good explanations, stay tuned :mrgreen:
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

User avatar
YQN
Atari freak
Atari freak
Posts: 72
Joined: Sat Jul 22, 2017 6:01 pm
Location: Meaux
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby YQN » Wed Sep 25, 2019 7:45 pm

BlankVector wrote:I don't plan to explain branching and looping, that would be for basic and boring 68000 lessons.
I don't plan to do useful stuff either, as I generally get fun from useless things.
But if you want to see cool stuff with good explanations, stay tuned :mrgreen:

sounds promising! now what's "cool stuff" ;)

mikro
Hardware Guru
Hardware Guru
Posts: 2034
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby mikro » Thu Sep 26, 2019 6:38 am

The funny thing is that this tutorial has shown me for the first time in my 20+ year usage of Devpac that I can run my programs without GEM via that checkbox :D

Well, we learn every day. Nice tutorial, as usual. :)

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 813
Joined: Sun Aug 03, 2014 5:54 pm

Re: Assembler video tutorials on Vretrocomputing

Postby ThorstenOtto » Thu Sep 26, 2019 7:56 am

Excellent tutorial. How did you make all those pictures fade into the video? Looks like a lot of work...

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby BlankVector » Thu Sep 26, 2019 12:21 pm

mikro wrote:The funny thing is that this tutorial has shown me for the first time in my 20+ year usage of Devpac that I can run my programs without GEM via that checkbox :D

Trust me or not, that's exactly the same for me :D
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby BlankVector » Thu Sep 26, 2019 1:12 pm

ThorstenOtto wrote:Excellent tutorial.

Thanks :D

ThorstenOtto wrote:How did you make all those pictures fade into the video? Looks like a lot of work...

I use a video editing tool for the main timeline, Steem for emulation, CamStudio for screen capture, ffmpeg for video conversion, Audacity for sound editing... Indeed, that's huge work for each video. But I'm happy to see exactly the result I want.
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby BlankVector » Sat Oct 12, 2019 12:52 pm

Second episode : display a picture.

Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 813
Joined: Sun Aug 03, 2014 5:54 pm

Re: Assembler video tutorials on Vretrocomputing

Postby ThorstenOtto » Sat Oct 12, 2019 3:27 pm

You have way too much time :D

And hopefully next episode will be how to do the same thing correctly, using VDI ;)

User avatar
dma
Atari Super Hero
Atari Super Hero
Posts: 996
Joined: Wed Nov 20, 2002 11:22 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby dma » Sat Oct 12, 2019 3:57 pm

Very well put together, very didactic, hats off once again.

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby BlankVector » Sat Oct 12, 2019 4:03 pm

Many thanks for all these kind words :D
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

User avatar
Eero Tamminen
Atari God
Atari God
Posts: 1984
Joined: Sun Jul 31, 2011 1:11 pm

Re: Assembler video tutorials on Vretrocomputing

Postby Eero Tamminen » Fri Oct 18, 2019 7:37 pm

Very nicely & concisely done, I especially like how you show a problem (e.g. colors wrong) and fixing it.

Current program is missing resolution & palette saving at start and restoring them before exit. As those are needed in many programs, maybe they could work as example of handling multiple source files and/or linking other objects?

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby BlankVector » Fri Oct 18, 2019 10:10 pm

Eero Tamminen wrote:Very nicely & concisely done, I especially like how you show a problem (e.g. colors wrong) and fixing it.

Thanks :D

Eero Tamminen wrote:Current program is missing resolution & palette saving at start and restoring them before exit.

You are right. This will be the topic of the next video. I've almost finished writing the script.

Eero Tamminen wrote:As those are needed in many programs, maybe they could work as example of handling multiple source files and/or linking other objects?

Yes, handling multiple sources would be a good topic for another video. In each episode, I plan to aim a very simple objective, and do whatever is required to achieve it. That will be an opportunity to present new 68000 instructions, new OS calls, new hardware features, new tools, new techniques... And I will also keep each video quite short to avoid it to be boring (and too long to produce, too).
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2548
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby charles » Sat Oct 19, 2019 12:20 am

anyone tell me how to use assembler directive "ST" ?
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!

anodyne
Atari maniac
Atari maniac
Posts: 82
Joined: Mon Aug 27, 2007 11:15 pm
Location: Canada
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby anodyne » Sat Oct 19, 2019 1:25 am

charles wrote:anyone tell me how to use assembler directive "ST" ?

There is an assembler instruction 'ST', but I don't think there is an assembler directive 'ST', at least in DevPac. In case it isn't obvious, the difference between an instruction and a directive, is:
. an instruction: is translated by the assembler into executable machine code (i.e. some sequence of hex digits that mean something to the particular CPU chip)
. a directive: is a command to the assembler to do something, such as 'produce a listing of the assembly', or 'only allow the user to specify instructions that are valid on a 68000 chip'

If you really mean ST as an instruction, then what it does is to set the byte referenced to all 1s, i.e. 0xff. The MC68000 Programmer's Reference Guide tells you this under the heading Scc (related instructions include SF, SEQ, SGT etc etc).

BlankVector
Captain Atari
Captain Atari
Posts: 486
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby BlankVector » Tue Oct 29, 2019 10:40 pm

Third lesson : save and restore the video mode.

Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Save and restore the video mode in assembly language on Atari ST.

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2548
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Assembler video tutorials on Vretrocomputing

Postby charles » Tue Oct 29, 2019 11:09 pm

thanks for answering my question
yes it was instruction , which I just vaguely summed up literally as directive ,when I might have used term command , but either way I learned about
ST the instruction....many thanks
The radioactive half-life : )
Atari is a lifestyle,not a hobby.
HOLD ON ! ! ! Im printing unreadable characters ...!

Perdrix24
Atari maniac
Atari maniac
Posts: 97
Joined: Mon Feb 26, 2018 1:47 pm

Re: Assembler video tutorials on Vretrocomputing

Postby Perdrix24 » Wed Oct 30, 2019 1:51 am

Cette série est parfaite pour moi, merci de la produire. (This series is perfect for me, thanks for producing it). And it is in my native language :-)

I installed Devpac for the first time. I only programmed in C and Basic before. I tried a book on assembler, but didn't follow through. With these videos I'm learning well. I'll take some time to try the examples in the videos.


Claude

Moulinaie
Captain Atari
Captain Atari
Posts: 249
Joined: Wed Feb 01, 2012 9:34 pm

Re: Assembler video tutorials on Vretrocomputing

Postby Moulinaie » Wed Oct 30, 2019 5:03 pm

BlankVector wrote:Third lesson : save and restore the video mode.


Better and better !

Guillaume.

User avatar
Eero Tamminen
Atari God
Atari God
Posts: 1984
Joined: Sun Jul 31, 2011 1:11 pm

Re: Assembler video tutorials on Vretrocomputing

Postby Eero Tamminen » Fri Nov 08, 2019 7:26 pm

BlankVector wrote:Third lesson : save and restore the video mode.


Oh, I laughed out at the end. Clean up afterwards, indeed... :-)


Social Media

     

Return to “680x0”

Who is online

Users browsing this forum: No registered users and 3 guests