06 November 2018, 22:11 | #721 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,959
|
Quote:
BTW. Especially for plasmab, I forget about a few hacky (for me) version, but more readable perhaps version. Used sometimes inside some programs. Good f.e for programs with more than 32K and less than 64K. Even in Amiga ROM modules. bsr.w Skip1 rts ; up to 32k code/data here Skip1 bra.w Skip2 ; up to 32k code/data here Skip2 bra.w Skip3 ; up to 32k code/data here Skip3 bra.w Skip4 ; up to 32k code/data here Skip4 moveq #0,d0 rts |
|
06 November 2018, 23:01 | #722 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
You know i actively contribute to DiagROM right? I'm happy with doing things the hacky way. I just have guilt for it.
|
06 November 2018, 23:13 | #723 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,959
|
No, i dont resourced DiagROM code. I mean about original Amiga ROM modules. Anyway, very rare exist 68k program written in 68k ASM and bigger than 100k.
|
06 November 2018, 23:25 | #724 | |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
Quote:
In DiagROM i tend to do ... Code:
code: lea .return_address,a4 jmp my_subroutine .return_address |
|
07 November 2018, 01:35 | #725 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,959
|
|
07 November 2018, 08:37 | #726 |
Banned
Join Date: Sep 2016
Location: UK
Posts: 2,917
|
|
08 November 2018, 12:16 | #727 | ||
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
|
Quote:
Quote:
I'm not so sure about that, CP/M-68K seems to have extra features in the executable format to allow for sections, etc (see here: https://www.google.com/url?sa=t&rct=...IbvCI3Zv5nrdnB). AFAIK CP/M-86 does not do this. Apologies for the 'Google link', but I can't seem to get a direct link out of Google |
||
08 November 2018, 20:28 | #728 | |||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
Quote:
Quote:
Quote:
That said, I only write OS friendly stuff Again, it depends. If you have some small data, then it's probably nicer to embed it into the executable (data segment!), because now you have one file with no dependencies. If you have a lot of data and you simply incbin EVERYTHING, then sure, it's crap. |
|||
08 November 2018, 20:51 | #729 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
|
Also another reason for incbin not being lazy is in part the crap block allocation on the PC hard drive systems.
Having lots of small files that are smaller than the smallest block size the PC can cope with leads to LOTS of wasted room where a game takes up more space than necessary, which obviously years ago was a no-no with the cost of hard drives. But the prospect of loading lots of little files will overly extend a loading sequence, not shorten it. Its hardly "hacky" to improve the end user experience. EDIT: Ah, this might all be rather moot now, Plasmab appears to be banned! |
08 November 2018, 20:58 | #730 |
Global Moderator
Join Date: Sep 2008
Location: Might as well be WORK :(
Age: 56
Posts: 4,110
|
Before anybody starts jumping the gun on his ban, read this http://eab.abime.net/showthread.php?...68#post1283468 then maybe if it's worth continuing, keep it on topic please
|
08 November 2018, 21:11 | #731 | |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
|
Quote:
What exactly did he do? |
|
08 November 2018, 21:24 | #732 |
Global Moderator
Join Date: Sep 2008
Location: Might as well be WORK :(
Age: 56
Posts: 4,110
|
I know you aren't Galahad, I'm simply stopping something that might start. He deleted every single post of his on EAB and I've had the misfortune of restoring all of his 2500+ posts.
There's more to it than that, but this is not the place for that discussion. Continue as you were all |
08 November 2018, 21:50 | #733 | |
Registered User
Join Date: Nov 2018
Location: Boyertown, PA USA
Posts: 35
|
A huge thanks for your effort of restoring those deleted posts. There's a wealth of valuable knowledge in his posts, I'm glad they weren't lost for good.
But why is the TF530 thread locked? What about those besides Steve who are still actively working on and wish to contribute to the project? Quote:
Last edited by dkedrowitsch; 08 November 2018 at 21:58. |
|
08 November 2018, 22:04 | #734 | ||
Registered User
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,544
|
Quote:
So despite having a small header CP/M-68k is a fairly close match to MSDOS, and therefore perhaps a fair comparison? However CP/M-86 would not be, because... CP/M-86 executables (.CMD) Quote:
|
||
08 November 2018, 22:12 | #735 | ||
Global Moderator
Join Date: Sep 2008
Location: Might as well be WORK :(
Age: 56
Posts: 4,110
|
Quote:
Quote:
OK all, back on topic please, if you have anything to say about the matter you can PM me or one of the other mods/GM's, but no more in this thread please. |
||
09 November 2018, 09:24 | #736 | |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,918
|
Quote:
|
|
10 November 2018, 10:57 | #737 | |||||
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
I've just finished my emotional article about processors - https://litwr.livejournal.com/3096.html
Quote:
Code:
MOV table(A0,D1),D2 Quote:
Quote:
I have only claimed that ARM@25MHz can be faster that 80486@25MHz. Indeed, the official benchmark shows that 80386@33MHz is faster that ARM@12MHz. However they sometimes used Acorn's Basic against C-compilers at x86! My experience with ARM let me say that ARM allows to write very compact and fast codes which are much better than codes generated by compilers of the 80s or even 90s. Quote:
Quote:
|
|||||
10 November 2018, 11:21 | #738 | ||
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
Such instruction doesn't exist anyway! And if you need something like that Code:
move.w table(pc,D1.w),D2 works wonders and is of course fully relocatable. Quote:
That's wrong for 68k at least! In some(!) cases relocatable code can be slower/bigger but in most of the cases it is faster and shorter! |
||
10 November 2018, 11:48 | #739 |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
Sorry, I meant move.w (d8,a0,d1),d2.
BTW I have just made 68000 cycles count for a standard line bresenham algorithm implementation by meynaf which shows the best code density. It is 70. 80386 takes 52, 80486 - 24, and ARM - 16. In my previous post I wrote 14 for ARM by a mistake. It is interesting to get 68020 timing. Please help with it. BTW I didn't count cycles for return from subroutine. |
10 November 2018, 12:04 | #740 | |||||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Quote:
Quote:
Quote:
Every cpu with mmu can do this Quote:
COM is limited to 64k, this rather shows how inferior x86 is. And COM isn't supported anymore today. Any decent CPU, even ARM, can do position-independent code. What's absolutely clear is that you're strongly biased in favor of x86. Why the heck would we need this ? Quote:
Why don't we do a c2p/p2c rather ? It would be fun to see some x86 or arm version. |
|||||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any software to see technical OS details? | necronom | support.Other | 3 | 02 April 2016 12:05 |
2-star rarity details? | stet | HOL suggestions and feedback | 0 | 14 December 2015 05:24 |
EAB's FTP details... | Basquemactee1 | project.Amiga File Server | 2 | 30 October 2013 22:54 |
req details for sdl | turrican3 | request.Other | 0 | 20 April 2008 22:06 |
Forum Details | BippyM | request.Other | 0 | 15 May 2006 00:56 |
|
|