English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 3206
Search took 0.24 seconds.
Search: Posts Made By: meynaf
Forum: Coders. Asm / Hardware Today, 11:53
Replies: 819
Views: 27,795
Posted By meynaf
It works. Size = 188, of which 36 are hunk data....

It works. Size = 188, of which 36 are hunk data. Code is therefore 152 bytes. Even claimed 168 value is largely beaten.
Forum: Coders. Asm / Hardware Yesterday, 22:04
Replies: 819
Views: 27,795
Posted By meynaf
The logical proof for this is the amount of...

The logical proof for this is the amount of energy you spend in false arguments in vain attempts to prove your point about code density (and on ONE example, btw).
Another proof is easy to find in...
Forum: Coders. Asm / Hardware 15 November 2018, 21:28
Replies: 819
Views: 27,795
Posted By meynaf
Of course x86 is NOT my beloved thing. It's...

Of course x86 is NOT my beloved thing. It's yours.
Seems you always interpret things in a way that suits you, without any hesitation to twist reality.
You have not shown any x86 superiority of any...
Forum: Coders. Asm / Hardware 15 November 2018, 09:11
Replies: 819
Views: 27,795
Posted By meynaf
Doc says 6 but measurement on emulator says 8. ...

Doc says 6 but measurement on emulator says 8.
As memory cycles are 4 cpu cycles, it seems logical that instructions execute in multiples of 4 cycles, btw.
Forum: Coders. Asm / Hardware 14 November 2018, 19:09
Replies: 819
Views: 27,795
Posted By meynaf
Don't ask litwr - not his code. I'm adding...

Don't ask litwr - not his code.

I'm adding address registers to data registers, because i'm out of data registers and therefore some data has to go in address registers.
Using word operations is...
Forum: Coders. Asm / Hardware 14 November 2018, 09:46
Replies: 819
Views: 27,795
Posted By meynaf
By the way, if we take that into account with my...

By the way, if we take that into account with my 236 bytes version...
There are 36 bytes of hunk overhead, actually 38 because hunks are longword aligned and there are two null padding bytes at the...
Forum: Coders. Asm / Hardware 13 November 2018, 22:48
Replies: 819
Views: 27,795
Posted By meynaf
You seem to always forget that this still counts...

You seem to always forget that this still counts OS code.



Being typical does not make it more time critical.
But it's interesting to see you qualify it as "typical" now. So it's typical when...
Forum: Coders. Asm / Hardware 13 November 2018, 20:31
Replies: 819
Views: 27,795
Posted By meynaf
But my code works. Your last version doesn't. I...

But my code works. Your last version doesn't. I tried it on dosbox and it failed.



That's already something.



As I already told, there is little interest in cycle counting for code that's...
Forum: Retrogaming General Discussion 12 November 2018, 15:10
Replies: 143
Views: 7,117
Posted By meynaf
As if Doom was the only acceptable graphical...

As if Doom was the only acceptable graphical reference !
Many games on the Amiga simply can't work on a 386 PC. Try Banshee, for example.
Forum: Retrogaming General Discussion 12 November 2018, 13:22
Replies: 6
Views: 308
Posted By meynaf
I did finish it several times. The way i did it...

I did finish it several times. The way i did it was different from a solution i found later.
Forum: Coders. Asm / Hardware 11 November 2018, 17:27
Replies: 819
Views: 27,795
Posted By meynaf
I thought it was quite self-explanatory. You need...

I thought it was quite self-explanatory. You need to create general-purpose functions when they're not here at first place.
Forum: Coders. Asm / Hardware 10 November 2018, 21:29
Replies: 819
Views: 27,795
Posted By meynaf
Always ready to shoot, hmm ? I don't need any C++...

Always ready to shoot, hmm ? I don't need any C++ lesson but you might need one.
Of course you have to distinguish class members from local vars, especially if your classes are really a mess but...
Forum: Coders. Asm / Hardware 10 November 2018, 16:30
Replies: 819
Views: 27,795
Posted By meynaf
Why do you write "this->" ? In a C++ class you...

Why do you write "this->" ?
In a C++ class you can access your class members directly.



Oh yes alas I can imagine that in C just too well. Lots and lots of function pointers instead of...
Forum: Coders. Asm / Hardware 10 November 2018, 13:04
Replies: 819
Views: 27,795
Posted By meynaf
This is not true. A lot of 100%...

This is not true. A lot of 100% position-independent exists (don't say relocatable, it's wrong word for this !).



Did you know 68k can do the same, and without the shortcomings ?



For...
Forum: Retrogaming General Discussion 08 November 2018, 10:44
Replies: 3
Views: 256
Posted By meynaf
They use their own midi-like format. On PC this...

They use their own midi-like format.
On PC this plays to MT-32 or whatever midi driver is there.
On Amiga it uses a patch (sample file), though not all Sierra games have one (KQ5 does, KQ4 doesn't).
Forum: Coders. Asm / Hardware 05 November 2018, 20:07
Replies: 819
Views: 27,795
Posted By meynaf
You will also not really predict when the...

You will also not really predict when the "optimising compiler" will consider that something you wrote has no effect and remove it altogether, leading to broken code !
(I have no example, but i...
Forum: Coders. Asm / Hardware 05 November 2018, 20:05
Replies: 819
Views: 27,795
Posted By meynaf
I do the same with parenthesis, and not only for...

I do the same with parenthesis, and not only for (a<<b)+c.

But this also results in more overload and unreadable code.
Forum: Coders. Asm / Hardware 05 November 2018, 19:38
Replies: 819
Views: 27,795
Posted By meynaf
Is this what you mean ? if (cc) { ...

Is this what you mean ?

if (cc) {
thing1();
thing2();
}
else thing3();

I don't separate else from the statement for one-liners.
Neither for one-line if, or whatever.
Forum: Coders. Asm / Hardware 05 November 2018, 19:30
Replies: 819
Views: 27,795
Posted By meynaf
Take some code at the random. Now perhaps we...

Take some code at the random.
Now perhaps we have different definitions for what's ugly.
It could be interesting to compare some coding examples written in different languages. But we're already OT...
Forum: Coders. Asm / Hardware 05 November 2018, 19:02
Replies: 819
Views: 27,795
Posted By meynaf
When reading code with said curlies, you do not...

When reading code with said curlies, you do not know what they mean. However in Basic for example, you immediately see the kind of block.
What does "}" mean ? You don't know without having to look...
Forum: Coders. Asm / Hardware 05 November 2018, 18:49
Replies: 819
Views: 27,795
Posted By meynaf
It may look ridiculous, but it's still true....

It may look ridiculous, but it's still true. Nearly anything looks better than C, even Basic.



Sorry, but C is a terribly poor language. It has nothing elegant, simple, and even though the...
Forum: Coders. Asm / Hardware 05 November 2018, 16:31
Replies: 819
Views: 27,795
Posted By meynaf
Yes, sadly this has been abused too many times...

Yes, sadly this has been abused too many times already.



Well, i would not call this a hack. Rather, it's using the wrong tool to do the job, IOW a bad programming practice.

A hack is...
Forum: Coders. Asm / Hardware 05 November 2018, 15:46
Replies: 819
Views: 27,795
Posted By meynaf
There are good reasons to do this and then it's...

There are good reasons to do this and then it's not bad coding.
It's bad only when done where it shouldn't.



So you distribute one extra file for every block of, say, 2kb tables ?
Incbin is...
Forum: Coders. Asm / Hardware 03 November 2018, 22:31
Replies: 819
Views: 27,795
Posted By meynaf
The 68000 has something very similar to the 8086...

The 68000 has something very similar to the 8086 queue and it is not useless.



You said it was "trickery" when i used them :rolleyes



I enjoy the fair superiority indeed, as you're beaten...
Forum: Coders. Asm / Hardware 03 November 2018, 20:26
Replies: 819
Views: 27,795
Posted By meynaf
Then it's wrong. Because the 68000 has a prefetch...

Then it's wrong. Because the 68000 has a prefetch queue. Some SMC code could even fail because of this.



True. But it does not make your program header trick more valid.



Then let's...
Forum: support.Games 03 November 2018, 19:48
Replies: 6
Views: 386
Posted By meynaf
I don't remember the details, but there are...

I don't remember the details, but there are several things you need to keep activated at the same time and some of them will self deactivate after a while, so be quick enough.
Forum: Coders. Asm / Hardware 03 November 2018, 18:11
Replies: 819
Views: 27,795
Posted By meynaf
68000 does have an instruction queue. Perhaps you...

68000 does have an instruction queue. Perhaps you wanted to write "unlike 68000" ?



Not really, segment registers have absolutely nothing to do with COM format. Most 8-bit programs are...
Forum: Coders. Asm / Hardware 29 October 2018, 12:04
Replies: 819
Views: 27,795
Posted By meynaf
That's the pot calling the kettle black... Who...

That's the pot calling the kettle black...
Who uses tricks ? Code for time measurement is larger on the Amiga !
So we both can just remove it.



Who started cutting ?
Sorry, but your 80386...
Forum: Coders. Asm / Hardware 27 October 2018, 21:14
Replies: 819
Views: 27,795
Posted By meynaf
Like the others, it does not seem to be always...

Like the others, it does not seem to be always correct. For example, it shows no difference between F2 7x xx and 7x xx (bnd prefix).
This one does, however :
https://onlinedisassembler.com/odaweb/...
Forum: Coders. Asm / Hardware 24 October 2018, 20:44
Replies: 51
Views: 1,561
Posted By meynaf
Atari TOS also trashes d2/a2. MacOS 68k trashes...

Atari TOS also trashes d2/a2.
MacOS 68k trashes d2 but not a2.
This mess is why i tend to preserve all registers for my own reusable code.



Most of the time function calls aren't exactly...
Forum: New to Emulation or Amiga scene 24 October 2018, 19:51
Replies: 13
Views: 595
Posted By meynaf
The HDF file would contain the whole game and...

The HDF file would contain the whole game and whatever system components needed to run it (except the rom obviously).



It appears so, even though it's not my case.



No idea. There's quite...
Forum: Coders. Asm / Hardware 24 October 2018, 17:27
Replies: 3
Views: 306
Posted By meynaf
Quick guess : kickstart 1.x does not use the...

Quick guess : kickstart 1.x does not use the copper to setup colors (at least not that one).
Forum: New to Emulation or Amiga scene 24 October 2018, 17:24
Replies: 13
Views: 595
Posted By meynaf
*Some* non-cracked versions can use ADF, if they...

*Some* non-cracked versions can use ADF, if they simply ask for some word in the manual.
Else you can use IPF (and maybe also RAW images, which can be produced with just an A1200).

However some...
Forum: Amiga scene 23 October 2018, 13:59
Replies: 17
Views: 1,062
Posted By meynaf
Is it impossible to tell if a board has been...

Is it impossible to tell if a board has been recapped by looking at the caps themselves ?
Shouldn't new caps be of some model that doesn't leak, and that can be identified by looking at it ?
Forum: Retrogaming General Discussion 23 October 2018, 13:53
Replies: 143
Views: 7,117
Posted By meynaf
AAA and such plans were NOT going to be backwards...

AAA and such plans were NOT going to be backwards compatible, or at least, not done the same way at all. Actually they even planned on switching to another cpu family...
Forum: Coders. Asm / Hardware 23 October 2018, 09:58
Replies: 5
Views: 497
Posted By meynaf
Your A1200 is fine for doing ECS too. So you can...

Your A1200 is fine for doing ECS too. So you can start with that.
Then AGA isn't a huge step, differences are minor - basically you just have more available colors.
Forum: Coders. Asm / Hardware 22 October 2018, 10:58
Replies: 819
Views: 27,795
Posted By meynaf
Nobody's going to write hand-optimised whole...

Nobody's going to write hand-optimised whole non-trivial programs for x86 (at least, not for the purpose of that test).
But compiler stuff isn't as meaningless as it looks. Knowing x86 compilers are...
Forum: Coders. Asm / Hardware 22 October 2018, 10:42
Replies: 819
Views: 27,795
Posted By meynaf
Why not, because i didn't keep that old version....

Why not, because i didn't keep that old version. You told me extra features were needed and then i put them in. As easy as that.

But ok, if you insist, i will redo it the old way. Perhaps better...
Forum: Coders. Asm / Hardware 21 October 2018, 22:01
Replies: 4
Views: 383
Posted By meynaf
You answer your own question. Just create a...

You answer your own question. Just create a module for dos stuff.
Forum: Coders. Asm / Hardware 21 October 2018, 21:57
Replies: 819
Views: 27,795
Posted By meynaf
Who's not fair here - and again ? Not me. Why...

Who's not fair here - and again ? Not me. Why would i give you any code now ? You cheated by just every possible mean, inventing rules that just arrange you.

First accept Bruce Abbott's challenge....
Showing results 1 to 40 of 3206

 
Forum Jump

All times are GMT +2. The time now is 12:56.


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