English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 4193
Search took 0.36 seconds.
Search: Posts Made By: meynaf
Forum: Coders. Asm / Hardware Yesterday, 12:05
Replies: 3
Views: 230
Posted By meynaf
Normally the technique is just about making the...

Normally the technique is just about making the program self-detaching.
I would skip or remove the code that does the process creation and exits.
Forum: Retrogaming General Discussion 17 April 2021, 07:16
Replies: 35
Views: 1,644
Posted By meynaf
040 is barely twice faster than 030 and...

040 is barely twice faster than 030 and overheats, which 030 does not.
Forum: Coders. Asm / Hardware 14 April 2021, 17:01
Replies: 13
Views: 451
Posted By meynaf
I don't usually do this right after an add, but...

I don't usually do this right after an add, but here it goes :

add.w d1,d0
bvc.s .done
spl d0
ext.w d0
eori.w #$7fff,d0
.done
Forum: Retrogaming General Discussion 14 April 2021, 11:14
Replies: 194
Views: 9,433
Posted By meynaf
Something like "you would not be able to tell...

Something like "you would not be able to tell that it wasn't a YM".



But then you have to change both the sample and the volume, which makes matters a little more complex than just altering...
Forum: Retrogaming General Discussion 12 April 2021, 11:38
Replies: 194
Views: 9,433
Posted By meynaf
Yes it is able. It has been done for mods, both...

Yes it is able. It has been done for mods, both Turrican musics have been done, and even simple 68000 can do this. Don't expect very high quality, though -- and exact cpu usage will depend on the...
Forum: Retrogaming General Discussion 12 April 2021, 10:07
Replies: 194
Views: 9,433
Posted By meynaf
Errrh, no. You cannot "easily" reproduce YM2149...

Errrh, no. You cannot "easily" reproduce YM2149 sound on Paula. Not accurately in any case.

First, the volume levels of Paula are (more or less) linear, whereas YM has logarithmic scale. This...
Forum: Coders. C/C++ 12 April 2021, 08:25
Replies: 25
Views: 1,196
Posted By meynaf
That may well be outside your scope of budget, at...

That may well be outside your scope of budget, at least, if you're alone donating.
Forum: Coders. C/C++ 10 April 2021, 12:14
Replies: 25
Views: 1,196
Posted By meynaf
Like everything else it is a matter of...

Like everything else it is a matter of motivation.
A petition would not work.

A huge donation could, though :p
(this is where ppl asking for the moon suddenly disappear overnight)
Forum: Coders. Asm / Hardware 01 April 2021, 21:21
Replies: 73
Views: 3,555
Posted By meynaf
What are these other ways ? I have...

What are these other ways ?



I have coded a debugger but it's in vm code, not 68k code. So aside of a working trace mode, nothing special is needed in the vm itself.
Forum: Coders. Asm / Hardware 01 April 2021, 13:13
Replies: 73
Views: 3,555
Posted By meynaf
I meant that other interrupt sources will have to...

I meant that other interrupt sources will have to do the same kind of work.
For example, i need to generate a vblank interrupt and that's not int1 but it still needs to trigger the change in the vm.
Forum: Coders. Asm / Hardware 01 April 2021, 08:55
Replies: 73
Views: 3,555
Posted By meynaf
That's a good idea ! KS1.x is no big deal,...

That's a good idea !
KS1.x is no big deal, app's min is already v37.

The problem here lies in the fact other interrupts than just multitask can trigger something in the vm.
Current sources are :...
Forum: Coders. Asm / Hardware 31 March 2021, 17:46
Replies: 73
Views: 3,555
Posted By meynaf
Right, it wouldn't be worth doing. But if the...

Right, it wouldn't be worth doing.
But if the engine has to grow anyway for other reasons, the situation changes.

Handler for trace and interrupts is the same. If interrupts are handled in one...
Forum: Coders. Asm / Hardware 31 March 2021, 09:19
Replies: 73
Views: 3,555
Posted By meynaf
If everything is slowed down 1000%, then extra...

If everything is slowed down 1000%, then extra 10% means 1100% overall (+10% of 1000), not 1010%.



It would of course be documented in the source, if that's what you meant.



If e.g. jsr...
Forum: Coders. Asm / Hardware 30 March 2021, 08:42
Replies: 73
Views: 3,555
Posted By meynaf
Right. I was kinda lazy about this one as i have...

Right. I was kinda lazy about this one as i have another instruction looking like that :

bfextu d7{21:3},d0
extb.l d7
move.l d7,(a5,d0.w*4)

In addition, not sure adda.w isn't slower than...
Forum: Coders. Asm / Hardware 29 March 2021, 11:51
Replies: 73
Views: 3,555
Posted By meynaf
This is still slower than the base method and it...

This is still slower than the base method and it adds latency whose results i can't really estimate.
Forum: Coders. Asm / Hardware 29 March 2021, 08:15
Replies: 73
Views: 3,555
Posted By meynaf
Dependencies are limited : a few libraries (dos,...

Dependencies are limited : a few libraries (dos, intuition, graphics, keymap, asl), some devices (timer, input, audio), and one resource (ciab).
Not all of them will be used every time.



This...
Forum: Coders. Asm / Hardware 27 March 2021, 18:15
Replies: 73
Views: 3,555
Posted By meynaf
Frankly others have made a lot worse. I won't...

Frankly others have made a lot worse. I won't block anything.



There are also things that don't work.



You have not in any manner given me a better idea.
What was it already ? The tst.b...
Forum: Coders. Asm / Hardware 27 March 2021, 16:48
Replies: 73
Views: 3,555
Posted By meynaf
Yep. And i'll go for it as long as there is no...

Yep. And i'll go for it as long as there is no alternative giving the same level of performance.
Forum: Coders. Asm / Hardware 27 March 2021, 15:29
Replies: 73
Views: 3,555
Posted By meynaf
As i said my task will not, directly or...

As i said my task will not, directly or indirectly, use FPU.



It's not a problem. Lots of things the Os does not document have been used already.



This is better than failing to provide...
Forum: Coders. Asm / Hardware 27 March 2021, 14:38
Replies: 73
Views: 3,555
Posted By meynaf
Sure thing, is that MY task's not gonna use the...

Sure thing, is that MY task's not gonna use the FPU. But what if another one does in the meanwhile ? Can this change the state ?
Forum: Coders. Asm / Hardware 27 March 2021, 14:34
Replies: 1,119
Views: 69,225
Posted By meynaf
And what happens if you place the FPU back in...

And what happens if you place the FPU back in NULL state, then restart the instruction that has placed the FPU in that "non-restorable" state at first place ?
Forum: Coders. Asm / Hardware 27 March 2021, 14:08
Replies: 73
Views: 3,555
Posted By meynaf
But my task will not be using FPU at all (not...

But my task will not be using FPU at all (not even thru some math lib), and, let's be honest, i don't care if it fails on the vampire - i didn't agree at first place in adding all these registers. :p...
Forum: Coders. Asm / Hardware 27 March 2021, 11:50
Replies: 73
Views: 3,555
Posted By meynaf
This requires extra space in high parts of...

This requires extra space in high parts of registers, something not guaranteed (in my current register allocation the only high part that's available is D7).

My current idea anyway is to repeat...
Forum: Coders. Asm / Hardware 27 March 2021, 07:52
Replies: 73
Views: 3,555
Posted By meynaf
It is not a problem that the value might be...

It is not a problem that the value might be anywhere in stack, IF it's always located at the same place on the same setup.
I mean, i could look for a magical value at startup. Then change the value,...
Forum: Coders. Asm / Hardware 26 March 2021, 12:22
Replies: 73
Views: 3,555
Posted By meynaf
I was unclear maybe, i thought the "PM me" would...

I was unclear maybe, i thought the "PM me" would have been enough. Sorry.
I would prefer that it remains private for now, but that's not set in stone.



No harm done in trying, right ?
Of...
Forum: Coders. Asm / Hardware 26 March 2021, 09:50
Replies: 73
Views: 3,555
Posted By meynaf
I told you, optimizing this code without changing...

I told you, optimizing this code without changing the algorithm is futile.
Besides, please don't publish code here. When I said "PM me", it was that i prefer this to remain private.
Forum: support.Apps 26 March 2021, 07:33
Replies: 8
Views: 859
Posted By meynaf
Just attempted to show a 5760x3240 baseline JPG...

Just attempted to show a 5760x3240 baseline JPG i've found on the net, under winuae jit and my own picture viewer -- for the fun.
I needed to configure 32MB of 32-bit chipmem, something real miggies...
Forum: Coders. Asm / Hardware 25 March 2021, 16:47
Replies: 44
Views: 2,552
Posted By meynaf
I have made a few tests and PT3.15 fails where...

I have made a few tests and PT3.15 fails where Delitracker2 plays these mods correctly.
As i understand it, the normal behaviour is to change the repeat/replen of currently playing sample.
Forum: Coders. Asm / Hardware 23 March 2021, 10:54
Replies: 73
Views: 3,555
Posted By meynaf
Why ? Inner loops have always been the most speed...

Why ? Inner loops have always been the most speed sensitive, and this part is THE inner loop.



Release the code ? Maybe, but it's too big to be suitable for a contest.
This is more refactoring...
Forum: Coders. Asm / Hardware 21 March 2021, 11:00
Replies: 44
Views: 2,552
Posted By meynaf
That's very possible. IIRC i've seen...

That's very possible. IIRC i've seen Delitracker2's Paula-Noteplayer code waiting for some horizontal scanline position before touching some audio hardware regs. I wondered why, but it might be...
Forum: Coders. Asm / Hardware 21 March 2021, 07:51
Replies: 44
Views: 2,552
Posted By meynaf
There can not be a glitch in your stress-test...

There can not be a glitch in your stress-test mod, as the value is written long before AUDxDAT has a chance to expire.
Forum: Coders. Asm / Hardware 20 March 2021, 07:52
Replies: 44
Views: 2,552
Posted By meynaf
This looks like a way to get a nice random sample...

This looks like a way to get a nice random sample triggering click ;)
Forum: Coders. Asm / Hardware 20 March 2021, 07:48
Replies: 73
Views: 3,555
Posted By meynaf
I've never done this by hand, but i suppose this...

I've never done this by hand, but i suppose this can work.
But, thinking twice about it, it means the main decode loop is always at the same place, which forbids repeating that decode part at the...
Forum: Coders. Asm / Hardware 19 March 2021, 19:57
Replies: 73
Views: 3,555
Posted By meynaf
Right, but the interrupt might come between the...

Right, but the interrupt might come between the rts and the push - even if it's the first thing it does, it's already too late.
And if we attempt to push before the rts, then said rts will use the...
Forum: Coders. Asm / Hardware 19 March 2021, 19:35
Replies: 73
Views: 3,555
Posted By meynaf
The problem is that RTS will pop the return...

The problem is that RTS will pop the return address, so it needs to be pushed back at the start of main loop. And if the interrupt occurs right between those two, guess what will happen...
The...
Forum: Coders. Asm / Hardware 19 March 2021, 18:51
Replies: 73
Views: 3,555
Posted By meynaf
That offset thing is free starting with 040, but...

That offset thing is free starting with 040, but not for 020/030.
Indeed tst.b (a5) is possible. But even if not, it's possible to use a7 instead like suggested before.



Didn't think about...
Forum: Coders. Asm / Hardware 19 March 2021, 18:38
Replies: 73
Views: 3,555
Posted By meynaf
Perhaps this should be documented then :p ...

Perhaps this should be documented then :p
Listen, i have considered all possibilities including using the task's exception signals (which will not work due no access to registers), and nothing seems...
Forum: Coders. Asm / Hardware 19 March 2021, 17:58
Replies: 73
Views: 3,555
Posted By meynaf
What is the timing of this indirect jmp ? I can't...

What is the timing of this indirect jmp ? I can't evaluate it precisely.
Forum: Coders. Asm / Hardware 19 March 2021, 17:18
Replies: 73
Views: 3,555
Posted By meynaf
I don't understand what you want to do here. As...

I don't understand what you want to do here.
As jmp (a7) will not reload retptr so altering it has no effect, and, worse, said jmp will jump to code that's located in the stack.
But maybe you mean...
Forum: Coders. Asm / Hardware 19 March 2021, 16:34
Replies: 73
Views: 3,555
Posted By meynaf
Sigh. I expected this. A warning sign...

Sigh. I expected this.



A warning sign will not stop me if that's the only available solution.
At least, should I expect the stored PC to be at the same place ?
It's not as if this part of...
Showing results 1 to 40 of 4193

 
Forum Jump

All times are GMT +2. The time now is 00:14.


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