Assembler video tutorials on Vretrocomputing

All 680x0 related coding posts in this section please.

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

Post Reply
BlankVector
Atari Super Hero
Atari Super Hero
Posts: 513
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Assembler video tutorials on Vretrocomputing

Post by BlankVector »

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: Replace Atari STE ROMs with EEPROMs.

Playmobil
Captain Atari
Captain Atari
Posts: 170
Joined: Fri Nov 13, 2015 7:40 pm

Re: Assembler video tutorials on Vretrocomputing

Post by Playmobil »

Merci Vincent !

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

Re: Assembler video tutorials on Vretrocomputing

Post by christos »

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
Atari Super Hero
Atari Super Hero
Posts: 513
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by BlankVector »

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: Replace Atari STE ROMs with EEPROMs.

User avatar
YQN
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 115
Joined: Sat Jul 22, 2017 6:01 pm
Location: Meaux
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by YQN »

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: 2178
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by mikro »

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 God
Atari God
Posts: 1111
Joined: Sun Aug 03, 2014 5:54 pm

Re: Assembler video tutorials on Vretrocomputing

Post by ThorstenOtto »

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

BlankVector
Atari Super Hero
Atari Super Hero
Posts: 513
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by BlankVector »

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: Replace Atari STE ROMs with EEPROMs.

BlankVector
Atari Super Hero
Atari Super Hero
Posts: 513
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by BlankVector »

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: Replace Atari STE ROMs with EEPROMs.

BlankVector
Atari Super Hero
Atari Super Hero
Posts: 513
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by BlankVector »

Second episode : display a picture.

Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Replace Atari STE ROMs with EEPROMs.

ThorstenOtto
Atari God
Atari God
Posts: 1111
Joined: Sun Aug 03, 2014 5:54 pm

Re: Assembler video tutorials on Vretrocomputing

Post by ThorstenOtto »

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 God
Atari God
Posts: 1068
Joined: Wed Nov 20, 2002 11:22 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by dma »

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

BlankVector
Atari Super Hero
Atari Super Hero
Posts: 513
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by BlankVector »

Many thanks for all these kind words :D
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Replace Atari STE ROMs with EEPROMs.

User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2131
Joined: Sun Jul 31, 2011 1:11 pm

Re: Assembler video tutorials on Vretrocomputing

Post by Eero Tamminen »

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
Atari Super Hero
Atari Super Hero
Posts: 513
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by BlankVector »

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: Replace Atari STE ROMs with EEPROMs.

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

Re: Assembler video tutorials on Vretrocomputing

Post by charles »

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: 84
Joined: Mon Aug 27, 2007 11:15 pm
Location: Canada
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by anodyne »

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
Atari Super Hero
Atari Super Hero
Posts: 513
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Assembler video tutorials on Vretrocomputing

Post by BlankVector »

Third lesson : save and restore the video mode.

Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Replace Atari STE ROMs with EEPROMs.

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

Re: Assembler video tutorials on Vretrocomputing

Post by charles »

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
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 119
Joined: Mon Feb 26, 2018 1:47 pm

Re: Assembler video tutorials on Vretrocomputing

Post by Perdrix24 »

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: 284
Joined: Wed Feb 01, 2012 9:34 pm

Re: Assembler video tutorials on Vretrocomputing

Post by Moulinaie »

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

Guillaume.

User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2131
Joined: Sun Jul 31, 2011 1:11 pm

Re: Assembler video tutorials on Vretrocomputing

Post by Eero Tamminen »

BlankVector wrote:Third lesson : save and restore the video mode.
Oh, I laughed out at the end. Clean up afterwards, indeed... :-)

User avatar
paulwratt
Atari freak
Atari freak
Posts: 66
Joined: Sat Dec 27, 2008 10:16 am

Re: Assembler video tutorials on Vretrocomputing

Post by paulwratt »

Thanks for these, I would like to see more

I try to teach my nieces and nephews some Maori, Spanish, Italian and Japanese
now I can teach them French and AtariST m68k as well :)

thanks again

Paul

Post Reply

Return to “680x0”