English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1192
Search took 0.10 seconds.
Search: Posts Made By: phx
Forum: Coders. C/C++ 20 October 2018, 15:18
Replies: 10
Views: 362
Posted By phx
I guess you didn't include <proto/exec.h> and...

I guess you didn't include <proto/exec.h> and <proto/expansion.h>, but just <clib/...> from the Commodore headers, so function calls are not inlined but done via stub routines from amiga.lib.

You...
Forum: Coders. C/C++ 18 October 2018, 12:08
Replies: 10
Views: 362
Posted By phx
The problem is Commodore's exec/types.h and...

The problem is Commodore's exec/types.h and stdlib.h both define NULL. But unidentically. exec/types.h assigns 0L, while the standard headers use (void *)0, which is better because it causes an error...
Forum: Coders. C/C++ 16 October 2018, 21:51
Replies: 10
Views: 362
Posted By phx
As far as I can see your are using AmigaOS...

As far as I can see your are using AmigaOS typedefs (like ULONG) and AmigaOS system calls, without including any AmigaOS header files.

The errors are due to ULONG being undefined. It is defined in...
Forum: Coders. Contest 15 October 2018, 21:03
Replies: 7
Views: 931
Posted By phx
Wow! Do we see a release of River Raid before...

Wow! Do we see a release of River Raid before Bridge Strike? ;)

I love River Raid. I made a version of it myself, around 1988/89, but it was only half-finished (as most of my games during that...
Forum: Coders. General 15 October 2018, 20:57
Replies: 13
Views: 611
Posted By phx
Thanks all! Yes, I should include as few as...

Thanks all!
Yes, I should include as few as possible of the vasm headers into my new osdep.c.


Usually I take vasm's MAXPATHLEN, which is 1024.
Forum: project.Amiga Game Factory 15 October 2018, 20:50
Replies: 61
Views: 4,241
Posted By phx
It's quite minimalistic. You can do register and...

It's quite minimalistic. You can do register and memory dumps. I didn't want to take too much space from my games.
Forum: Coders. General 14 October 2018, 14:09
Replies: 13
Views: 611
Posted By phx
Great! I could only hope it was so easy. Now,...

Great! I could only hope it was so easy. Now, when clenched could confirm that it works the same with MinGW/gcc, then I take it!


Thanks. I have just committed an update, which should be...
Forum: Coders. General 14 October 2018, 01:43
Replies: 13
Views: 611
Posted By phx
I guess most people will use some MSVC++ version...

I guess most people will use some MSVC++ version to compile vasm and a few others maybe Cygwin? I have no statistics. :)

But it would be nice, of course, when I could just call an OS function,...
Forum: Coders. General 13 October 2018, 11:23
Replies: 13
Views: 611
Posted By phx
vasm Get Current Work Directory (Windows expert needed)

The last days I have implemented DWARF support in the portable vasm assembler, which theoretically allows you to do source level debugging with an appropriate debugger.

DWARF needs to specify the...
Forum: Coders. Asm / Hardware 10 October 2018, 11:32
Replies: 3
Views: 255
Posted By phx
Thanks for the confirmation. So I will just do an...

Thanks for the confirmation. So I will just do an "rte" an ignore it.

But it's interresting that the problem was observed on a 030 board as well. So it is more related to the A2000 itself than to...
Forum: Coders. C/C++ 09 October 2018, 23:09
Replies: 11
Views: 448
Posted By phx
Glad you found it. Good luck with your games! :)

Glad you found it. Good luck with your games! :)
Forum: Coders. Asm / Hardware 09 October 2018, 23:05
Replies: 3
Views: 255
Posted By phx
A2000/Blizzard060 NMI exception

Today I got a strange bug report regarding my game Trap Runner. At completely random, non-reproducible points, the system invokes exception vector 31, which is a level 7 interrupt (NMI)!

The...
Forum: Coders. C/C++ 09 October 2018, 17:16
Replies: 11
Views: 448
Posted By phx
Most important when hunting such a crash: 1. Is...

Most important when hunting such a crash:
1. Is it always the same crash (Guru #B)?
2. Is it reproducible and does always happen at the same point?

When you can answer both with "yes", then it...
Forum: Coders. C/C++ 08 October 2018, 16:49
Replies: 5
Views: 266
Posted By phx
Yes. The default Makefile.68k builds PosixLib for...

Yes. The default Makefile.68k builds PosixLib for 68020 and 68881.
I have probably never tried with 68000 or without FPU. So no guarantee it will work.
Forum: Coders. Tutorials 02 October 2018, 20:40
Replies: 32
Views: 9,303
Posted By phx
AutoVecBase must be initialized with the VBR. ...

AutoVecBase must be initialized with the VBR.

When you still have assembler errors, although the symbol exists, then I guess you are confused by the Small Data model I am using (all variables are...
Forum: Coders. General 02 October 2018, 20:30
Replies: 16
Views: 854
Posted By phx
IMHO an A500 should easily handle that. There is...

IMHO an A500 should easily handle that. There is no parallax scrolling. Not many moving objects. I didn't even see any tile animations or foreground tiles. Would be quite boring to implement. ;)
Forum: project.Amiga Game Factory 02 October 2018, 20:25
Replies: 61
Views: 4,241
Posted By phx
At the very start of the level? The game should...

At the very start of the level? The game should be in a defined state here, because you didn't do any movement yet. So I would expect it to happen always. Strange.


Too bad. Maybe I should just...
Forum: Coders. Asm / Hardware 01 October 2018, 12:36
Replies: 20
Views: 908
Posted By phx
No, I didn't. Yes, it is. I only tried to...

No, I didn't.

Yes, it is. I only tried to say that "madmac" is the syntax-module which is most similar to "mot" from the currently available choices.

That happens when two non-native speakers...
Forum: Coders. Asm / Hardware 30 September 2018, 19:51
Replies: 20
Views: 908
Posted By phx
Indeed, that's a disadvantage - missed that. But...

Indeed, that's a disadvantage - missed that. But what do you expect from an Atari assembler's syntax? :)

You could still fix it with vlink using the -hunkattr option, but it's probably not worth...
Forum: Coders. Asm / Hardware 30 September 2018, 14:58
Replies: 16
Views: 462
Posted By phx
A little bit of RTFM may help. :) There is a...

A little bit of RTFM may help. :)
There is a chapter "Building vasm" in the documentation and there is also a short instruction on the home page here:...
Forum: Coders. Asm / Hardware 28 September 2018, 22:29
Replies: 20
Views: 908
Posted By phx
Don't know. Not from me. I only have the machines...

Don't know. Not from me. I only have the machines to compile for AmigaOS3/4, MorphOS, Atari and NetBSD.


You may be right. Although there is also the danger that more source texts are written and...
Forum: Coders. Asm / Hardware 28 September 2018, 16:13
Replies: 20
Views: 908
Posted By phx
It is not difficult to add. But I don't like to...

It is not difficult to add. But I don't like to introduce new syntax which is incompatible to other assemblers.

How about switching to Atari-madmac syntax? It is similar enough to "mot", unlike...
Forum: project.Amiga Game Factory 27 September 2018, 21:54
Replies: 61
Views: 4,241
Posted By phx
Thanks for testing. Although I optimize my...

Thanks for testing.

Although I optimize my games for a 7MHz 68000 1MB OCS-Amiga, it is always important to me that they work on any classic Amiga configuration.
Forum: Coders. Asm / Hardware 27 September 2018, 17:50
Replies: 20
Views: 908
Posted By phx
Named macro arguments are supported, but they are...

Named macro arguments are supported, but they are only used in the "std", "madmac" and "oldstyle" syntax-modules. Not in "mot", as it seems uncommon here.
Forum: project.Amiga Game Factory 25 September 2018, 22:23
Replies: 61
Views: 4,241
Posted By phx
Oh... which level was that? This is a "too many...

Oh... which level was that? This is a "too many tile animations" panic. Which means there are more than 384 tile animations registered at once.

Maybe you activated some new tile animations...
Forum: Coders. Tutorials 24 September 2018, 16:07
Replies: 32
Views: 9,303
Posted By phx
True. I'm optimizing my games always for the...

True. I'm optimizing my games always for the slowest supported architecture, so I didn't think it was worth it. Especially when key presses are rather rare within the game (usually just ESC to...
Forum: Coders. Asm / Hardware 22 September 2018, 16:44
Replies: 16
Views: 718
Posted By phx
Only if your code is running in Chip/Slow RAM. ...

Only if your code is running in Chip/Slow RAM.

How did you measure the completion? I doubt that the BBUSY-flag becomes inactive sooner, when you don't set BLTPRI.
Forum: Coders. Tutorials 22 September 2018, 16:19
Replies: 32
Views: 9,303
Posted By phx
You may also look into input.asm from the Solid...

You may also look into input.asm from the Solid Gold source (should be the same in Trap Runner). It implements a Level 2 keyboard interupt handler and a FIFO queue for fast typing. Nevertheless it's...
Forum: Coders. General 20 September 2018, 16:29
Replies: 5
Views: 412
Posted By phx
GrafX2 is a portable graphics program for pixel...

GrafX2 is a portable graphics program for pixel artists and looks very much like DPaint. Is has an option to define the number of bits per RGB color channel (right-click the palette icon).


...
Forum: project.Amiga Game Factory 18 September 2018, 23:55
Replies: 61
Views: 4,241
Posted By phx
It is feature complete. Everything we wanted to...

It is feature complete. Everything we wanted to have in it is there. So I thought it would only be a matter of days to do some final adjustments, but now we are looking for a graphics artist to...
Forum: Coders. Asm / Hardware 18 September 2018, 23:45
Replies: 9
Views: 581
Posted By phx
Do you have multiple ORG directives in the...

Do you have multiple ORG directives in the source? -Fbin will sort all "ORG-sections" by their start address before emitting them.

Another option would be to use code, data, bss sections as usual...
Forum: project.Amiga Game Factory 14 September 2018, 20:38
Replies: 61
Views: 4,241
Posted By phx
It may be done for the final release (not for the...

It may be done for the final release (not for the party release).
Forum: Coders. Entries 13 September 2018, 16:11
Replies: 8
Views: 913
Posted By phx
I would have guessed you can also make your entry...

I would have guessed you can also make your entry later, as long as the contest is still running. ;)
Forum: Coders. Asm / Hardware 11 September 2018, 23:43
Replies: 17
Views: 693
Posted By phx
Right. But that comes down to the same thing....

Right. But that comes down to the same thing. Non-GUI reassemblers use a script or configuration files, and GUI reassemblers use the mouse and menus to achieve the same effect.

The GUI approach is...
Forum: project.Amiga Game Factory 11 September 2018, 22:57
Replies: 61
Views: 4,241
Posted By phx
Thanks mate! Have fun! :)

Thanks mate! Have fun! :)
Forum: Coders. Asm / Hardware 11 September 2018, 11:56
Replies: 17
Views: 693
Posted By phx
Sure. In the 90s I already worked together with...

Sure. In the 90s I already worked together with the author of the IRA reassembler, so PhxAss had to generate exact code.

Most assemblers of the time couldn't do that and converted ADD into ADDI. I...
Forum: Coders. Asm / Hardware 11 September 2018, 00:53
Replies: 17
Views: 693
Posted By phx
Ross was faster. I got distracted. ;) I...

Ross was faster. I got distracted. ;)

I should also mention that it is important that the assembler generates exactly what is written in the source, when you have a reassembler output and want to...
Forum: Coders. Asm / Hardware 11 September 2018, 00:50
Replies: 17
Views: 693
Posted By phx
No. "ADD #x,Dn" and "ADDI #x,Dn" are two...

No. "ADD #x,Dn" and "ADDI #x,Dn" are two different instructions with different opcodes, although their operation and number of cycles used is identical.

A good assembler will not automatically...
Forum: project.Amiga Game Factory 11 September 2018, 00:09
Replies: 61
Views: 4,241
Posted By phx
The red path is more difficult, because the gems...

The red path is more difficult, because the gems are more valuable. But it can be done.

It's a bonus extra level, which gives you an extra life at the end. But you cannot lose a life, only your...
Forum: project.Amiga Game Factory 10 September 2018, 11:59
Replies: 61
Views: 4,241
Posted By phx
Yes, this may happen sometimes. It's still better...

Yes, this may happen sometimes. It's still better than losing a whole channel to sound effects. Gerrit really prefers to have all four channels for his music.

I doubt there is a fixed bassline...
Showing results 1 to 40 of 1192

 
Forum Jump

All times are GMT +2. The time now is 04:01.


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