English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1923
Search took 0.17 seconds.
Search: Posts Made By: phx
Forum: Coders. C/C++ Today, 00:31
Replies: 13
Views: 507
Posted By phx
Which is surprising, or quite lucky. As far...

Which is surprising, or quite lucky.

As far as I understand the first code executed in both plugins is the init() function. And there is an AllocVec() before calling openLibs(). For vbcc this...
Forum: Coders. C/C++ Yesterday, 13:36
Replies: 13
Views: 507
Posted By phx
When you look into your config file you see a...

When you look into your config file you see a line on top for calling the compiler, which looks like this:
-cc=vbccm68k -quiet -hunkdebug %s -o= %s %s -O=%ld -Ivincludeos3:The first %s is the source...
Forum: Coders. C/C++ 22 June 2021, 00:22
Replies: 13
Views: 507
Posted By phx
Yes, I am. And I'm also in contact with the OS3.2...

Yes, I am. And I'm also in contact with the OS3.2 team to include vbcc support in the next SDK release, which will hopefully appear soon.

For your plugin it is not only important to link without...
Forum: Coders. C/C++ 20 June 2021, 14:50
Replies: 3
Views: 314
Posted By phx
Some additional comments: You will never...

Some additional comments:

You will never include a compiler-specific pragmas/ or inline/ file. proto/regex.h will include all you need and keeps your source easily portable between different...
Forum: Coders. Releases 18 June 2021, 17:19
Replies: 55
Views: 23,061
Posted By phx
Not sure how much Visual Studio allows...

Not sure how much Visual Studio allows configuration and usage of foreign compilers. I have never used vbcc under Windows myself, but maybe I would have a look at VSCode, which seems to be a great...
Forum: Retrogaming General Discussion 18 June 2021, 17:06
Replies: 83
Views: 6,413
Posted By phx
Ok, I see what you mean. Is calculating...

Ok, I see what you mean. Is calculating pre-shifted tiles more difficult than writing to hardware registers? Don't know. I'm no ST expert.
Is it even possible to reach 50fps on the ST? Maybe there...
Forum: Retrogaming General Discussion 18 June 2021, 14:45
Replies: 83
Views: 6,413
Posted By phx
Depends what you want to do. If you don't want to...

Depends what you want to do. If you don't want to use the OS at all, you can choose to do so (for example for a game or demo) and all you need is your memory location diagram (AKA the register...
Forum: Coders. C/C++ 18 June 2021, 08:41
Replies: 20
Views: 1,222
Posted By phx
Which makes sense for POSIX systems, when it...

Which makes sense for POSIX systems, when it already defined these types at system level.

At least NDK 3.2 does that for C99 compilers (which probably only includes gcc and vbcc). From...
Forum: Coders. C/C++ 16 June 2021, 21:55
Replies: 20
Views: 1,222
Posted By phx
sys/types.h is not part of any ISO-C standard....

sys/types.h is not part of any ISO-C standard. This is POSIX. For standard types we have stdint.h since ISO-C99.
Forum: Coders. C/C++ 16 June 2021, 21:53
Replies: 20
Views: 1,222
Posted By phx
fd2pragma doesn't like brackets in SFD files like...

fd2pragma doesn't like brackets in SFD files like [struct BitMap *bm2] and ignores the line, which is fatal for the offset count.

Olaf Barthel just told me that the layers_lib.sfd was fixed for...
Forum: Coders. C/C++ 16 June 2021, 13:11
Replies: 20
Views: 1,222
Posted By phx
This is the problem! And casting to...

This is the problem!

And casting to unsigned long* doesn't help much, when GetAttr() needs an ULONG*.

I found out that the exec/types.h header from NDK 3.2 uses C99 stdint.h to define the...
Forum: Coders. C/C++ 16 June 2021, 12:57
Replies: 20
Views: 1,222
Posted By phx
Just by generating layers inlines from the FD...

Just by generating layers inlines from the FD file the window in your example program no longer hangs? Hard to believe. :)

But going the FD-route is certainly an option. I am always building the...
Forum: Coders. C/C++ 14 June 2021, 16:23
Replies: 20
Views: 1,222
Posted By phx
Exactly. I have no idea why these brackets are...

Exactly. I have no idea why these brackets are there, and for another argument they aren't. Is there an SFD specification somewhere? Maybe Olaf could tell us something about it, but I doubt he reads...
Forum: Coders. C/C++ 13 June 2021, 15:04
Replies: 20
Views: 1,222
Posted By phx
Ah, sorry, I forgot to mention that I also...

Ah, sorry, I forgot to mention that I also updated fd2pragma. For the following reasons:


New structure typedef TimeVal_Type
Make type of CONST_APTR known
New non-standard tag call:...
Forum: Coders. C/C++ 13 June 2021, 13:00
Replies: 20
Views: 1,222
Posted By phx
I have prepared a new m68k-amigaos target...

I have prepared a new m68k-amigaos target archive, based on NDK 3.2, some days ago. My approach was to keep the NDK 3.9 fd files during the fd2pragma-run, but those files which are present in both...
Forum: Coders. C/C++ 12 June 2021, 19:30
Replies: 5
Views: 448
Posted By phx
Not at all. You can name them whatever you...

Not at all.

You can name them whatever you like, if it helps you.

No.

No. You should prefer proto/ instead of a compiler specific pragma/ or inline/. It's also better than clib/, which is...
Forum: Coders. C/C++ 12 June 2021, 13:44
Replies: 5
Views: 448
Posted By phx
Usually UAE has the option to emulate a hard...

Usually UAE has the option to emulate a hard drive on any directory of your host system. You can use that for development from both sides.

I'm not sure if smakefiles are compatible enough to...
Forum: Coders. Blitz Basic 09 June 2021, 19:16
Replies: 122
Views: 26,673
Posted By phx
True. Especially when the whole game engine runs...

True. Especially when the whole game engine runs in VBI. ;)

Which means I would set up TimerB interrupts for writing DMACON/AUDxLC exactly like I do now, but from a level-3 instead of a level-6...
Forum: Coders. Blitz Basic 09 June 2021, 18:01
Replies: 122
Views: 26,673
Posted By phx
Makes sense. But when they don't want to use the...

Makes sense. But when they don't want to use the level-6 interrupt for music ptplayer wouldn't work anyway, and precise CIA-timings wouldn't help.

That reminds me on adding VERTB-replay to...
Forum: Coders. Blitz Basic 09 June 2021, 16:56
Replies: 122
Views: 26,673
Posted By phx
I'm not sure if this is a good idea. As soon as...

I'm not sure if this is a good idea. As soon as the mod changes the tempo with a Fxx command your precise timing will be lost, even when resetting it to the default tempo of 125.
EDIT: Hmm... ok, it...
Forum: Coders. Blitz Basic 09 June 2021, 14:57
Replies: 122
Views: 26,673
Posted By phx
Sorry, missed that: Indeed, the player...

Sorry, missed that:

Indeed, the player writes AUDxPER with each new line from the track, even when there is nothing in it. In this case it writes the last period used (which defaults to 320 at...
Forum: News 04 June 2021, 20:30
Replies: 739
Views: 79,696
Posted By phx
I haven't seen the new NDK yet, so I'm still...

I haven't seen the new NDK yet, so I'm still guessing what's in it. :)

I'm glad to help. Just contact me by email with a copy of the latest NDK, and I will test it and provide suitable header...
Forum: News 04 June 2021, 19:44
Replies: 739
Views: 79,696
Posted By phx
Very nice! Too bad. I would have been glad...

Very nice!

Too bad. I would have been glad to assist.

No, vbcc has its own inlines. So I understand they have not been generated and are not included?

Not a big problem though, as they can...
Forum: News 04 June 2021, 11:19
Replies: 739
Views: 79,696
Posted By phx
Thanks. That's good to know! I haven't seen the...

Thanks. That's good to know!
I haven't seen the new NDK yet and was never contacted about vbcc support in it, so I just assumed the worst. ;)
Forum: News 03 June 2021, 18:22
Replies: 739
Views: 79,696
Posted By phx
It uses any NDK you like to use. Although I would...

It uses any NDK you like to use. Although I would recommend the kick13 configuration for Kickstart 1.x NDKs.

Are there any new static amiga.lib functions, which are not in a shared library? I...
Forum: Coders. Asm / Hardware 03 June 2021, 12:36
Replies: 20
Views: 3,784
Posted By phx
vasm can be compiled with any 32-bit or 64-bit...

vasm can be compiled with any 32-bit or 64-bit C99-compliant compiler. It's up to you which one to select.

Additionally we automatically generate 64-Bit Windows executables with every new release...
Forum: Coders. Asm / Hardware 28 May 2021, 23:03
Replies: 16
Views: 1,146
Posted By phx
I would add that you can use more of the disk...

I would add that you can use more of the disk space, because there are no administrative blocks from the file system anymore. Most important advantage for me is that it is the only safe method to...
Forum: Coders. Asm / Hardware 27 May 2021, 14:25
Replies: 9
Views: 847
Posted By phx
I think that _custom was primarily defined for C...

I think that _custom was primarily defined for C compilers, as you need a symbol with a type to make references like custom.intena. And it hides the ugly numbers, so a lea _custom,a0 is more readable...
Forum: Coders. Asm / Hardware 26 May 2021, 14:23
Replies: 11
Views: 722
Posted By phx
I would say that's only valid for 68020/68030. ...

I would say that's only valid for 68020/68030.

Usually caches and MMU should be disabled and VBR is zero when the boot block is entered, but I have seen some A1200 configurations where this is...
Forum: Coders. Asm / Hardware 24 May 2021, 22:37
Replies: 8
Views: 766
Posted By phx
No. The main reason is that you turn off Raster,...

No. The main reason is that you turn off Raster, Copper and Sprite-DMA and load your copper list without reenabling Copper-DMA after that. I would recommend at least move.w #$8280,DMACON(a5) after...
Forum: Coders. Asm / Hardware 22 May 2021, 12:03
Replies: 31
Views: 3,354
Posted By phx
There is also no need for it. Just call vlink...

There is also no need for it. Just call vlink with -s and -x to strip all symbols.
Forum: Coders. General 19 May 2021, 21:02
Replies: 113
Views: 5,168
Posted By phx
Sure. Those are additional features, which a game...

Sure. Those are additional features, which a game author may like or not. Probably not, in this case. ;)
I'm just talking about bugs.
Forum: Coders. Releases 19 May 2021, 20:52
Replies: 159
Views: 47,899
Posted By phx
_mt_playfx returns a pointer to the channel...

_mt_playfx returns a pointer to the channel status structure, which includes everything. So you could theoretically call _mt_playfx with a dummy effect for all four channels to acquire their status...
Forum: Coders. General 19 May 2021, 20:29
Replies: 113
Views: 5,168
Posted By phx
The thread derailed, as usual, but this fits...

The thread derailed, as usual, but this fits perfectly to my initial thoughts:



I see this list for the first time and I wished the last three issues would have been reported to me! Maybe I...
Forum: Amiga scene 18 May 2021, 18:32
Replies: 37
Views: 3,372
Posted By phx
Do you really need assembler fragments within a C...

Do you really need assembler fragments within a C function? When the whole function is asm you could simply write it with a real assembler of your choice and link the object files.
Forum: Coders. General 17 May 2021, 15:18
Replies: 113
Views: 5,168
Posted By phx
Interesting. I already asked myself why there is...

Interesting. I already asked myself why there is no framework for game developers based on WHDLoad? But one disadvantage is higher memory usage? Then how can WHDLoad fix games which use up all Chip...
Forum: Coders. General 17 May 2021, 14:45
Replies: 113
Views: 5,168
Posted By phx
If you followed your statement from the first...

If you followed your statement from the first sentence then there would never be any stop-start OS stuff. ;)
Forum: Coders. General 17 May 2021, 14:43
Replies: 113
Views: 5,168
Posted By phx
:great Fair enough. Thanks for the details.

:great

Fair enough. Thanks for the details.
Forum: Coders. General 17 May 2021, 13:35
Replies: 113
Views: 5,168
Posted By phx
Nice to hear! So it actually works that way. I...

Nice to hear! So it actually works that way. I just wondered, because I never got a bug report from a WHDLoad author in the past (or I forgot about it).

Just out of curiosity: what was the...
Forum: Coders. General 17 May 2021, 12:51
Replies: 113
Views: 5,168
Posted By phx
Why WHDLoad for new games?

I hope nobody feels offended by this question, but I'm asking myself why do WHDLoad slaves exist for games, which have just been released? Sometimes the patch is even released together with the game....
Showing results 1 to 40 of 1923

 
Forum Jump

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


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