Amiga Hardware Programming 1 - Use the Assembler and wait for left click

  Рет қаралды 80,646

ScoopexUs

ScoopexUs

Күн бұрын

Пікірлер: 82
@ScoopexUs
@ScoopexUs 9 жыл бұрын
KZbin says its own playlist link is disallowed in the description, so let's see if it works as a comment. Playlist link here -> kzbin.info/aero/PLc3ltHgmiidpK-s0eP5hTKJnjdTHz0_bW
@DJ-Foul
@DJ-Foul 9 жыл бұрын
Working perfect here.. Thank you for your work... Really appreciated ;)
@ScoopexUs
@ScoopexUs 9 жыл бұрын
Happy to hear it :) The demo will be finished in time for the summer vacation so I can make a video on what to learn next to be creative, experiment new stuff etc!
@BAwesomeDesign
@BAwesomeDesign 3 жыл бұрын
This is how tutorials should be; not long and perfectly understandable for someone new coming in. Thank you.
@YesiPleb
@YesiPleb 11 жыл бұрын
Have to say I'm extremely grateful to you for making these videos. I have Asperger's syndrome and find that reading information from a text source very difficult. Seeing it made with commentary really does make a massive difference. I've learnt so much about the copper watching your videos than I ever have so thank-you for such well put together tutorials. Can't wait for more.
@ScoopexUs
@ScoopexUs 10 жыл бұрын
Note: These tutorials are made to work on an Amiga 500 with 512k expansion memory and up - or an emulator set to the same, and there's no need to install Workbench or to go into Workbench before starting the assembler. If you have set up a very nice Workbench environment, some things may cause trouble, such as RTG modes and mouse hacks to change the way menus normally work. There are many ways now to enhance your Amiga usage in emulators, even beyond the original hardware! For these tutorials, the best setup is a standard "A500 Kick 1.3 Quickstart" with cycle-exact mode, just add a "harddisk directory" to put AsmOne and your sources in. :)
@TheMajorGossiper
@TheMajorGossiper 11 жыл бұрын
Hi Scoopex! I just wanted to express my gratitude to you for making these tutorials.They are really great. I've been searching for ages for a good Assembly tutorial for my Amiga and I finally found it. Did some reading on the subject, but there's nothing better than a good hands-on approach! Excellent - Thank you.
@NightlySkye
@NightlySkye 4 жыл бұрын
Way to go, Scoopex! I've been having fun doing assembler on my Commodore 64 (i still lhave my original machine with 5 1/4 inch floppies etc that still work) - now, thanks to you, I am having fun doing assembler on the Amiga too! Both processors are fun to use - the 6502/6510 and the MC68000. Keep up the great work.
@coderberlin4028
@coderberlin4028 11 жыл бұрын
Great Tutorial. I work the first time with ASMone on my Amiga 500+. Your Tutorial is a big help for me. Amiga forever ! Nice Greetings from Berlin, Germany.
@arongooch
@arongooch 5 жыл бұрын
This is fantastic!! Just got this up and running on my stock A500 tonight and works perfectly. Can't wait to follow along wit this tutorial. Very clear and nicely explained video, cheers.
@FernandoMassa1976
@FernandoMassa1976 10 жыл бұрын
Hi friend, congratulations on strive to share this valuable knowledge with people. I really like "Commodore Amiga" and encourage you to continue with these tutorials. I know it is not easy, and that needs time and will. So I recognize what you are doing and I hope it continues. big hug
@Balubabal
@Balubabal 11 жыл бұрын
Great, will step through them all. Topic suggestions for the future: Debugging in winuae and with action replay, resource disassembler, some whdloadinstalls, cracking, disks and devices.
@electronictreasure4191
@electronictreasure4191 Жыл бұрын
So awesome that you made these tutorials! These are fantastic. It's my nightly project! Thank you
@TimSparkling
@TimSparkling 11 жыл бұрын
What an excellent tutorial, Photon! This brings back old memories. Thanks for sharing this stuff.
@ScoopexUs
@ScoopexUs 11 жыл бұрын
Something wonderful has happened, Google has added Reply buttons so I can reply to comments on my own videos! :) Anyway, I see you found out how to add me as contact, that's all that is needed.
@User846
@User846 10 жыл бұрын
An extremely gifted programmer & a great tutor, thanks for all the tutorials!
@Kaxlon
@Kaxlon 10 жыл бұрын
Totally awesome! Takes me back to the good old days of late nights of demo coding. Thanks for this. :) Subbed.
@BagoZonde
@BagoZonde 11 жыл бұрын
Well, I'm concerned on assembler for Commodore 64, however in past I was toying with Amos, Blitz Basic 2 and AmigaE so I was curious how assembler looks for Amiga. Thanks for tuts, I was looking for that!
@alientgs6178
@alientgs6178 8 жыл бұрын
I absolutely agree with Photon. There is only one real coding language and of course only one Computer! AMIGA FOREVER!!! - Thanks guys for this great Tutorials. As I saw the final Demo I had wet eyes :-) - Please continue
@cartayno
@cartayno 9 жыл бұрын
Recently found your Amiga tutorials...they're great :)
@benjaminfauchald
@benjaminfauchald 11 жыл бұрын
Wow, this is AMAZING! Will you ever make a tutorial on simple vector graphics? Like a rotating cube?
@sacredbanana
@sacredbanana 4 жыл бұрын
I loved this series and decided to start it all again since it’s been a while and I’ve gotten rusty. Any future episodes or even a whole new series planned in the near future? Your content is the best on KZbin for Amiga programming so well done
@ScoopexUs
@ScoopexUs 4 жыл бұрын
Thank you for the kind words. :) Yes, I'll be back with more videos! Took a break, but now I think I should push other things aside to make time for Amiga.
@sacredbanana
@sacredbanana 4 жыл бұрын
ScoopexUs awesome! Sounds like we can have some quarantine fun. The coronavirus is no match for the famous Amiga Saddam virus 🦠
@antixdevelopment1416
@antixdevelopment1416 7 ай бұрын
Damn this takes me back to my mis-spent youth. I'm feeling all nostalgic now ;)
@ScoopexUs
@ScoopexUs 11 жыл бұрын
t0rxe, Google's reply system is a failure, so I'll just have to hope you see this before it ends up on the next page of comments. Short answer is that Asmone 1.02 will do everything 1.20 does and also leaves more available RAM so that you can assemble large demos even on the humble and standard A500/1MB platform, and the messages you get are normal and doesn't affect anything. You can put ASSIGN SOURCES: in the startup sequence if you want. You can get Reqtools from aminet, if you like the file selector popup windows. I'm just used to using the command line commands (you can see them in the top menus). If you still can't set the colors, use sys:prefs/preferences. All that's done in my tutorials is doable with an Amiga 500 and nothing else needed, that's the whole point! :)
@Ama-hi5kn
@Ama-hi5kn 3 жыл бұрын
This was the first piece of 68k asm I learned.
@Marius-vw9hp
@Marius-vw9hp 4 жыл бұрын
Is there any modern development enviroments available for windows or OSX?
@ScoopexUs
@ScoopexUs 4 жыл бұрын
Since 1990 there have been cross-assemblers for PC and other computers. You lose the directness and may have trouble debugging, but I think some just use their favorite text editor with a syntax plugin, and then something like a GNU compiler that also interprets assembler to make an .exe. Then you can start UAE and run the exe automatically.
@Marius-vw9hp
@Marius-vw9hp 4 жыл бұрын
@@ScoopexUs Did Amiga use .exe format? I know about cc65 for 6502 processors, do you know any equivalent for Motorola 68000?
@ColumbiaTerrace84
@ColumbiaTerrace84 8 жыл бұрын
Hello, I am a beginner in programming on the Amiga (I have an Amiga 500) and I wondered if you could tell me what programming language you are using and how to use it in Workbench? Thank you very much.
@PauloSilva111
@PauloSilva111 11 жыл бұрын
@ScoopexUs - btw, i'm curious about cross-compiling to 68k hardware like Amiga, and perhaps a 68k support or develoment help for the amazing Boriel's ZX-Basic Compiler - where can we get help?
@t0rxe
@t0rxe 11 жыл бұрын
I downloaded and have ran ASM-one 1.20 from www.theflamearrows.info/documents/ftp.html. When I run ASM-ONE_OS1.3, I get asked "Please enter volume SOURCES in any drive". If I select cancel, ASM-one starts up fine, but if I try to edit the colour scheme for example (to make it blue like in your video), it says "Reqtools.library not found !!!". This also happens when I press f and then enter the amount of memory to use. I am using an A500 with 1MB of RAM and Workbench 1.3.3. Any suggestions?
@TheDarkInstall
@TheDarkInstall 7 жыл бұрын
Hey, Bit late, but I had the same issue.. You can fix this by doing the following; 1. Load Workbench, and open Shell / CLI 2. Type assign sources: sys: 3. This will temporarily assign references to 'sources' which ASM-One is looking for, to your main Amiga System folder. Sources is the place that ASM-One looks to save and load projects from, so it needs this. It would be better if ASM-One had a way to user-define this folder, but it doesn't. You will need to do this every time you run ASM-One, unless you add something to the startup procedure of Workbench to assign sources to sys (not sure how to do this myself!)
@Horrordelic
@Horrordelic 7 жыл бұрын
add assign sources: sys: , or other disk where u put it.. to your s:user-startup :)
@BitmapAxis
@BitmapAxis 11 жыл бұрын
cant wait for more
@maraisetienne2
@maraisetienne2 10 жыл бұрын
Almost 40 and learning Amiga asm. ! Please help with a question though, I am using Asm-One 1.02+ and this first tutorial assembles and runs, but on left-click my Amikit WB resets (without Guru screen). I'm on WinUAE configured for 68020 / AGA.
@ScoopexUs
@ScoopexUs 10 жыл бұрын
Are you sure you didn't forget the RTS instruction? :) Because then the computer will continue running the memory contents after the BNE as if it were code, but we've not assembled any code to after the program, so then it's just normal behavior for any computer. For this tutorial, the ideal configuration is an A500 with fastmem (and cycle-exact mode on, if you're using an emulator). You should at least use such a config if you get a crash or hang and want to know if it's because of the code or because of the config. Asm-One 1.02+ is tested working fine in WinUAE on 020/AGA from Workbench. Many early Assembler versions might not tolerate non-classic screen modes. That's because they have a fast integrated editor instead of a slow one based on OS calls. So try 640x256 mode first, or use the latest version of Asm-One or AsmPro. If it still happens, AmiKit may have added some mouse utility. You can always "boot without startup-sequence" or from floppy and run Asm-One 1.02+ from the command line. Me, I have Asm-One in my startup-sequence instead of LoadWB and go into Workbench when I need to :)
@maraisetienne2
@maraisetienne2 10 жыл бұрын
ScoopexUs Thank you so much for the info. I got the tutorial running using Devpac but I will fiddle with the suggested screen modes, configs and startups and Asm-One for a better understanding of what went wrong. Thanks again for the hard work it must have taken to compile the tutorial series.
@Optimus6128
@Optimus6128 7 жыл бұрын
Wow, cool tutorials. I might actually watch to get inspired for Amigaaah
@Optimus6128
@Optimus6128 Жыл бұрын
How ironic, 5 years ago I posted that. I only now decided to sit down on my A1200 in AsmOne to try and learn the basics.
@starquake128
@starquake128 8 жыл бұрын
Always wanted to learn assembler and now I can! This is great! One question though. ESC doesn't work for me. Also the Amiga+E I see in the menu doesn't work either. Tried it from the workbench. Tried it booting with with both mousebuttons down and skipped Startup-sequence. Then started if it from the prompt. Tried ASM-one 1.20 and 1.48. Can't get it to work. What am I doing wrong? Cheers!
@starquake128
@starquake128 8 жыл бұрын
Turns out my Escape key wasn't working correctly. Opened it up, cleaned up the contact. Then I saw my Escape key lying on the table... Glued it back. I don't think I was the first one glueing it back to the keyboard. Seems sturdy right now though. Feels the same as the other keys now. Following the rest of the tutorial. Thanks!
@ScoopexUs
@ScoopexUs 8 жыл бұрын
Hm, don't know any keyboards that require glue but glad you got it sorted anyway! Important thing is to take care of your equipment. :)
@zombiejuho2915
@zombiejuho2915 9 жыл бұрын
AsmOne, that brings back some memories, vaguely, not so much as ProTracker and Deluxe Paint III-IV =) also really old school... Seka =D
@paulspark7287
@paulspark7287 9 жыл бұрын
I don't get the #6 test on $bfe001 - thats waiting for bits 1 and 2 which are /CHNG and /LED according to my documentation. How does that work? Other question - why is the CIA used for Amiga mouse button detection rather than the JOY registers in the $DFFxxx range?
@ScoopexUs
@ScoopexUs 9 жыл бұрын
Paul Spark I'm going to skip asking what you mean when you say "waiting for bit 6 is waiting for bits 1 and 2" and instead recommend that you read System Programmer's Guide (linked from Coppershade.Org where there are also other resources)! There were tons of I/O and internal registers in the Amiga hardware, much more so than in the simpler home computers that came before. Mapping certain I/O pins to custom registers instead of CIA registers was a hardware design choice.
@paulspark7287
@paulspark7287 9 жыл бұрын
ScoopexUs OK thanks. I'll take a look at the Abacus book. I do have the Hardware Ref Manual sitting on my desk but it was late when I gave this a go. I didn't realise there were other hardware programming books so System Prog Guide looks interesting. I only had the Abacus "Amiga Machine Language" book back in the day and it focused mainly on OS library calls. Shame I hadn't bought the other book. :)
@paulspark7287
@paulspark7287 9 жыл бұрын
ScoopexUs Aha! I didn't realise BTST tested an actual bit.. #6 meaning test bit 6 not a value of 6 with bits 2 and 4 implied. Bit 6 is the fire button for the mouse port 1. Got it! Been programming in C/C++ for too long..
@carminone
@carminone 5 жыл бұрын
thank you for this series
@bozdoganli666
@bozdoganli666 3 жыл бұрын
How come workspace memory limit is so big? (almost 64 MB) I'm using Amiga500 on the emulator, which hardware are you emulating?
@ScoopexUs
@ScoopexUs 3 жыл бұрын
I'm showing hardware programming for OCS 1MB. You can follow this series on an A500+512k fastmem, or any other Amiga, or an emulator. You can also follow it on any Asm-One, AsmPro or AsmTwo version, or (with adaptation) on the assembler or environment of choice. It's nicely spotted :D but assembler version and workspace limit will change through the series I'm sure. Code still works.
@Starredmediasoft
@Starredmediasoft 6 жыл бұрын
I have another version of asm one by tfa with gray background, but I can't type # character, don't know why. I've tried other versions and it works. I'm using winuae
@ScoopexUs
@ScoopexUs 6 жыл бұрын
Copy your country's keymap to the floppy and put it in startup - or run it from your Workbench. Note that there could still be a few symbols that are different on your PC's keyboard vs an Amiga keyboard for your country. Default is USA = shift+3.
@Starredmediasoft
@Starredmediasoft 6 жыл бұрын
ScoopexUs thank you so much
@ScoopexUs
@ScoopexUs 9 жыл бұрын
Last Ninja, I'm unable to reply directly to you (Google hasn't fixed it yet or we're not to communicate unless we both have Google+), either way I hope you see this: If you're using kick 1.3, you can only use up to Asm-One 1.20, and you must use the special 1.3 version of that. In fact, I've used that in WinUAE to record some of these episodes, and it also works fine on a real Amiga 500 and up. That's fine, and you can ignore the reqtools warning or turn it off in preferences as I have here. (I'm just used to the commandline for navigating to files, it shows everything instead of looking for the file by scrolling a small window, and you don't have to wait for the directory to load to change to another directory.) If you get stuck, feel free to cheat :) and look in next episodes (f.ex. I show preferences there). You can safely cancel the SOURCES: requester or type "assign SOURCES: DH0:sources" or wherever you put your .S files. Most Asm-One versions work fine from the Workbench, certainly 1.20 does and it's only non-standard stuff like mouse add-ons, keyboard handlers or RTG modes that cause trouble.Finally, there are earlier Asm-One versions, coder tools and other downloads on Coppershade.org!
@uncletom1971
@uncletom1971 8 жыл бұрын
I have no excuse not to learn now.
@ScoopexUs
@ScoopexUs 8 жыл бұрын
Hehe, music to my ears :) Maybe we will see some happy sprites(tm)? ;)
@SimonGrowl
@SimonGrowl 7 жыл бұрын
Hey, I ran this short program to test and it works fine. However, I am getting different SSP and USP values to the ones you have. Is this a problem?
@ScoopexUs
@ScoopexUs 7 жыл бұрын
No, that's fine. The episode where I explain memory is a few episodes away yet, but basically you'll get different numbers there depending on the Amiga or emulator setup that you have.
@JohnnyStarr
@JohnnyStarr 9 жыл бұрын
ScoopexUs, how did you get those colors with ASM V1.20? Mine is a dark grey regardless of which kickstart I use. I bought Amiga Forever Plus so I could emulate without hassle. Version 1.02 is blue like the 1.3 kickstart, but not dark blue with light colors like yours.
@ScoopexUs
@ScoopexUs 9 жыл бұрын
+Johnny Starr Asm-One 1.20 has a palette editor :) Maybe it requires req.library, I don't remember. But you can set colors in the .Prefs file in S: for all of the Asm* assemblers, it's a normal text file. Versions without the palette editor will use the same colors as CLI, if you don't boot into Workbench directly. Those colors are set with the utility Sys:Prefs/Preferences. This is the case for *AsmTwo* which I released in beta just now, available from Downloads on Coppershade.org. I only used Asm-One 1.20 in some of the episodes because of an emulation issue.
@JohnnyStarr
@JohnnyStarr 9 жыл бұрын
+ScoopexUs Awesome man. I really appreciate your resources by the way. I'm going to go through all your tutorials and hopefully get where I want to be. I've done a lot of Atari / NES development so this is an interesting challenge. Are you on any forums in case I have questions?
@ScoopexUs
@ScoopexUs 9 жыл бұрын
I'm in the coder forums on English Amiga Board and in the Facebook group Amiga Code - lots of guys there too besides me who know all this stuff really well :)
@ClaudiaShifferLA
@ClaudiaShifferLA 8 жыл бұрын
I will like make a little game in Amiga, someone know where I can find a "forum" to find programmers that he like do something similar?
@ScoopexUs
@ScoopexUs 8 жыл бұрын
I recommend Coders forum on eab.abime.net, there are some programmers there who have release games the last years! (Reminds me I should release my unreleased games...:P)
@xypsy5282
@xypsy5282 8 жыл бұрын
good start.
@zombiejuho3100
@zombiejuho3100 8 жыл бұрын
Just glad to see other Amiga programmer using AsmOne instead of Seka (which i hate btw. ) =)
@ScoopexUs
@ScoopexUs 8 жыл бұрын
Hm, but they're basically the same thing since Promax ripped off Seka to make AsmOne ;) Do you mean DevPac previously known as GenAm? :)
@zombiejuho3100
@zombiejuho3100 8 жыл бұрын
Nah, i just loved AsmOne. It was way simpler :) anyway, hope you make another more "complex" intro in the future, if you find the time =) Not mental hangover or anything of that caliber but... =D just to spread the word, that Amiga ain't dead!
@oktaypocan
@oktaypocan 11 жыл бұрын
Instantly subscribed!
@funkykoval2099
@funkykoval2099 2 жыл бұрын
Thank You! Off to coding...
@Oerg866
@Oerg866 11 жыл бұрын
This tutorial is great. I come from another system and I always wanted to toy around with amiga some day :) Oerg866/TTN
@zombiejuho3100
@zombiejuho3100 7 жыл бұрын
You should do more "complex" one of these tutorials ;-) maybe some vectors etc. just leave Deluxe Paint, Protracker etc. out.
@nebularain3338
@nebularain3338 4 жыл бұрын
This is a beginners' tutorial. No need for that stuff.
@illegalquantity
@illegalquantity 6 жыл бұрын
Wow! I've never seen assembler program until now. It seems like it requires very good memory ha ha what I don't have :)
@benjaminfauchald
@benjaminfauchald 11 жыл бұрын
Instant subscribtion!
@rednight2476
@rednight2476 11 жыл бұрын
Awesome
@philipwalker7025
@philipwalker7025 6 жыл бұрын
Here goes...
@WolfgangS
@WolfgangS 6 жыл бұрын
ASM One ? Type "buddah" ;)
@hansdegroot652
@hansdegroot652 2 жыл бұрын
Bfe001 lol i remembere that address like 53280 on c64 i cannit even renember a phone number.i do remember scoopex
Amiga Hardware Programming 2 - Make a rasterline
6:46
ScoopexUs
Рет қаралды 36 М.
Web in Native Assembly (Linux x86_64)
2:03:41
Tsoding Daily
Рет қаралды 61 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Looking back at Devpac 3 - Amiga Assembler, Linker & Debugger
20:54
Amiga Tech - Copper Chunky
19:37
Dutch Retro Guy
Рет қаралды 11 М.
6502 Assembly Language: Getting Started
45:43
TokyoEdtech
Рет қаралды 34 М.
Modern Amiga Demo Cross-Development
1:13:33
nonamehjb
Рет қаралды 11 М.
Is AROS The Future of Amiga?
32:00
Dan Wood
Рет қаралды 124 М.
I designed my own 8-bit computer just to play PONG
17:19
x86 Assembly: Hello World!
14:33
John Hammond
Рет қаралды 1,4 МЛН
100 Amiga games in 10 minutes!
10:00
laffer35
Рет қаралды 2,3 МЛН
Amiga Tech - CPU Assisted Blitting (A1200)
11:11
Dutch Retro Guy
Рет қаралды 8 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН