English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1549
Search took 0.14 seconds.
Search: Posts Made By: phx
Forum: Coders. Asm / Hardware Today, 19:42
Replies: 1
Views: 57
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 Today, 18:52
Replies: 13
Views: 320
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 Today, 18:34
Replies: 13
Views: 320
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 Today, 02:15
Replies: 7
Views: 218
Posted By phx
:agree

:agree
Forum: Coders. General Today, 02:03
Replies: 13
Views: 588
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 Today, 01:50
Replies: 13
Views: 588
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 Yesterday, 23:28
Replies: 4
Views: 225
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 Yesterday, 23:19
Replies: 7
Views: 218
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: 219
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: 7,907
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: 732
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: 366
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: 366
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: 366
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,117
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: 350
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,117
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: 350
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,117
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...
Forum: Coders. Asm / Hardware 05 January 2020, 00:06
Replies: 33
Views: 1,117
Posted By phx
True for most assemblers, I think. Although there...

True for most assemblers, I think. Although there was a stupid assembler called PhxAss, which based it on the word after the opcode. :p
Forum: Coders. Asm / Hardware 05 January 2020, 00:02
Replies: 33
Views: 1,117
Posted By phx
Ross and Sparhawk have a point, expecting to...

Ross and Sparhawk have a point, expecting to handle 1234(pc) and label(pc) equally. It would be much more logical and also much easier to implement (I spent the last two days on terrible hacks for...
Forum: News 04 January 2020, 23:37
Replies: 14
Views: 1,087
Posted By phx
Line 444 ($1bc) of main.asm is a Load Error....

Line 444 ($1bc) of main.asm is a Load Error. Either a problem while decrunching the file, or while reading its blocks (checksum error, track not readable, etc.).

Maybe try with a better disk?
...
Forum: Coders. Asm / Hardware 04 January 2020, 22:26
Replies: 33
Views: 1,117
Posted By phx
Thanks for the input. My feeling is also that an...

Thanks for the input. My feeling is also that an expression without any label or external symbol in it should be encoded directly, without subtracting the PC.

But what about this?

VECTAB equ ...
Forum: Coders. Asm / Hardware 04 January 2020, 20:42
Replies: 33
Views: 1,117
Posted By phx
Direct PC-offset in assembler

What code would you expect to be generated, when writing

section code,code
lea 2(pc),a0
rts
And what code would you expect when writing

org $0
...
Forum: Coders. Asm / Hardware 04 January 2020, 20:29
Replies: 8
Views: 350
Posted By phx
No. Macros are handled like new directives.

No. Macros are handled like new directives.
Forum: Coders. Asm / Hardware 03 January 2020, 23:31
Replies: 20
Views: 1,521
Posted By phx
I think that DR stands for Data Relative and...

I think that DR stands for Data Relative and writes the difference between the given value (usually a label) and the current address into memory.


label:
dr.w label,label
Is the same...
Forum: Coders. Asm / Hardware 03 January 2020, 15:56
Replies: 20
Views: 1,521
Posted By phx
No. Exactly. Usually it makes no sense to...

No.

Exactly. Usually it makes no sense to switch syntax modules in a source or even in a project. ;)

If you really want to try it you have to build vasm with
make CPU=m68k SYNTAX=oldstyle
But...
Forum: Coders. Asm / Hardware 03 January 2020, 01:26
Replies: 20
Views: 1,521
Posted By phx
myCopperInfo: dc.w listsize ...

myCopperInfo:
dc.w listsize
dc.l player
dc.w curpos

There is not much help from the assembler here. But read below.


They are. rs.x appears in both...
Forum: Music. Finished Work 02 January 2020, 00:21
Replies: 0
Views: 456
Posted By phx
Trap Runner Bonus - Black Strawberry Cake [2019]

The link below opens a page with links to all Protracker MODs from the game and to the original MP3 files, composed with Renoise.

The author is my brother, Gerrit.
...
Forum: Music. Finished Work 02 January 2020, 00:20
Replies: 0
Views: 166
Posted By phx
Celtic Heart [2019]

The link below opens a page with links to all Protracker MODs from the game and to the original MP3 files, composed with Renoise.

The author is my brother, Gerrit.
...
Forum: Music. Finished Work 02 January 2020, 00:19
Replies: 0
Views: 144
Posted By phx
Trap Runner [2018]

The link below opens a page with links to all Protracker MODs from the game and to the original MP3 files, composed with Renoise.

The author is my brother, Gerrit.
...
Forum: Music. Finished Work 02 January 2020, 00:18
Replies: 0
Views: 148
Posted By phx
Solid Gold [2013]

The link below opens a page with links to all Protracker MODs from the game and to the original MP3 files, composed with Renoise.

The author is my brother, Gerrit.
...
Forum: Coders. C/C++ 30 December 2019, 01:02
Replies: 2
Views: 277
Posted By phx
Do you need any instructions which are not in v4?...

Do you need any instructions which are not in v4? ;)

I think support for v5 up to v7 should be easy to add, as cores are still 32 bits. But there is also an FPU now, which was not present in v4.
...
Forum: Coders. Blitz Basic 27 December 2019, 15:27
Replies: 85
Views: 8,075
Posted By phx
Ptplayer was designed for games which take over...

Ptplayer was designed for games which take over the system. It doesn't use the OS and programs Paula's hardware registers directly, so it will never work with AHI or any other sound hardware than...
Forum: Coders. C/C++ 25 December 2019, 13:38
Replies: 38
Views: 7,722
Posted By phx
No. That would expect a function argument in d0,...

No. That would expect a function argument in d0, not the return value.

C functions always return their result in a register. For 8/16/32-bit integer and pointers you can always expect d0. For...
Forum: Coders. Asm / Hardware 24 December 2019, 01:24
Replies: 11
Views: 576
Posted By phx
In a game there are not many OS functions you...

In a game there are not many OS functions you need. Usually you want a simple memory allocator, which is trivial if you always deallocate the memory which you last allocated, and routines for loading...
Forum: Coders. Asm / Hardware 23 December 2019, 20:20
Replies: 11
Views: 576
Posted By phx
Either take over the system and write your own...

Either take over the system and write your own disk routines or let AmigaOS running and use it. Everything in between is hackish.
Forum: Coders. General 23 December 2019, 20:16
Replies: 16
Views: 1,184
Posted By phx
True. I remember it took a few weeks before...

True. I remember it took a few weeks before everything worked perfectly, when I wrote Solid Gold. I was especially looking for one bug which trashed a bitplane pointer and another one which made...
Forum: Coders. General 23 December 2019, 11:50
Replies: 84
Views: 7,907
Posted By phx
Does everything work now? If you need any help,...

Does everything work now? If you need any help, just email me (so I don‘t miss it).
Forum: Coders. General 22 December 2019, 22:24
Replies: 16
Views: 1,184
Posted By phx
It isn't. 50Hz scrolling, also 8-way...

It isn't.

50Hz scrolling, also 8-way scrolling, is negligible and needs only a few raster lines per frame when using the right technique. In the worst case you will copy-blit a few tiles in the...
Showing results 1 to 40 of 1549

 
Forum Jump

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


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