English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1915
Search took 0.18 seconds.
Search: Posts Made By: phx
Forum: Coders. C/C++ Yesterday, 21:55
Replies: 19
Views: 851
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++ Yesterday, 21:53
Replies: 19
Views: 851
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++ Yesterday, 13:11
Replies: 19
Views: 851
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++ Yesterday, 12:57
Replies: 19
Views: 851
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: 19
Views: 851
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: 19
Views: 851
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: 19
Views: 851
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: 3
Views: 279
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: 3
Views: 279
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,386
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,386
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,386
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,386
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: 721
Views: 73,253
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: 721
Views: 73,253
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: 721
Views: 73,253
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: 721
Views: 73,253
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,686
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,071
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: 780
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: 666
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: 713
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,251
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: 4,876
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,557
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: 4,876
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,347
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: 4,876
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: 4,876
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: 4,876
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: 4,876
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: 4,876
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....
Forum: Amiga scene 12 May 2021, 10:37
Replies: 32
Views: 3,556
Posted By phx
Nice work! Fonts and logos look identical to me. ...

Nice work! Fonts and logos look identical to me.
But I would use a DD disk if I actually wanted to use it for some time. :)
Forum: Coders. Asm / Hardware 05 May 2021, 17:37
Replies: 6
Views: 910
Posted By phx
I decided to report it as an error for 68020+...

I decided to report it as an error for 68020+ CPUs. Otherwise it goes without a warning, like other odd branches.

Patch will be available with tomorrow's source snapshot.

--- cpus/m68k/cpu.c ...
Forum: Coders. Asm / Hardware 05 May 2021, 17:33
Replies: 14
Views: 938
Posted By phx
LEA.w does not exist. There is just LEA, which is...

LEA.w does not exist. There is just LEA, which is a 32-bit operation.
Forum: Coders. Asm / Hardware 04 May 2021, 22:24
Replies: 9
Views: 980
Posted By phx
The main loop waits for VPOS=16 and has not very...

The main loop waits for VPOS=16 and has not very much to do. I could imagine that a faster system might finish the work on the same raster line and, as a consequence, executes again immediately?
Forum: Coders. Asm / Hardware 04 May 2021, 14:04
Replies: 92
Views: 5,069
Posted By phx
That's correct. I agree. And I guess that...

That's correct. I agree. And I guess that TurboSprint could have been possible on a 060 system with sufficient memory when doing it 100% OS compliant.

But many games would not exist in the same...
Forum: Coders. C/C++ 30 April 2021, 11:26
Replies: 4
Views: 699
Posted By phx
There is not much I can say, without something to...

There is not much I can say, without something to reproduce the crash. I admit I haven't done much WarpOS tests during the last months, but I just compiled our whole testsuite with -O3 for WarpOS and...
Forum: Coders. Releases 28 April 2021, 20:13
Replies: 159
Views: 47,557
Posted By phx
Yes, that's a bug. And a perfect fix. Thanks!

Yes, that's a bug. And a perfect fix. Thanks!
Forum: Coders. Asm / Hardware 27 April 2021, 16:52
Replies: 13
Views: 963
Posted By phx
Done. You can try tomorrow's source snapshot at...

Done. You can try tomorrow's source snapshot at http://sun.hasenbraten.de/vasm/index.php?view=source

Although I don't like dots in labels or symbols, which is why vasm doesn't support it in...
Showing results 1 to 40 of 1915

 
Forum Jump

All times are GMT +2. The time now is 19:45.


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