English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 3891
Search took 0.36 seconds.
Search: Posts Made By: meynaf
Forum: Coders. Asm / Hardware 17 September 2020, 09:51
Replies: 57
Views: 2,327
Posted By meynaf
I didn't want to use 'tst.l a7', i wanted to use...

I didn't want to use 'tst.l a7', i wanted to use a macro. The macro indeed leads to 'tst.l a7' but it's a single line to alter and then it will magically be changed everywhere.



The trick here...
Forum: Coders. Language 16 September 2020, 12:26
Replies: 3
Views: 496
Posted By meynaf
You can do : jmp main\.locl

You can do : jmp main\.locl
Forum: Coders. Asm / Hardware 15 September 2020, 15:31
Replies: 57
Views: 2,327
Posted By meynaf
Being an unimportant detail doesn't mean it has...

Being an unimportant detail doesn't mean it has to be a rare case.




But where do hard facts stop and opinions start ?
It is a natural tendency to try to counter claims one regards as false....
Forum: Coders. Asm / Hardware 14 September 2020, 18:22
Replies: 57
Views: 2,327
Posted By meynaf
I haven't said otherwise. No need to insist on...

I haven't said otherwise. No need to insist on this.
Forum: Coders. Asm / Hardware 14 September 2020, 17:52
Replies: 57
Views: 2,327
Posted By meynaf
I was just asking simple question. It doesn't...

I was just asking simple question. It doesn't have to be important. There is no issue to address, actual solution works just fine.



This is what comments in code are for.



I'm already...
Forum: Coders. Asm / Hardware 14 September 2020, 15:26
Replies: 57
Views: 2,327
Posted By meynaf
This nonsense has absolutely nothing to do with...

This nonsense has absolutely nothing to do with what i wrote.
You misunderstand on purpose, or what ?
I try again with other words : in the cases i could have made a wrong choice, yes this can...
Forum: Coders. Asm / Hardware 14 September 2020, 13:10
Replies: 57
Views: 2,327
Posted By meynaf
Contrary to several people i think before...

Contrary to several people i think before choosing.
And if i make a wrong choice i notice it and fix it. You'll not know about it. I won't come here and aggress people for having them make the same...
Forum: Coders. Asm / Hardware 14 September 2020, 12:27
Replies: 57
Views: 2,327
Posted By meynaf
The intent isn't obvious while disassembling,...

The intent isn't obvious while disassembling, that's all. Not a big deal, it works fine. I just wanted to make sure there wasn't another, better solution i could have missed (and the answer is :...
Forum: Coders. Asm / Hardware 14 September 2020, 08:49
Replies: 57
Views: 2,327
Posted By meynaf
It depends on what the code does, but for most of...

It depends on what the code does, but for most of it, yes. It was just a remark.



This is taking the risk to overlook some parts. You do for example some tool functions in your game that you...
Forum: Coders. Asm / Hardware 11 September 2020, 11:49
Replies: 57
Views: 2,327
Posted By meynaf
It seems that direct ccr operations are deadly...

It seems that direct ccr operations are deadly slow even on 030 (my usual target). I counted 12 clocks for andi to ccr...
Forum: Coders. Asm / Hardware 11 September 2020, 07:58
Replies: 57
Views: 2,327
Posted By meynaf
Yes. But it's the little things that add...

Yes. But it's the little things that add together.
Other cases exist ; there are even a few eori to ccr here and there (this can not be done single-word), to revert the condition prior to branching....
Forum: Coders. Asm / Hardware 09 September 2020, 18:09
Replies: 57
Views: 2,327
Posted By meynaf
As said, to verify. The mistake i made is not...

As said, to verify. The mistake i made is not expecting clueless people would jump in and criticize the mere idea instead of attempting to answer the question. :bash
Forum: Coders. Asm / Hardware 09 September 2020, 16:00
Replies: 57
Views: 2,327
Posted By meynaf
Not that rare, it wasn't difficult to find an...

Not that rare, it wasn't difficult to find an example.



Have you seen my code example ? The callee does not necessarily save data registers. Using a single one and returning it is a common...
Forum: Coders. Asm / Hardware 09 September 2020, 14:18
Replies: 57
Views: 2,327
Posted By meynaf
Extremely rare ? No, it's not. I return bools in...

Extremely rare ? No, it's not. I return bools in ccr all the time.



What's a volatile data register ? One that we are allowed to alter ? You mean a scratch then ?
Then it's a rare case. Very...
Forum: Coders. Asm / Hardware 09 September 2020, 11:26
Replies: 57
Views: 2,327
Posted By meynaf
And then first register to be popped from the...

And then first register to be popped from the stack ends up being equal to a7. Unlikely... but i know for a fact that if something can go wrong, then something will go wrong.



No, it's two...
Forum: Coders. Asm / Hardware 08 September 2020, 17:49
Replies: 57
Views: 2,327
Posted By meynaf
Of course, but andi to ccr is also 4 bytes long. ...

Of course, but andi to ccr is also 4 bytes long.



Setting the ccr, or setting d0, are equally easy to forget.



I can't tell without seeing the code myself. Perhaps asm is just not your...
Forum: Coders. Asm / Hardware 08 September 2020, 14:42
Replies: 57
Views: 2,327
Posted By meynaf
Do i want all these ugly tst after my bsr ? Nah. ...

Do i want all these ugly tst after my bsr ? Nah.
Of course this only works with assembler, and ? Do i care about other languages ? In the unlucky case i have to mess with them, i provide a few...
Forum: Coders. Asm / Hardware 08 September 2020, 13:32
Replies: 57
Views: 2,327
Posted By meynaf
Same for me. I asked just in case i could have...

Same for me. I asked just in case i could have missed something.
Of course i could try with another flag, such as c. But i can only clear it with single code word, not set it, so the situation is...
Forum: Coders. Tutorials 08 September 2020, 13:18
Replies: 8
Views: 438
Posted By meynaf
Who cares ? This thread is about BCD, not binary.

Who cares ? This thread is about BCD, not binary.
Forum: Coders. Asm / Hardware 08 September 2020, 12:25
Replies: 57
Views: 2,327
Posted By meynaf
Which is unfortunately not doable. Remember, we...

Which is unfortunately not doable.
Remember, we may return either z=1 or z=0, and go to same rts if there are registers to restore (as using two movem would destroy code size benefit). Thus we can...
Forum: Coders. Asm / Hardware 08 September 2020, 12:00
Replies: 57
Views: 2,327
Posted By meynaf
Could be used in some cases... but too dependent...

Could be used in some cases... but too dependent of the situation.

Two problems arise :
- we can have to save/restore registers and there it doesn't work - we could use moveq but this makes it...
Forum: Coders. Tutorials 08 September 2020, 11:13
Replies: 8
Views: 438
Posted By meynaf
You can convert the divide into a multiply. ...

You can convert the divide into a multiply.
First, add the number to itself to do *2.
Then, remove the two last digits to do /100.
You will have achieved /50.
Forum: Coders. Asm / Hardware 08 September 2020, 11:08
Replies: 57
Views: 2,327
Posted By meynaf
shortest way to set z=0 in ccr

Hello, just some small question.

Very often i return ccr's z bit as boolean in my routines. This spares tst instructions.
Of course i could just use moveq but there is not always a data register...
Forum: Coders. Asm / Hardware 06 September 2020, 21:27
Replies: 9
Views: 586
Posted By meynaf
It's wait states due to CIA chips being much...

It's wait states due to CIA chips being much slower than the 68000.
Forum: Coders. C/C++ 04 September 2020, 09:29
Replies: 2
Views: 397
Posted By meynaf
Only suggestion i can do is that you could write...

Only suggestion i can do is that you could write your own. It's not only good as exercising, you also end up with exactly what you wanted.
Forum: News 02 September 2020, 18:52
Replies: 89
Views: 3,694
Posted By meynaf
Is this in-place repair ? If so, it's dangerous...

Is this in-place repair ? If so, it's dangerous because it may even make more damage. Nothing beats the salvage (to another device) option.
Forum: News 02 September 2020, 17:37
Replies: 89
Views: 3,694
Posted By meynaf
If one day something goes real wrong you may well...

If one day something goes real wrong you may well regret that.



Of course, as you weren't writing on disk when this happened.
I've had hard crashes on my A1200 that you can't imagine ;...
Forum: News 02 September 2020, 17:28
Replies: 89
Views: 3,694
Posted By meynaf
And there we can see it starts using chipmem when...

And there we can see it starts using chipmem when there isn't enough fastmem available. Perhaps doing all tests with 80 buffers should be more fair then.
Forum: News 02 September 2020, 13:20
Replies: 89
Views: 3,694
Posted By meynaf
1000 buffers are something like 512k for normal...

1000 buffers are something like 512k for normal buffer size, more if you use bigger blocks.
Forum: News 02 September 2020, 12:22
Replies: 89
Views: 3,694
Posted By meynaf
File system buffers are allocated when the device...

File system buffers are allocated when the device is mounted or when addbuffers is used, not when the disk is accessed. So it is normal you don't see a difference. On the other hand, the program used...
Forum: News 02 September 2020, 10:40
Replies: 89
Views: 3,694
Posted By meynaf
See post #44. But it is possible recent versions...

See post #44. But it is possible recent versions of FFS do not respect this.
To be sure, you can try to type a few commands in a cli : avail (for the reference), addbuffers (to change the number of...
Forum: News 01 September 2020, 08:58
Replies: 89
Views: 3,694
Posted By meynaf
I suspect FFS is using chipmem as buffers in the...

I suspect FFS is using chipmem as buffers in the test, which of course would make it crawl.
Forum: Amiga scene 30 August 2020, 21:38
Replies: 152
Views: 23,722
Posted By meynaf
Code in Arctic Moves isn't very 060 friendly. ...

Code in Arctic Moves isn't very 060 friendly.
As you should know the 060 is missing a few instructions that have to be emulated, and this game is just full of them.
But it probably shouldn't be...
Forum: Coders. Asm / Hardware 30 August 2020, 15:56
Replies: 3
Views: 453
Posted By meynaf
So if i understand well, you are looking for the...

So if i understand well, you are looking for the fastest method to wait ? Isn't there something basically wrong about this ? :p

My fave way to wait for next frame is just a call to...
Forum: News 29 August 2020, 19:31
Replies: 89
Views: 3,694
Posted By meynaf
It's "mask" value. I remember something like...

It's "mask" value. I remember something like 0x1fffe having to be changed to 0x7ffffffe to allow use of fastmem. If it's not that, how could i change something in hdtoolbox to allow fastmem to be...
Forum: News 29 August 2020, 18:58
Replies: 89
Views: 3,694
Posted By meynaf
Partition parameters verified, nothing to report....

Partition parameters verified, nothing to report. I suspected FFS might be using chipmem as buffers, but the value is correct.
However something else has caught my attention : cpu usage is low with...
Forum: News 29 August 2020, 15:38
Replies: 89
Views: 3,694
Posted By meynaf
Ctrl-A-A at 0:04 and WB ready at 0:10, that's a...

Ctrl-A-A at 0:04 and WB ready at 0:10, that's a nice 6sec warm reboot :great
Still, not faster than my A1200 (with B1230/50) was with FFS on mechanical HDD.

Another comparison - PC laptop reboot...
Forum: News 29 August 2020, 14:56
Replies: 89
Views: 3,694
Posted By meynaf
That's ok, no harm meant ;) However there...

That's ok, no harm meant ;)

However there are still results to explain. Really, FFS shouldn't be that slow.
Some years ago i've had some CF (on internal A1200 IDE) being a lot slower than it...
Forum: News 29 August 2020, 13:52
Replies: 89
Views: 3,694
Posted By meynaf
Thinking again about the buffers, it could be...

Thinking again about the buffers, it could be interesting to try the following commands : avail, then addbuffers (with some value that is accepted), then avail (a second time). And of course post the...
Forum: News 29 August 2020, 13:29
Replies: 89
Views: 3,694
Posted By meynaf
I saw the video and guess what ? I had to look at...

I saw the video and guess what ? I had to look at it again and pause the video to actually see that.
But at no moment you could ever just imagine i could simply have missed the info, no, you start...
Showing results 1 to 40 of 3891

 
Forum Jump

All times are GMT +2. The time now is 13:15.


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