English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1983
Search took 0.17 seconds.
Search: Posts Made By: phx
Forum: Coders. C/C++ 12 September 2021, 11:09
Replies: 4
Views: 264
Posted By phx
I admit it is confusing, and this is certainly my...

I admit it is confusing, and this is certainly my fault.

From Apollo's reaction I assume that he didn't expect the kick13sm config file to enable 16-bit int. He probably thought that the 's'...
Forum: Coders. C/C++ 10 September 2021, 23:23
Replies: 11
Views: 582
Posted By phx
This is a C source. I don't see any C++ in it. ...

This is a C source. I don't see any C++ in it.

Why "g++"? It is plain C. Use a C compiler. No special options should be necessary. Just link with -lamiga for the stub functions (source doesn't use...
Forum: Coders. System 09 September 2021, 13:03
Replies: 13
Views: 729
Posted By phx
Yes. It is a jbsr. I see the same with gcc...

Yes. It is a jbsr. I see the same with gcc 2.95.3, but the assembler always makes a jsr from it, even when generating 020+ code. Maybe there is not a compiler-option but an assembler-option to...
Forum: Coders. Asm / Hardware 09 September 2021, 12:26
Replies: 16
Views: 793
Posted By phx
There are many ways to debug such a crash, but...

There are many ways to debug such a crash, but the original question remains an interesting one: how does an m68k debugger generate a back trace of the stack?

I know there are debuggers which can...
Forum: Coders. System 08 September 2021, 19:51
Replies: 13
Views: 729
Posted By phx
I tried to reproduce the pc-relative function...

I tried to reproduce the pc-relative function call problem with gcc 2.95.3 on my A3000 and with the latest gcc I got, gcc 5.4.0, configured as a m68k cross-compiler on my NetBSD server. Both always...
Forum: Coders. C/C++ 08 September 2021, 16:04
Replies: 1
Views: 380
Posted By phx
The official reaction.lib floating around is...

The official reaction.lib floating around is SAS/C-only. It looks like it was compiled with the SAS/C-specific regargs-ABI, unlike amiga.lib and debug.lib, so it also references external functions...
Forum: Coders. System 07 September 2021, 20:03
Replies: 13
Views: 729
Posted By phx
Like a/b I'm not sure what you are currently...

Like a/b I'm not sure what you are currently generating.
I understand your prerequisite is that the resulting code must be raw binaries, with a simple 32-bit address relocation table appended, like...
Forum: Coders. Blitz Basic 05 September 2021, 13:19
Replies: 126
Views: 31,556
Posted By phx
I would guess that the first two bytes of that...

I would guess that the first two bytes of that sample are not zero. They are used for idling, when a one-shot sample has played. See also the last two questions of the ptplayer FAQ.

An alternative...
Forum: Nostalgia & memories 31 August 2021, 13:47
Replies: 31
Views: 1,216
Posted By phx
I'm using ethernet on my Amigas mostly for...

I'm using ethernet on my Amigas mostly for transfering files in the LAN. There are not so many internet services you could use nowadays, but theoretically they are online all the time.

I would...
Forum: Coders. Asm / Hardware 21 August 2021, 21:43
Replies: 8
Views: 1,654
Posted By phx
Indeed, it's always good to have the source of...

Indeed, it's always good to have the source of some complex applications, which you can assemble and compare. But that's never enough.

What I'm doing additionally, to test the m68k backend of vasm...
Forum: Coders. General 09 August 2021, 14:08
Replies: 17
Views: 1,838
Posted By phx
Wow! That's great. Seems to include a lot of...

Wow! That's great. Seems to include a lot of information I need. I will work through it in the following weeks. Maybe I can add HCLN source level debugging to the Amiga output module and real DRI...
Forum: Coders. General 06 August 2021, 12:58
Replies: 17
Views: 1,838
Posted By phx
Sounds great! Any information is much...

Sounds great! Any information is much appreciated. :great
Forum: Coders. System 03 August 2021, 22:54
Replies: 25
Views: 2,666
Posted By phx
The struct Library at the beginning is mandatory,...

The struct Library at the beginning is mandatory, as it describes your library. The rest of the structure is filled by data your library code needs.

I haven't seen your example library source. It...
Forum: Coders. General 03 August 2021, 22:37
Replies: 17
Views: 1,838
Posted By phx
Now I'm unsure. Did I see HEADDBGV01 also in...

Now I'm unsure. Did I see HEADDBGV01 also in SAS/C output? Have to check that tomorrow.

Otherwise, I'm also interested in Atari object file formats. :)
Especially in the DRI object file format...
Forum: Coders. General 03 August 2021, 16:54
Replies: 17
Views: 1,838
Posted By phx
Great! :great Maybe I can implement it as an...

Great! :great

Maybe I can implement it as an alternative line-debug format in vasm, once I have all information.
Forum: Coders. General 03 August 2021, 12:01
Replies: 17
Views: 1,838
Posted By phx
The HEADDBGV01 part is still mysterious, but HCLN...

The HEADDBGV01 part is still mysterious, but HCLN seems sufficiently reengineered. Thanks a lot!

I guess that Devpac's MonAm will read both, Devpac-HCLN and SAS/C-LINE DEBUG hunks. So there is no...
Forum: Coders. General 02 August 2021, 12:00
Replies: 17
Views: 1,838
Posted By phx
Devpac Debug hunks

When you assemble with debug info enabled in Devpac, you get a free floating HUNK_DEBUG labeled HEADDBGV01, directly following the header, and debug hunks labeled HCLN for each section.

Is the...
Forum: Coders. Asm / Hardware 26 July 2021, 17:07
Replies: 39
Views: 2,344
Posted By phx
Indeed, the code shown is calling for trouble. ...

Indeed, the code shown is calling for trouble.
Never access the hardware directly when the OS is still alive! And the OS is alive, when the AmigaOS interrupts are handled. Also don't play with DMA...
Forum: Coders. System 25 July 2021, 12:02
Replies: 15
Views: 1,800
Posted By phx
Ok, so we have either rounding issues by the...

Ok, so we have either rounding issues by the round-to-zero policy, or we have rounding issues when using mathieeesingbas and mathieeedoubbas in parallel. Sigh. :(

I agree, but the fix doesn't help...
Forum: Coders. System 23 July 2021, 23:14
Replies: 15
Views: 1,800
Posted By phx
With misconfigured I mean something else than...

With misconfigured I mean something else than round-to-nearest and extended precision.

Not a problem for plain portable C programs, but AmigaOS programs which launch new tasks are at risk. This is...
Forum: Coders. Asm / Hardware 23 July 2021, 18:07
Replies: 28
Views: 2,680
Posted By phx
LOL I keep forgetting. I shouldn't look that up...

LOL
I keep forgetting. I shouldn't look that up in my own sources.
At least three seem easier to handle for me. And you have your two columns for clipping, even when one extra column is shown due...
Forum: Coders. Asm / Hardware 23 July 2021, 15:47
Replies: 28
Views: 2,680
Posted By phx
With the usual technique (ScrollingTrick.lha) you...

With the usual technique (ScrollingTrick.lha) you need three extra columns for horizontal scrolling. Not two.
Forum: Coders. System 23 July 2021, 15:10
Replies: 15
Views: 1,800
Posted By phx
Correct. There is fesetround() since C99, but I'm...

Correct. There is fesetround() since C99, but I'm refering to the default behaviour on startup which is defined in section F.7.3 Execution:
At program startup the floating point environment is...
Forum: Coders. C/C++ 23 July 2021, 14:47
Replies: 2
Views: 745
Posted By phx
Right. The reaction headers and inlines are...

Right. The reaction headers and inlines are there, but it seems that I forgot to add the auto.lib code for their library bases. This will hopefully be fixed with the next release of vbcc including...
Forum: Retrogaming General Discussion 22 July 2021, 22:55
Replies: 16
Views: 772
Posted By phx
Same here! I remember I played Commando only...

Same here! I remember I played Commando only because of the music.
EDIT: Cybernoid2 is also nice. Or the Ocean-Loader music.
Forum: Coders. System 22 July 2021, 22:47
Replies: 15
Views: 1,800
Posted By phx
Because it makes most sense? What else would you...

Because it makes most sense? What else would you select?

But do they state anywhere which rounding mode is used by default?
The mathieeedoubbas result looks really strange. It might be a bug,...
Forum: Coders. Asm / Hardware 22 July 2021, 13:14
Replies: 23
Views: 1,603
Posted By phx
Probably Ross used that designation to match the...

Probably Ross used that designation to match the symbols from amiga.lib with the same name. Alternatively you could import these symbols from amiga.lib with xref _LVODisable, etc., without having to...
Forum: Coders. System 21 July 2021, 14:53
Replies: 15
Views: 1,800
Posted By phx
Rounding differences in mathieee and 68k FPUs

The double precision expression of (37.0 * 100.0) / 34.0 yields three different results, depending whether it is calculated by mathieeedoubbas.library, an 68k FPU or a PPC FPU. The rounding mode...
Forum: Coders. C/C++ 21 July 2021, 14:23
Replies: 107
Views: 7,882
Posted By phx
Ah, ok. Thats' fine!

Ah, ok. Thats' fine!
Forum: Coders. C/C++ 20 July 2021, 12:18
Replies: 107
Views: 7,882
Posted By phx
The question is in which situation? For your own,...

The question is in which situation? For your own, private projects: yes, you can do that, as long as it gives you an advantage (depends on the number of registers allocated for it). For public code I...
Forum: Amiga scene 19 July 2021, 22:16
Replies: 131
Views: 13,106
Posted By phx
LOL There is some truth in it. :laughing ...

LOL
There is some truth in it. :laughing

Maybe we will need some replacement parts in the future, but otherwise it doesn't really matter if your Amiga runs with 50MHz or 400MHz. It will never...
Forum: Coders. Asm / Hardware 18 July 2021, 13:11
Replies: 19
Views: 1,094
Posted By phx
I see your problem. The optimal solution would be...

I see your problem. The optimal solution would be to analyze the decompression algorithm and the file structure, so you would be able to write the patched file back to disk.

What StingRay suggests...
Forum: Coders. Asm / Hardware 18 July 2021, 11:53
Replies: 19
Views: 1,094
Posted By phx
I have the feeling you are overcomplicating...

I have the feeling you are overcomplicating things. As I understand you already found the solution, here:

Which is also what jotd suggested: hook your code into an existing interrupt of interrest....
Forum: Coders. Asm / Hardware 18 July 2021, 00:56
Replies: 19
Views: 1,094
Posted By phx
I'm not sure what you are trying to do, but when...

I'm not sure what you are trying to do, but when you get a Privilege Violation exception then you are certainly in user mode while writing to SR.

When the OS is still alive, use Supervisor() to...
Forum: Retrogaming General Discussion 15 July 2021, 11:30
Replies: 166
Views: 9,455
Posted By phx
So true. :D Which is different with the above...

So true. :D
Which is different with the above mentioned 2D games, BTW.

Absolutely! It was exciting. And I played a lot of Team Fortress in the late 90s on my CSPPC Amiga.
But that's 20 years...
Forum: Retrogaming General Discussion 14 July 2021, 17:57
Replies: 166
Views: 9,455
Posted By phx
Let's start with Doom and Quake (and I did one of...

Let's start with Doom and Quake (and I did one of the first Quake ports for the Amiga, before the source was open). Do you really have fun playing them today? More than Turrican, Cannon Fodder,...
Forum: Retrogaming General Discussion 13 July 2021, 15:20
Replies: 166
Views: 9,455
Posted By phx
You're probably in the minority, at least on this...

You're probably in the minority, at least on this forum.

It is also my impression that most "realistic" 3D games are quite boring, because there is not much of a game behind to motivate me for...
Forum: Coders. Asm / Hardware 10 July 2021, 17:56
Replies: 18
Views: 1,157
Posted By phx
Did you use a linker or did you let vasm generate...

Did you use a linker or did you let vasm generate the hunk-format executable with -Fhunkexe option? In the latter case you have to use the -kick1hunks option, as vasm will output OS2.0 compatible...
Forum: Retrogaming General Discussion 10 July 2021, 13:38
Replies: 166
Views: 9,455
Posted By phx
I would love to use that new CPU for servers in...

I would love to use that new CPU for servers in my company, to replace x86 machines. But there has to be a Linux or BSD for it. Apple's Big Sur (...veillance) OS is really no option.
Forum: Coders. General 10 July 2021, 12:14
Replies: 14
Views: 1,160
Posted By phx
Which is not really a problem. The source is...

Which is not really a problem. The source is downloaded and compiled in a few seconds. Pure ANSI-C. There are no dependencies, as in most bloated GNU tools.

Software? You're talking about the vasm...
Showing results 1 to 40 of 1983

 
Forum Jump

All times are GMT +2. The time now is 22:53.


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