English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1132
Search took 0.09 seconds.
Search: Posts Made By: phx
Forum: Coders. C/C++ Today, 15:51
Replies: 16
Views: 402
Posted By phx
Leffmann's headers and config files don't help,...

Leffmann's headers and config files don't help, because the problem is in the vbcc binary.

I have no idea what went wrong. I studied the build logs and all seems normal. The warnings are harmless....
Forum: Coders. C/C++ Today, 15:18
Replies: 1
Views: 55
Posted By phx
As with most linkers, just give the sections...

As with most linkers, just give the sections different names. :)
Do not specify -sd (small data), which will merge all data and bss.

What does "merging enabled" mean for you? I guess you are...
Forum: Coders. C/C++ 16 August 2018, 21:57
Replies: 16
Views: 402
Posted By phx
I have neither seen this bug, nor did anybody...

I have neither seen this bug, nor did anybody ever report it to me. So my first assumption would be what Leffmann said: something went wrong with your vbccm68k compilation.

I didn't reply before,...
Forum: Coders. Tutorials 15 August 2018, 19:52
Replies: 9
Views: 305
Posted By phx
There is something I am unsure about myself:...

There is something I am unsure about myself: Usually the data cache should not be enabled, when the OS executes the boot block code. But I seem to remember that there are some strange 68060-boards...
Forum: Coders. Tutorials 15 August 2018, 19:36
Replies: 9
Views: 305
Posted By phx
To make it a real tutorial, here is a more...

To make it a real tutorial, here is a more general example, which can automatically create a working ADF from a script or a Makefile.

It is advisable to make an assembler source, which defines the...
Forum: project.Amiga Game Factory 11 August 2018, 12:49
Replies: 14
Views: 798
Posted By phx
Do you take the tile code under the bottom-left...

Do you take the tile code under the bottom-left or bottom-right sprite-edge? Or from the middle?


When falling into such a sloped tile, does it immediately stick to the surface when touching it?...
Forum: project.Amiga Game Factory 10 August 2018, 22:51
Replies: 14
Views: 798
Posted By phx
Good progress! Congratulations. Wow!...

Good progress! Congratulations.



Wow! That's huge! Slopes are the holy grail of tile-based games! :cool

In fact I gave up on slopes in my current game project, because my head exploded while...
Forum: Coders. Asm / Hardware 03 August 2018, 23:50
Replies: 3
Views: 207
Posted By phx
Didn't you ask the same, or a similar question,...

Didn't you ask the same, or a similar question, few days ago? ;)

I'm on holiday in Denmark now, and I don't have MonAm with me for testing. But I seem to remember that MonAm cannot parse OS2+...
Forum: Amiga scene 03 August 2018, 00:57
Replies: 149
Views: 11,914
Posted By phx
It is not a good idea to start working on new...

It is not a good idea to start working on new techniques or new game ideas when your current project is still far from being finished.

I guess, how to proceed also depends on the state of the old...
Forum: Coders. C/C++ 28 July 2018, 16:14
Replies: 69
Views: 1,716
Posted By phx
Great! Thanks for testing.

Great! Thanks for testing.
Forum: Coders. C/C++ 26 July 2018, 21:52
Replies: 69
Views: 1,716
Posted By phx
Wow... the problem is older than I thought. But...

Wow... the problem is older than I thought. But as it only became visible with old mathieeedoubbas.libraries it was not noticed until now. Thanks for your tests!

Attached you find a recompilation...
Forum: Coders. C/C++ 26 July 2018, 15:53
Replies: 69
Views: 1,716
Posted By phx
Great! Thanks for the confirmation. Ok....

Great! Thanks for the confirmation.


Ok. I will rebuild the m68k-amigaos target libs as soon as possible. Probably I will also consider an official patch release.


In the meantime, in case...
Forum: Coders. C/C++ 26 July 2018, 12:45
Replies: 69
Views: 1,716
Posted By phx
There are certainly bugs in several...

There are certainly bugs in several mathieee#?.library versions, but I don't want to exclude a problem with vbcc or vasm at this point. There may be strange side-effects from both sides.

When...
Forum: Coders. Tutorials 24 July 2018, 12:12
Replies: 13
Views: 7,974
Posted By phx
Nice tutorial. Just two annotations: - Why...

Nice tutorial. Just two annotations:

- Why do you force the code into Chip RAM? When writing a demo or a game you always have too few Chip RAM, so you shouldn't put anything there which also works...
Forum: Coders. General 22 July 2018, 20:26
Replies: 9
Views: 535
Posted By phx
Ah! That's the delay which reactivates the...

Ah! That's the delay which reactivates the missing Sprite6 DMA slot? And scrolling still works?

I didn't expect that such an odd value does even work in LoRes.

Hmm. I guess BPLCON1 shift 0 is a...
Forum: Coders. General 22 July 2018, 17:05
Replies: 9
Views: 535
Posted By phx
Really? More details concerning the OCS-trick,...

Really? More details concerning the OCS-trick, please! :)
Forum: Coders. General 17 July 2018, 12:51
Replies: 32
Views: 1,247
Posted By phx
I have to say that I didn't make any further...

I have to say that I didn't make any further experiments with Huffman encoding for now. I have still about 40K left on the disk and will probably only need some more samples for the menu. Also...
Forum: Coders. General 09 July 2018, 13:26
Replies: 32
Views: 1,247
Posted By phx
Coming back to Mr.Huffman on Deltas, followed by...

Coming back to Mr.Huffman on Deltas, followed by an LZ-compression. That seems to be the best approach.


The Huffman algorithm is straight-forward, but as I understand you have to save a table...
Forum: Coders. Asm / Hardware 09 July 2018, 13:04
Replies: 5
Views: 403
Posted By phx
When the program still assembles without error...

When the program still assembles without error using -kick1hunks, then it cannot be an OS2+ specific relocation which was in use. So I am quite sure that the first executable just contained a...
Forum: Coders. General 07 July 2018, 23:47
Replies: 32
Views: 1,247
Posted By phx
Excellent idea! I will certainly find a...

Excellent idea!

I will certainly find a portable Huffman encoder in C somewhere. The 68k decoder is another topic. But the encoder is sufficient for some tests. :)
Forum: Coders. General 07 July 2018, 14:50
Replies: 32
Views: 1,247
Posted By phx
Ok, I have some results with real data. As I...

Ok, I have some results with real data. As I feared, the gain by such a delta-transformation is not impressive. Three test cases:

1. All instrument samples from a Protracker MOD (53476 bytes)
...
Forum: Coders. General 07 July 2018, 12:46
Replies: 32
Views: 1,247
Posted By phx
No OS available. Crunching performance does...

No OS available.

Crunching performance does not matter. It is done during the build process and must be portable.

Exactly. Samples are only loaded once into memory. Then used for effects in the...
Forum: Coders. General 07 July 2018, 12:14
Replies: 32
Views: 1,247
Posted By phx
Sorry, I should have been more precise. :) ...

Sorry, I should have been more precise. :)

Indeed, I need a lossless compression, and at least the decompression shouldn't be too complex, because I have to implement it in assembler as part of...
Forum: Coders. General 07 July 2018, 10:30
Replies: 32
Views: 1,247
Posted By phx
Compressing Samples

Does a good, portable C source for compressing Amiga 8-bit audio samples exist? Probably some delta-compression algorithm has the best effect?
Forum: Amiga websites reviews 26 June 2018, 12:26
Replies: 19
Views: 1,579
Posted By phx
I guess that LHA is just *the* standard archiver...

I guess that LHA is just *the* standard archiver on the Amiga. You can expect that every Amiga user has it installed. Just like ZIP is the standard in the Windows world, although there are much...
Forum: Coders. C/C++ 21 June 2018, 17:10
Replies: 7
Views: 428
Posted By phx
You need the FD file and the clib prototypes...

You need the FD file and the clib prototypes header. Assuming the library is xyz.library, generate the (portable) proto/xyz.h like this:

fd2pragma special 38 to include/proto xyz.fd
Then generate...
Forum: Coders. Asm / Hardware 20 June 2018, 13:02
Replies: 9
Views: 522
Posted By phx
Just look at the last line. The default output...

Just look at the last line. The default output format is "test", not AmigaOS hunk-format executable.
Forum: Coders. General 18 June 2018, 12:22
Replies: 4
Views: 561
Posted By phx
Explanation: The standard clib (vc.lib) does not...

Explanation: The standard clib (vc.lib) does not include floating point support to keep programs small. When linking with the mlib (mieee.lib for soft-float) several functions (like printf, scanf,...
Forum: Coders. General 12 June 2018, 23:15
Replies: 18
Views: 1,034
Posted By phx
Oh, yes. I was already wondering why the comment...

Oh, yes. I was already wondering why the comment didn't really match the function name.

Ok. I see. The _done_flag makes every second interrupt skip the make_screen routine, which continues to run...
Forum: Coders. General 12 June 2018, 18:29
Replies: 18
Views: 1,034
Posted By phx
Hmm. Really? As far as I understand that wouldn't...

Hmm. Really? As far as I understand that wouldn't give you the possibility to finish your update_all, when it takes more than 20ms, because the current VBL is interrupted by the next VBL, which...
Forum: Coders. Asm / Hardware 12 June 2018, 18:19
Replies: 11
Views: 795
Posted By phx
You can only try to limit the memory allocations...

You can only try to limit the memory allocations of the OS. For example by starting without startup-sequence in a 2-color shell.
Forum: Coders. General 11 June 2018, 17:19
Replies: 18
Views: 1,034
Posted By phx
Perhaps Steril707's game engine is itself running...

Perhaps Steril707's game engine is itself running in VBL? He didn't say that explicitely. This would make things a little bit more complicated.
Forum: Coders. Asm / Hardware 05 June 2018, 01:46
Replies: 6
Views: 574
Posted By phx
No, unfortunately not. You could try to send an...

No, unfortunately not. You could try to send an ACTION_FLUSH packet to the filesystem, but there is no DOS-call for it.

Or maybe you can enforce the buffer flush by opening and reading from...
Forum: Coders. General 31 May 2018, 19:06
Replies: 10
Views: 767
Posted By phx
Wow! Those Python plugins are really a powerful...

Wow! Those Python plugins are really a powerful extension to Tiled!

I did some Python code before (mainly for web pages), but I always prefer C when I have the choice. Indeed my converter does the...
Forum: Coders. General 30 May 2018, 20:51
Replies: 10
Views: 767
Posted By phx
Usually an Amiga game doesn't want to parse the...

Usually an Amiga game doesn't want to parse the XML files, which TilEd generates, for several reasons (too complex, files are unnecessarily large).

So I have written a small, portable C program...
Forum: Coders. General 30 May 2018, 13:36
Replies: 10
Views: 767
Posted By phx
I can also recommend TilEd. It does nearly...

I can also recommend TilEd. It does nearly everything you will ever need and allows custom properties for tiles and maps. We are using it for our current game development and even define all sprite...
Forum: Coders. Contest 19 May 2018, 14:00
Replies: 390
Views: 69,884
Posted By phx
Exactly. Don't start an Amiga game, if you expect...

Exactly. Don't start an Amiga game, if you expect money or acknowledgement! Do it for yourself. Have fun. And maybe a few others have it too.



Really? :shocked

IMHO, when a game targets...
Forum: Coders. Contest 18 May 2018, 20:06
Replies: 390
Views: 69,884
Posted By phx
Absolutely. A stock A500 with 68000/7MHz should...

Absolutely. A stock A500 with 68000/7MHz should be the reference platform for homebrew developments. Although supporting all bigger Amigas is not forbidden, as long as it still works on the...
Forum: Coders. Asm / Hardware 14 May 2018, 01:13
Replies: 6
Views: 592
Posted By phx
Nearly unknown to most people is that OS3.0...

Nearly unknown to most people is that OS3.0 introduced a new relocation hunk called HUNK_RELRELOC32, which in fact enables resolving relative references between sections! It only works with 32-bit...
Forum: Coders. General 10 May 2018, 13:01
Replies: 26
Views: 1,852
Posted By phx
No, because there is an even better way: it's...

No, because there is an even better way: it's called linker-library!

Just put your routines, which you want to link on demand, in separate object files. Then put all these objects into a library -...
Showing results 1 to 40 of 1132

 
Forum Jump

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


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