Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A600 Memory

AuthorTopic: New version of the exec.library (Amiga Classic)  (Read 12855 times)

0 Members and 1 Guest are viewing this topic.

Offline Cosmos

New version of the exec.library (Amiga Classic)
« on: February 24, 2011, 04:08:41 PM »
New version of the exec.library v45.24 : http://eab.abime.net/showthread.php?t=57950


The exec.library was written in asm since the beginning. So, it's hard to get
a real speedup. Anyway, many bytes can be saved using some 68k tricks.
All the code are always reworked to use all the features of the 68060 with a
full 68000 compatibility. The new 020+ opcodes are used very rarely, so
special _020, _030, _040 and/or _060 functions are created when needed.

This library is now a true jewel of coding. Enjoy !

Offline nicholas

Re: New version of the exec.library (Amiga Classic)
« Reply #1 on: February 24, 2011, 06:19:02 PM »
Quote from: Cosmos;617692
New version of the exec.library v45.24 : http://eab.abime.net/showthread.php?t=57950


The exec.library was written in asm since the beginning. So, it's hard to get
a real speedup. Anyway, many bytes can be saved using some 68k tricks.
All the code are always reworked to use all the features of the 68060 with a
full 68000 compatibility. The new 020+ opcodes are used very rarely, so
special _020, _030, _040 and/or _060 functions are created when needed.

This library is now a true jewel of coding. Enjoy !


I'll wait for Piru's opinion first. ;)
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline commodorejohn

Re: New version of the exec.library (Amiga Classic)
« Reply #2 on: February 24, 2011, 07:03:16 PM »
If I were to try this, would I put it before or after "cpu fastrom" in startup-sequence?
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline Cosmos

Re: New version of the exec.library (Amiga Classic)
« Reply #3 on: February 24, 2011, 07:05:41 PM »
Like this in your StartUp-Sequence :

Loadresident force exec.library_45.24

SetPatch Quiet

Cpu fastrom

Offline nicholas

Re: New version of the exec.library (Amiga Classic)
« Reply #4 on: February 24, 2011, 08:34:53 PM »
Quote from: Cosmos;617692
New version of the exec.library v45.24 : http://eab.abime.net/showthread.php?t=57950


The exec.library was written in asm since the beginning. So, it's hard to get
a real speedup. Anyway, many bytes can be saved using some 68k tricks.
All the code are always reworked to use all the features of the 68060 with a
full 68000 compatibility. The new 020+ opcodes are used very rarely, so
special _020, _030, _040 and/or _060 functions are created when needed.

This library is now a true jewel of coding. Enjoy !

@Cosmos

Commodore Amiga can host your fully patched Kickstart ROM on our Iranian servers if you want?
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline RMK305

Re: New version of the exec.library (Amiga Classic)
« Reply #5 on: February 24, 2011, 09:57:44 PM »
Are your servers now protected from the Stuxnet virus or is there likely to be a lot of downtime?
Amiga 4000, Warp Engine 040/40MHz, CV643D with scan doubler module, Tocatta soundcard, Deneb, 72Meg fast ram, 18 gig scsi hard drive.

3xA500, 1xA1200, 1xCD32
 

Offline NovaCoder

Re: New version of the exec.library (Amiga Classic)
« Reply #6 on: February 25, 2011, 01:13:06 AM »
Quote from: Cosmos;617692
New version of the exec.library v45.24 : http://eab.abime.net/showthread.php?t=57950


The exec.library was written in asm since the beginning. So, it's hard to get
a real speedup. Anyway, many bytes can be saved using some 68k tricks.
All the code are always reworked to use all the features of the 68060 with a
full 68000 compatibility. The new 020+ opcodes are used very rarely, so
special _020, _030, _040 and/or _060 functions are created when needed.

This library is now a true jewel of coding. Enjoy !


Thanks for this effort Cosmos.


What I would personally like to see are updated libraries that are CPU targeted without any support for 68000 (eg remove 68000 compatibility completely).  

Either come up with 2 library versions (020/030) and (040/060) or one single library (020/030 with 040/060 functions where needed).
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline commodorejohn

Re: New version of the exec.library (Amiga Classic)
« Reply #7 on: February 25, 2011, 01:20:36 AM »
Quote from: NovaCoder;617822
What I would personally like to see are updated libraries that are CPU targeted without any support for 68000 (eg remove 68000 compatibility completely).
This is an interesting idea, although it may not significantly increase performance, depending on whether processor-specific routines are branched to each time the function is called or whether there's simply a jump table that gets set to the appropriate routines at load time.
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline Cosmos

Re: New version of the exec.library (Amiga Classic)
« Reply #8 on: February 25, 2011, 05:39:06 AM »
>that are CPU targeted without any support for 68000 (eg remove 68000 compatibility completely)

Yes, of course, it's planned !

But not for now. I want an unified Kickstart ready for 68000+ with all patchs included. After that, we will see...

Offline Dwyloc

Re: New version of the exec.library (Amiga Classic)
« Reply #9 on: February 25, 2011, 12:04:11 PM »
Quote from: Cosmos;617859
>that are CPU targeted without any support for 68000 (eg remove 68000 compatibility completely)

Yes, of course, it's planned !

But not for now. I want an unified Kickstart ready for 68000+ with all patchs included. After that, we will see...

Yes its always nice to have the option of running your new exec.library on our minimigs and A500s with harddrives.
Sam440ep 667mhz 512megs OS4.1
Minimig, 4MB RAM, ARM add-on board
Amiga 1200 Eyetech mk4 Tower, Blizzard 1240 040/40 32MB Fast ram, IDEFix Express mk2, mediatorSX pci, Voodoo3 PCI, PCI network card, OS3.9 BB2.
 

Offline Templario

Re: New version of the exec.library (Amiga Classic)
« Reply #10 on: February 25, 2011, 01:27:43 PM »
Thank you Cosmos, I'll try to install in my WinUAE.
Amiga 500 with ROMs 1.3-2.05 and M-Tec AT 500 with hard disk and 4MB Ram.
WinUAE + Original OS 3.5&3.9
Sam440ep 800 MHZ + OS 4.1 F.E.
Sam460ex 1 GHz + OS 4.1 + Update 6. K.O.
MacMini 1.5 GHz + MorphOS 3.9
PowerBook G4 1.65 + MorphOS 3.9
 

Offline joetee

Re: New version of the exec.library (Amiga Classic)
« Reply #11 on: February 28, 2011, 02:03:27 AM »
Thank you Cosmos for the Trillions of CPU cycles you will save us all!
I will take time to see if it has any wierd bugs, but I'm sure it will make Carl Sassenrath smile.  I hope you will support NatAmis 68050,70, etc. feature/instruction sets too.
Thank you very much!!!
(...I just hope it dosen't interfere with running Mindguard...)
Joe Torre .  . ...X Hardware Engineer @ Amiga Inc... .  .
 

Offline Cosmos

Re: New version of the exec.library (Amiga Classic)
« Reply #12 on: February 28, 2011, 05:31:40 AM »
>for the Trillions of CPU cycles you will save us all!

Yes, 68k have low Mhz, so each cycles saved is good for us !


>I'm sure it will make Carl Sassenrath smile

Smile ?? He will cry when he'll see my unified autovec !!

Offline joetee

Re: New version of the exec.library (Amiga Classic)
« Reply #13 on: February 28, 2011, 10:40:46 PM »
Cosmos,
Quoted from Aminet:
"Autovec unified and 9 times faster (68 bytes now instead of 612 bytes)"
Wow!
I guess I'll need to strip out Decigel from my old startup-sequences.
If VBR in chipmem is 4X slower, it's still faster with your Exec!
HW wise: I thought the most responsive or _crispest_ Amiga's I(we)'ve seen have 32 bit zero waitstate memory located @ CZero (even if only 256K) even if they have megabytes elsewhere.
This was because of Kickstart adding that memory in so early (1986+ CSA accellerators) and Execbase being located there I thought.  
With regular kickstarts, and your new Exec, will C0 just contain a jump instruction to where your Exec.device is placed from arguments from its launch?
 I'm feeling rusty now, I need to RTFM more to understand.  This is AWESOMSE!
You guys are so fucking smart!
Joe Torre .  . ...X Hardware Engineer @ Amiga Inc... .  .
 

Offline Tumbleweed

Re: New version of the exec.library (Amiga Classic)
« Reply #14 on: March 01, 2011, 01:35:24 PM »
Quote from: Cosmos;617711
Like this in your StartUp-Sequence :

Loadresident force exec.library_45.24

SetPatch Quiet

Cpu fastrom


I couldn't get this to work. My A4000 went into an endless reboot cycle with a yellow screen.

I fixed it though by using this:

LoadModule Libs:exec.library_45.24 NOREBOOT
StepPatch SKIPROMMODULES scsi.device, exec.library >NIL:

Worked a treat after that.

Weed
A4000D, Cyberstorm MKII 060, CV3D, Scandoubler, Deneb2.0; A3000D 040, CV64; A3000T, PicassoII, Z3 Fastlane; A2000D, 040, PicassoII; A1200, Blizzard 030 MKIV.