22 June 2010, 18:57 | #1 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,358
|
for ASM programmers
On the Natami forums i have suggested some extensions for the N68050 (there i post under the name Phil G). Perhaps some will make their way in it, perhaps none.
I thought it could be good to somehow poll this forum's programmers for their needs. So i ask you guys : what new features would you see to come on 68k ? If you were designing it, what new instructions / addressing modes would you add, with which encoding ? |
23 June 2010, 17:10 | #2 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,856
|
Quote:
To me, 68K is fine the way it is |
|
23 June 2010, 21:58 | #3 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,674
|
I'm with Thorham! even though if the chipset is something like a combo of CD32 and AGA with extra steroids, it would be interesting to see a fully compatible CPU remade running at the full speed possible today.
|
23 June 2010, 22:06 | #4 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
I'd like to see all addressing modes available as both source and destination, but I don't know how to solve the instruction encoding.
There's some good programming practice mumbojumbo behind f.ex not allowing PC-relative as destination, but I think if you're writing assembly you should know your stuff well enough not to screw up more than otherwise. Another funny restriction in the M68K is that EOR from memory is not allowed, while AND and OR is. Why is that? |
23 June 2010, 22:43 | #5 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,674
|
It could be that they ran out of encoding-bits left in the instruction word for that particular instruction or "instruction family" and thought it ugly to do a special separate instruction for that function. The encoding info in the programmer's manual could give a clue.
I should add that apart from a remade Amiga on steroids, I'm also all in favor of starting from the very base and get that perfect to build on that (Schoenfelt/A1k etc). Nothing wrong with that. But the ultimate dream would be to have a 100% compatible chipset and a completely remade but 100% compatible CPU at blinding speed (ie. super fast memory and running as fast as it can with excellent caches). That would open up some possibilities like fast web browsers and Javascript engines (HTML5 is the new black and Flash can go hide in shame, finally), and competent dev environments with nice high-level languages. For other people of course, not me. I don't mind the limitations of the real deal, it's their challenge that is the reason for me to still be into Amigas. Lordy, my English is starting to fail me, a clear signal that it's time for bed. |
24 June 2010, 13:13 | #6 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,358
|
When Mot' did 68000 they profiled real programs.
And then they've seen that EOR is less often used than the two other logic operations. But this is IMO one of the big mistakes of 68k : once out of 2, when i need memory EOR it's not here ! There was enough encoding space to make full EOR (by using line-A space), but now it's too late - or it will be 2 bytes longer. Other things that are missing are ability to make exg with memory, e.g. exg.b (a0),d0 The speed of the cpu is something else ; my question was above all about new stuff for programmers. Now what ? Don't anyone have suggestions ? |
26 June 2010, 16:51 | #7 |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 876
|
a mea (move effective address, e.g. mea (_xx,pc),(12,a0)) would be nice
but I doubt that any new instruction make sense, compatibility for user programs is enough |
26 June 2010, 17:10 | #8 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
DBcc with longword size is probably something a lot of programmers have wished for.
|
26 June 2010, 19:15 | #9 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,200
|
|
28 June 2010, 10:58 | #10 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,037
|
|
28 June 2010, 11:51 | #11 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,358
|
Quote:
Code:
mea macro pea \1 move.l (a7)+,\2 endm |
|
28 June 2010, 13:20 | #12 | |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Quote:
Code:
; d7 is the loop counter subq.l #1,d7 .loop: <loop code> DBcc d7,.loop Bcc .exit sub.l #$10000,d7 bcc .loop .exit: |
|
28 June 2010, 14:15 | #13 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
IMHO these are useless micro-optimizations that no one really needs, they only fragment Amiga hardware more and more..
|
28 June 2010, 16:05 | #14 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,358
|
Fragmentation of Amiga HW is less important when you're gonna make a new machine anyway (with new features)... and this is the case with Natami.
|
28 June 2010, 16:57 | #15 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,888
|
Some DSP instructions? inverse addressing (bit reverse)? hardware loop?
|
28 June 2010, 17:40 | #16 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,200
|
The 68050 is approaching final release and you still think it's in planning?
The 5th from the bottom of this page. BTW, a bit reverse and byte reverse opcode are currently in there also. |
28 June 2010, 17:46 | #17 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,200
|
|
28 June 2010, 18:00 | #18 | |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,037
|
Quote:
|
|
22 July 2010, 05:45 | #19 | |
Registered User
Join Date: Jul 2010
Location: London, UK
Posts: 14
|
Quote:
In any case, even if hardware and FPGA coding are near completion, the original 3.1 kickstart will still need some tweaks, for example adding USB support, bits to do with RTG, and surely the OS3.9 setpatch. I think all that won`t be ready too soon. Why do I think so? As an ASM coder, and once part of the team, I was asked a couple of months back, but I`m a bit busy on AROS right now... Anyone here up to that task? Sadly Gunnar seems to think that such tweaks can be hacked together in a week - he is a game-coder, which is linear, and not quite the same as complex, often interdependent and multitasking routines, that need to support (crash free!) the OS... |
|
22 July 2010, 07:35 | #20 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,037
|
Yes and that's why I've written 'So it's not'. Info on the news page of the NatAmi site is a tad sparse and I don't follow the forum tbh. Hence I didn't know in which stage the 68050 was/is. Just wondered why this question (extensions for ther 68050) appears now that it 'approaches final' and not before. That's all.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Who are/were the best programmers? | Codetapper | Retrogaming General Discussion | 62 | 27 August 2010 23:53 |
Game programmers wanted please! | Pyromania | News | 1 | 22 December 2005 01:40 |
For Game Programmers... | DaphydTheBard | Retrogaming General Discussion | 46 | 26 November 2005 17:01 |
Programmers question | Tolismlf | Coders. General | 6 | 12 December 2004 09:13 |
Got Programmers? | Ian | Retrogaming General Discussion | 1 | 18 October 2001 01:57 |
|
|