English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1384
Search took 0.11 seconds.
Search: Posts Made By: Don_Adan
Forum: Coders. General Yesterday, 12:41
Replies: 305
Views: 19,804
Posted By Don_Adan
Ok, fixed, thanks. Ext.l is not necessary for...

Ok, fixed, thanks.
Ext.l is not necessary for this version. Because D7 (D5 later) is handled as word only.
Ext.l is only necessary for litwr version of PR0000 routine with divu.w, for sub.w version...
Forum: Coders. General Yesterday, 05:13
Replies: 305
Views: 19,804
Posted By Don_Adan
Small size optimisations. To do end part, VBI...

Small size optimisations. To do end part, VBI ticks conversion routine to time.



OldOpenLibrary = -408
CloseLibrary = -414
Output = -60
Input = -54
Write = -48
Read = -42
Forum: Coders. General 10 June 2021, 22:52
Replies: 305
Views: 19,804
Posted By Don_Adan
Added more a/b optimisations. DCB.B was used in...

Added more a/b optimisations. DCB.B was used in github version. I made changes (cleaning code) step by step. Now ds.b is used.



OldOpenLibrary = -408
CloseLibrary = -414
Output = -60
Input...
Forum: Coders. General 10 June 2021, 16:00
Replies: 305
Views: 19,804
Posted By Don_Adan
Test version, added a/b optimisation. More...

Test version, added a/b optimisation. More changes after dinner.

Moved D2 and D3 out of full loop, maybe can be a few fastest now.



OldOpenLibrary = -408
CloseLibrary = -414
Output = -60...
Forum: Coders. General 08 June 2021, 14:24
Replies: 305
Views: 19,804
Posted By Don_Adan
Version from post 265 is almost same like litwr...

Version from post 265 is almost same like litwr version, because small speed optimisations are removed by changing dbra with subq.l/bne.b in init part. Only version from post 269 (with new PR0000...
Forum: Coders. General 05 June 2021, 16:28
Replies: 305
Views: 19,804
Posted By Don_Adan
Different version of PR0000 routine. Maybe...

Different version of PR0000 routine. Maybe fastest, maybe not.



OldOpenLibrary = -408
CloseLibrary = -414
Output = -60
Input = -54
Write = -48
Read = -42
Forum: Coders. General 05 June 2021, 15:34
Replies: 305
Views: 19,804
Posted By Don_Adan
This is standard litwr version only cv handling...

This is standard litwr version only cv handling and a few size was optimised. I will put source of optimised (?) version today. Of course i can made some errors when i joining source.
Forum: Coders. General 05 June 2021, 01:17
Replies: 38
Views: 1,208
Posted By Don_Adan
Yes, but audio.device has problem with other CPUs...

Yes, but audio.device has problem with other CPUs too. My tester has 68060, but meynaf has 68030. From my point of view, for programs/players test, you need only use 68000, 68020 and 68040 CPU. If no...
Forum: Coders. General 04 June 2021, 16:53
Replies: 38
Views: 1,208
Posted By Don_Adan
Meynaf is right, for some Amiga players extra DMA...

Meynaf is right, for some Amiga players extra DMA wait is necessary if player used audio.device for playing mods on f.e 68060. From my memory MaxTrax and perhaps Music-X, and maybe some custom mods...
Forum: Coders. General 03 June 2021, 20:00
Replies: 305
Views: 19,804
Posted By Don_Adan
I joined all code, but untested if it works or...

I joined all code, but untested if it works or can be assembled.



OldOpenLibrary = -408
CloseLibrary = -414
Output = -60
Input = -54
Write = -48
Read = -42
Forum: Coders. General 03 June 2021, 14:21
Replies: 305
Views: 19,804
Posted By Don_Adan
Sorry, present i dont have access to my Amiga. ...

Sorry, present i dont have access to my Amiga.
You can download this version and replace some parts manually. Maybe later i will join all changes.
...
Forum: Amiga scene 03 June 2021, 00:01
Replies: 54
Views: 6,950
Posted By Don_Adan
For me this dot matrix engine will be perfect to...

For me this dot matrix engine will be perfect to use for sub games for new Amiga AGA pinball game :)
Forum: Member Introductions 02 June 2021, 03:59
Replies: 42
Views: 8,597
Posted By Don_Adan
51 years. Happy Birthday Ross.

51 years. Happy Birthday Ross.
Forum: Coders. Asm / Hardware 31 May 2021, 03:17
Replies: 24
Views: 1,073
Posted By Don_Adan
I will use next code, but this is not fastest. ...

I will use next code, but this is not fastest.



swap D7
move.w D7,D4
add.w D4,D4
subx.w D4,D4
eor.w D4,D7
sub.w D4,D7
Forum: Coders. Asm / Hardware 31 May 2021, 02:31
Replies: 24
Views: 1,073
Posted By Don_Adan
Im not eor expert, but are you sure that it works...

Im not eor expert, but are you sure that it works correctly? For me for D7=$FFFF, you received D7=0, not D7=1.
Forum: Coders. General 30 May 2021, 17:36
Replies: 305
Views: 19,804
Posted By Don_Adan
Init code optimised a few. start ...

Init code optimised a few.



start lea libname(pc),a1 ;open the dos library
move.l 4.W,a5
move.l a5,a6
jsr OldOpenLibrary(a6)
move.l d0,a6
...
Forum: Coders. General 30 May 2021, 01:30
Replies: 305
Views: 19,804
Posted By Don_Adan
If you want, you can check this version, 2 bytes...

If you want, you can check this version, 2 bytes longer, but full loop is 2 bytes shortest.


.l7
mulu.w #7,d6 ;kv = d6
lsr.l #2,D6 ; /4
...
Forum: Coders. General 29 May 2021, 15:12
Replies: 305
Views: 19,804
Posted By Don_Adan
No. decimals = buffer/7 But this 68k...

No.
decimals = buffer/7

But this 68k routine wrote 4 digits at once.

Then for $10000/7=9362.
Because wrote 4 digits, then 9360 is max.

Perhaps routine which wrote 1 or 2 digits at once...
Forum: Coders. General 28 May 2021, 03:47
Replies: 305
Views: 19,804
Posted By Don_Adan
Especially for you longwords based version, 2...

Especially for you longwords based version, 2 bytes shortest from my previous version.
But of course divu.w d4,d3 limit still occured.

Sorry, 4 bytes shortest


.l7
mulu.w #7,d6 ...
Forum: Coders. General 27 May 2021, 22:23
Replies: 305
Views: 19,804
Posted By Don_Adan
I checked your latest repo and: ...

I checked your latest repo and:

sub.w #28,d6 ;kv, this limits to 9360 digits - #14 did not have this limit

Hahaha, you are very funny.
BTW. You still dont optimise code speed for...
Forum: Coders. General 27 May 2021, 21:25
Replies: 305
Views: 19,804
Posted By Don_Adan
Are you able to understand 68k code? Check this...

Are you able to understand 68k code?
Check this post:
http://eab.abime.net/showpost.php?p=1487086&postcount=232

You see this (your original code):

mulu #7,d6 ;kv = d6

this is D6...
Forum: Retrogaming General Discussion 27 May 2021, 17:43
Replies: 732
Views: 53,486
Posted By Don_Adan
Amiga with 68020+ CPU can use up to 4GB of...

Amiga with 68020+ CPU can use up to 4GB of memory, only current version of Amiga OS can handle 2GB, but maybe it will be fixed in next versions of Amiga OS. WinUAE can be used for tests. On Amiga you...
Forum: Coders. General 27 May 2021, 12:07
Replies: 305
Views: 19,804
Posted By Don_Adan
Really? 9400x7=65800 bytes. Out of 65536 ($10000)...

Really? 9400x7=65800 bytes. Out of 65536 ($10000) bytes. My version has no impact of number of digits. Current version is limited by this code only:
move.l d6,d4
subq.l #1,d4
because
divu.w...
Forum: Coders. General 26 May 2021, 21:23
Replies: 305
Views: 19,804
Posted By Don_Adan
This is EAB rule then you must be happy with my...

This is EAB rule then you must be happy with my very poor english or wait 100 years when Google translator will be good enough for translation polish texts.
Forum: Coders. General 26 May 2021, 21:06
Replies: 305
Views: 19,804
Posted By Don_Adan
How you calculated this? Which program you used?...

How you calculated this? Which program you used? 9360 is maximum value for $10000 buff and this is not changed.
Forum: Coders. General 26 May 2021, 21:01
Replies: 305
Views: 19,804
Posted By Don_Adan
Because Pi routine after some time is overflowed...

Because Pi routine after some time is overflowed more than 1 bit ( over $1FFFF), then my idea can not be used. Thanks to Phil for tests this. And Saimo version is the best option for internal loop.
...
Forum: Coders. General 26 May 2021, 20:39
Replies: 305
Views: 19,804
Posted By Don_Adan
My code which replaces sub #14,d6 with sub #28,d6...

My code which replaces sub #14,d6 with sub #28,d6 imposes a limit of 9360 digits?
Oooh, really? It must be magic. Here is this optimisation http://eab.abime.net/showpost.php?p=1485203&postcount=138...
Forum: Retrogaming General Discussion 26 May 2021, 01:05
Replies: 732
Views: 53,486
Posted By Don_Adan
From my point of view better is porting Final...

From my point of view better is porting Final Fight II or Final Fight III to Amiga (AGA?). Because these games dont exist on Amiga. After succesfully porting, eventually port of Final Fight can be...
Forum: Coders. General 24 May 2021, 02:53
Replies: 305
Views: 19,804
Posted By Don_Adan
Really "perfectly right?" Tell me, if...

Really "perfectly right?"

Tell me, if someone wrote:

btst #21,$10000

then which bit from which byte (address) he want to test?
Forum: Coders. General 23 May 2021, 22:06
Replies: 305
Views: 19,804
Posted By Don_Adan
You are very funny. You used buggy program which...

You are very funny. You used buggy program which cant calc size of loop routine correctly. You was too lazy to read/check my reply, where I counted all instructions used in main loop. You know better...
Forum: Coders. General 23 May 2021, 01:44
Replies: 305
Views: 19,804
Posted By Don_Adan
Perhaps fixed now, but code is longer. ...

Perhaps fixed now, but code is longer.


clr.l -(SP) ; cv
moveq #0,D7

.l0 clr.l d5 ;d <- 0
move.l d6,d4 ;i <- kv, i <- i*2
adda.l d4,a3
...
Forum: Coders. General 22 May 2021, 22:55
Replies: 305
Views: 19,804
Posted By Don_Adan
I found one bug, in my version D7 is not handled...

I found one bug, in my version D7 is not handled correctly for odd values. I must rethink this routine again.
Forum: Coders. General 22 May 2021, 17:57
Replies: 305
Views: 19,804
Posted By Don_Adan
Then you used buggy program, i calculated number...

Then you used buggy program, i calculated number of instructions manually, 28 instructions, 56 bytes. You can tell me which instruction can not be counted, i signed all 28 instructions from your...
Forum: Coders. General 22 May 2021, 16:06
Replies: 305
Views: 19,804
Posted By Don_Adan
2 bytes shortest version. clr.l...

2 bytes shortest version.

clr.l -(SP) ; cv
moveq #0,D7

.l0 clr.l d5 ;d <- 0
move.l d6,d4 ;i <- kv, i <- i*2
adda.l d4,a3
subq.l...
Forum: Coders. General 22 May 2021, 15:46
Replies: 305
Views: 19,804
Posted By Don_Adan
I used much older version when I coded, it was...

I used much older version when I coded, it was 1.16 or 1.20, if i remember right. I dont need newest versions on my A2000. I assembling only easy 68000 code, sometimes 68020 code.
Forum: Coders. General 22 May 2021, 04:33
Replies: 305
Views: 19,804
Posted By Don_Adan
If previous version of longdiv works, then...

If previous version of longdiv works, then prefinal version of pi routine can looks next:


clr.l -(SP) ; cv
moveq #0,D7

.l0 clr.l d5 ;d <- 0
move.l...
Forum: Coders. General 22 May 2021, 01:40
Replies: 305
Views: 19,804
Posted By Don_Adan
Shortest version for test. .longdiv ...

Shortest version for test.


.longdiv
lsr.l #1,D3
divu.w D4,D3
move.w D3,D7
clr.w D3
swap D3
addx.w D3,D3
Forum: Coders. General 22 May 2021, 01:06
Replies: 305
Views: 19,804
Posted By Don_Adan
And dont wrote more nonsenses, which instruction...

And dont wrote more nonsenses, which instruction is valid or not valid for 68k. lsr.l D5 is NOT VALID instruction. If something is assembled then this is not equal then this is valid instruction....
Forum: Coders. General 22 May 2021, 00:46
Replies: 305
Views: 19,804
Posted By Don_Adan
Let explain, theoretical D6 maximum can be $10000...

Let explain, theoretical D6 maximum can be $10000 (because your 64 KB RAM rules).

next

move.l d6,d4
subq.l #1,d4 ; D4 can be max $FFFF

next

divu.w d4,d3
Forum: Coders. General 21 May 2021, 23:55
Replies: 305
Views: 19,804
Posted By Don_Adan
Really? My math. You have strange math about...

Really? My math. You have strange math about LARGER code for shortest code, then maybe for you 56 bytes is equal 54 bytes. 28 instructions, every instruction 2 bytes.
Showing results 1 to 40 of 1384

 
Forum Jump

All times are GMT +2. The time now is 23:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.15302 seconds with 10 queries