English Amiga Board Amiga Lore


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 15 June 2017, 13:29   #1
Nightfox
Registered User

Nightfox's Avatar
 
Join Date: Apr 2016
Location: Australia
Posts: 148
Floppy disk MC68000 series tutorial series

Hello everyone,

I have begun writing a series teaching 68k assembly from the basics and will eventually move onto Amiga specific coding.

If you're a beginner then feel free to check out part 1 here and if you want to get updated to more parts feel free to follow me (you'll need a free account to follow me). And while you're there, you can all make money by simply making posts or even commenting on other people's posts. Every single up-vote you receive from a person gets you real money, even if its just a comment you made on someone else's post. This site is going to be bigger than Reddit! It's really exciting actually. You guys can also feel free to share your wisdom on there too if you want.

https://steemit.com/programming/@sac...utorial-part-1
Nightfox is offline  
AdSense AdSense  
Old 16 June 2017, 11:04   #2
Marchie
Registered User

Marchie's Avatar
 
Join Date: Jul 2016
Location: Sydney
Posts: 174
That was interesting indeed. Cheers.
Marchie is offline  
Old 16 June 2017, 14:06   #3
michaelz
Registered User

 
Join Date: Jan 2017
Location: Den Haag / Netherlands
Posts: 188
Quote:
Originally Posted by Marchie View Post
That was interesting indeed. Cheers.

I get an "Sorry, this page does not exist"?
michaelz is offline  
Old 16 June 2017, 15:52   #4
tolkien
AmigaMan

tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 429
Thanks! I'm very interested but the link gives an error.
tolkien is offline  
Old 17 June 2017, 10:17   #5
whiteb
Fanatically Amiga.

whiteb's Avatar
 
Join Date: Apr 2002
Location: Melbourne, Victoria, Australia
Age: 47
Posts: 1,490
Hi Nightfox...

I posted here but not on that new forum..

I am in no way a coder, but I know enough about chips, in your first article, you are explaining about the instructions (Mips, Instructions per second) versus Mhz (Frequency of operation).

Quote:
For example, the stock M68000 CPU runs at 7Mhz, that is, 7 million instructions per second
In your example, you put 1Mhz at 1Mips, where this being a 68000 example (or any 68000 series Processor), you cannot directly co-relate MIPS with the frequency.

The 68000/8 (8Mhz) will in NO WAY IN HELL run at 8 MIPS, because you are limited by how many instructions you can execute, in any one given clock cycle. To say that the CPU is efficient to execute one instruction per cycle, is at a push optimistic. the 68000, you might be VERY LUCKY, if your code is optimized, to get away with an instruction every 4 cycles.

the official documentation puts the 68000 at around 0.175 instructions per cycle, which gives you roughly 1.3 Mips at 8Mhz.

Moving up to the 68030, which is an optimized 68020 core, you are pushing maybe 9Mips at 25mhz. (Official docs put it at about 0.36 instructions per cycle, notice its more efficient than the 68000).

But then, this is where things get really bloody funky, the 68060, is rated at 1.33 instructions per cycle, more than 1:1, at about 110 Mips at 75Mhz.

Fast forward from the 80's and 90's, CPU's are *VERY* efficient, with the I7 rated at 106:1 (10.6 Instructions per cycle) so.... 317,000 Mips at 3Ghz.

Its all about the efficiency of instructions per cycle (Where on the cycle, and how many), and in the 68000 series, no where near 1:1.

Quote:
Accelerator boards are available to provide better models of the CPUs such as 68030, 68040 and 60860. What happened to the 68050? Apparently Motorola forgot how to count.
They didnt forget to count the 68050, it was an internal project, with faster clocks and higher heat dissipation than the 68040, but the 68000 series was advancing fast enough to warrant a series skip direct to the 68060.

The 68070 was never produced, but was licensed by, and used by Philips, in its CD/I, and because it was produced by Philips, it was never an official Motorola line.

Motorola always released in Evens (000, 020, 040, 060), with odds (010, 030, 050) being revisions of the parent core. 68000 - 68010 (I had one, at 12Mhz with the only beneficial instruction used by WHDLOAD to execute the QUIT command back to DOS), 68020 - 68030, 68030 was MORE popular, it was majorly used in MAC's, as well as a lot of Cisco routers at the time, which is why, if you look for a 68030, try to get a hold of an Apple Mac (with the built in monitor), or a Cisco 2500 Series.

Last edited by whiteb; 17 June 2017 at 10:50.
whiteb is online now  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Valhalla Series bippym project.Maptapper 20 28 June 2013 15:49
Wanted PD-series RiSe request.Other 3 02 October 2012 14:29
slowdown in 1.4 series (and more) DanielCordell9 support.WinUAE 7 01 September 2007 14:00
17-Bit Series jasonver2.0 project.TOSEC (amiga only) 7 11 September 2006 13:53
Valhalla-series Bamiga2002 Games images which need to be WHDified 10 03 March 2006 20:38

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:07.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.11573 seconds with 14 queries