English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1570
Search took 0.13 seconds.
Search: Posts Made By: phx
Forum: Coders. Asm / Hardware Today, 03:08
Replies: 2
Views: 81
Posted By phx
Not all pointers in dos.library functions are...

Not all pointers in dos.library functions are BCPL pointers, and not all of those pointers which are not BPTRs need 32-bit alignment. Usually this is documented.
Forum: Coders. Asm / Hardware 17 February 2020, 16:09
Replies: 16
Views: 620
Posted By phx
Thanks for all the input. Yes, I think anything...

Thanks for all the input. Yes, I think anything more than 32-bit alignment would waste more memory than it helps for performance.
Forum: Coders. Asm / Hardware 16 February 2020, 21:45
Replies: 16
Views: 620
Posted By phx
Thanks! Yes, I agree that cache-line...

Thanks!

Yes, I agree that cache-line alignment would be overkill. But maybe a "cnop 0,4" in front of each function cannot hurt.

All data aligned to their natural boundaries. Ok. So I shouldn't...
Forum: Coders. Asm / Hardware 16 February 2020, 15:31
Replies: 16
Views: 620
Posted By phx
Data/instruction alignment for 68020..060

What would be the prefered instruction and data alignment for 68020, 030, 040 and 060 to guarantee best performance?

I remember the 68020+ does "dynamic bus sizing"(?) to access data with any...
Forum: Amiga scene 13 February 2020, 11:31
Replies: 49
Views: 3,452
Posted By phx
:agree

:agree
Forum: Amiga scene 13 February 2020, 00:16
Replies: 49
Views: 3,452
Posted By phx
It's not a fault, it's our choice! We make the...

It's not a fault, it's our choice! We make the games because we have fun making them. And when somebody really wants a physical release then we don't want to have anything to do with the whole...
Forum: Coders. C/C++ 10 February 2020, 11:29
Replies: 14
Views: 681
Posted By phx
I have neither experience with CMake nor with...

I have neither experience with CMake nor with CLion, but did you try to execute the command in a shell to find out why it fails? It will certainly give you a helpful error message.

From a quick...
Forum: Coders. Asm / Hardware 09 February 2020, 12:37
Replies: 6
Views: 983
Posted By phx
Correct. That‘s the way how we do it. But the...

Correct. That‘s the way how we do it. But the question is where are the limits for each individual CPU? Up to how many instructions should direct assignments be used?
We have the following three...
Forum: Coders. Asm / Hardware 08 February 2020, 19:11
Replies: 6
Views: 983
Posted By phx
Great! Thanks. That helps a lot. :great

Great! Thanks. That helps a lot. :great
Forum: Coders. Asm / Hardware 08 February 2020, 13:42
Replies: 6
Views: 983
Posted By phx
68040 const array init

We are currently working on optimizing the initialization of structures or arrays with constants in the 68k backend. Mainly there are the following two cases:

1. Static data
n-times move.l #x,lab...
Forum: Coders. Asm / Hardware 06 February 2020, 02:13
Replies: 7
Views: 418
Posted By phx
moveq #0,Dn suba.l An,An

moveq #0,Dn
suba.l An,An
Forum: Coders. Asm / Hardware 03 February 2020, 18:52
Replies: 15
Views: 716
Posted By phx
(FMODE) Maybe when starting out of the...

(FMODE)


Maybe when starting out of the boot block. But not when you start your code from an AGA workbench. LoadView(NULL) doesn't reset it, AFAIK. Also don't forget to reset the new BPLCONx...
Forum: Coders. Asm / Hardware 02 February 2020, 15:40
Replies: 2
Views: 431
Posted By phx
No, AFAIK two sprite planes are always drawn...

No, AFAIK two sprite planes are always drawn together at the same position, you cannot separate them for 32 pixels width.

But you might be able to save sprite-DMA and data for the second plane....
Forum: Retrogaming General Discussion 31 January 2020, 21:04
Replies: 10
Views: 573
Posted By phx
After I spent so much time with testing my games...

After I spent so much time with testing my games during development I rarely play it again when finally released.
Forum: Coders. Asm / Hardware 30 January 2020, 22:17
Replies: 11
Views: 424
Posted By phx
See above. Either write dcb.b ...

See above. Either write
dcb.b (SPRITE_DY+2)*16,0
or
ds.b (SPRITE_DY+2)*16
"DS.B <n>" is effectively the same as "DCB.B <n>,0".

And make sure not to start the "DCB/DS"...
Forum: Coders. Nextgen 28 January 2020, 22:43
Replies: 2
Views: 680
Posted By phx
Sorry, missed that. For urgent questions use...

Sorry, missed that. For urgent questions use email. ;)


That was certainly already most of the work.

Is PAsm Sam Jordan's PPC assembler? I remember it used a kind of 68k Motorola syntax. Maybe...
Forum: Coders. Asm / Hardware 28 January 2020, 21:59
Replies: 13
Views: 641
Posted By phx
Hmm. Maybe it's easier, also for the...

Hmm. Maybe it's easier, also for the understanding, to treat the buffers completely independant.

I have usually a data structure of bitplane pointers and scroll-value for each of the two buffers....
Forum: Retrogaming General Discussion 27 January 2020, 19:05
Replies: 26
Views: 1,475
Posted By phx
He was 16 in 1990. He certainly improved his...

He was 16 in 1990. He certainly improved his skills over the years, until our latest game releases. ;)
Forum: Coders. Asm / Hardware 27 January 2020, 13:21
Replies: 9
Views: 439
Posted By phx
As far as I know code scheduling makes sense for...

As far as I know code scheduling makes sense for the 68060 only. But I think that rearranging code is nothing an assembler should do.

This step is usually done by a separate scheduler program,...
Forum: Coders. Asm / Hardware 26 January 2020, 20:15
Replies: 8
Views: 527
Posted By phx
There are no commercial assemblers anymore which...

There are no commercial assemblers anymore which offer more value than the free assemblers. Devpac is nice, but you probably also get it for free (not sure about the copyright situation there).
...
Forum: Coders. Asm / Hardware 26 January 2020, 20:06
Replies: 2
Views: 264
Posted By phx
Sure. Because in that case the situation is...

Sure. Because in that case the situation is completely different. With the EQU your program starts with an ORG, so everything is as you expect. But with a label called LEVEL1 the assembler...
Forum: Coders. Asm / Hardware 26 January 2020, 19:42
Replies: 11
Views: 743
Posted By phx
The obvious answer would be "Bresenham", which...

The obvious answer would be "Bresenham", which works without any multiplications and divisions. But how were you doing it before?

In Black Strawberry Cake I'm using such aimed missiles in the...
Forum: Retrogaming General Discussion 26 January 2020, 18:52
Replies: 26
Views: 1,475
Posted By phx
No. You can only drive around that demo track. We...

No. You can only drive around that demo track. We were young and unexperienced, and debugging possibilities were limited at that time. So finally a collision detection problem with the track borders...
Forum: Retrogaming General Discussion 26 January 2020, 18:34
Replies: 26
Views: 1,475
Posted By phx
Is the thread about games and utilities which...

Is the thread about games and utilities which were released to the public only? Then my earliest publications might have been the PhxAss assembler and PhxLnk linker on the Fish Disk series (around...
Forum: Coders. Asm / Hardware 26 January 2020, 02:15
Replies: 7
Views: 402
Posted By phx
:agree

:agree
Forum: Coders. General 26 January 2020, 02:03
Replies: 25
Views: 1,638
Posted By phx
Or by reporting them to the authors, as IRA is...

Or by reporting them to the authors, as IRA is still under active development. ;)


Do you mean that some BTST are not recognized? BTST on memory with a bit number > 7 is ignored. You can enable...
Forum: Coders. General 26 January 2020, 01:50
Replies: 25
Views: 1,638
Posted By phx
When the automatic text detection doesn‘t work...

When the automatic text detection doesn‘t work then you just have to add a TEXT directive to the config file for the region in question.


Make sure all optimisations in the assembler are...
Forum: Coders. Asm / Hardware 25 January 2020, 23:28
Replies: 4
Views: 422
Posted By phx
I have only a minute to reply. I will check your...

I have only a minute to reply. I will check your problem in more detail tomorrow.

But what I can say is that the only LOAD directive I know is the one from Seka and AsmOne, which copies the...
Forum: Coders. Asm / Hardware 25 January 2020, 23:19
Replies: 7
Views: 402
Posted By phx
Don't know what your amiga-ar is creating....

Don't know what your amiga-ar is creating. Probably a Unix ar-library? Have a look into the map file (-M) to see what vlink has done with it.

Unix libraries are supported by vlink, but you have to...
Forum: Coders. General 19 January 2020, 02:35
Replies: 4
Views: 381
Posted By phx
I cannot compile Windows executables, but the...

I cannot compile Windows executables, but the portable C source is here:
http://eab.abime.net/showpost.php?p=1351850&postcount=89
Forum: Coders. General 15 January 2020, 18:20
Replies: 84
Views: 8,843
Posted By phx
$ make CPU=m68k SYNTAX=mot Done.

$ make CPU=m68k SYNTAX=mot
Done.
Forum: Coders. C/C++ 14 January 2020, 12:17
Replies: 7
Views: 901
Posted By phx
Using __asm() inside a C function? No. The...

Using __asm() inside a C function? No. The compiler does not know what happens inside such a block.

Or did you think about calling an assembler function or inline routine? Then yes, the compiler...
Forum: Coders. C/C++ 13 January 2020, 19:10
Replies: 6
Views: 540
Posted By phx
To be more precise: if you plan to call clib...

To be more precise: if you plan to call clib (vclib in this case) functions...

Initialising the clib, or running constructors, would be the main reason for a startup code. And not even all clib...
Forum: Coders. C/C++ 12 January 2020, 16:03
Replies: 6
Views: 540
Posted By phx
Your code has no reference to vclib at all....

Your code has no reference to vclib at all. Otherwise you would read on top of the map file something like "vclib (path/file.c) needed due to _xyz". So you could also choose to drop -L.. and -lvc at...
Forum: Coders. C/C++ 12 January 2020, 03:24
Replies: 6
Views: 540
Posted By phx
Correct. An Amiga executable is always started...

Correct. An Amiga executable is always started with the first instruction in the first section. A linker usually keeps the order of object files on the command line, when merging their sections into...
Forum: Coders. Asm / Hardware 08 January 2020, 13:45
Replies: 33
Views: 1,239
Posted By phx
Ok. You convinced me. I will proably add that....

Ok. You convinced me. I will proably add that. And if the switch enables an error with $1234(pc), it should be set automatically when selecting Devpac-compatibility mode (-devpac).

Yes. I already...
Forum: Coders. Asm / Hardware 06 January 2020, 19:32
Replies: 8
Views: 394
Posted By phx
You cannot reassign it with a different...

You cannot reassign it with a different expression. But in an optimizing assembler the values of all labels will constantly change with every pass.

Sure. And I think I wrote that.

The problem...
Forum: Coders. Asm / Hardware 06 January 2020, 19:21
Replies: 33
Views: 1,239
Posted By phx
Er... no? :crazy Neither did I. But it was...

Er... no? :crazy

Neither did I. But it was reported as an error, a few days ago. Maybe it makes sense in jump-table macros, or similar? But even there you could use * or a label with \@.


Yes....
Forum: Coders. Asm / Hardware 06 January 2020, 18:55
Replies: 8
Views: 394
Posted By phx
Like with Devpac, a white-space character in the...

Like with Devpac, a white-space character in the operand ends the operand field and starts the comment field. This can be turned off by the -spaces option.

I think the default behaviour is what...
Forum: Coders. Asm / Hardware 06 January 2020, 14:38
Replies: 33
Views: 1,239
Posted By phx
This might be an important point. I agree...

This might be an important point.

I agree with most of what Kalms wrote. Except one case:
I would rather generate a warning here, which can optionally be switched off. It might be an error (hence...
Showing results 1 to 40 of 1570

 
Forum Jump

All times are GMT +2. The time now is 06:54.


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