English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1966
Search took 0.24 seconds.
Search: Posts Made By: phx
Forum: Coders. Asm / Hardware 26 July 2021, 17:07
Replies: 39
Views: 1,289
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,161
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,161
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: 1,719
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: 1,719
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,161
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: 338
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: 565
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,161
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: 796
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,161
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: 5,290
Posted By phx
Ah, ok. Thats' fine!

Ah, ok. Thats' fine!
Forum: Coders. C/C++ 20 July 2021, 12:18
Replies: 107
Views: 5,290
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: 11,679
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: 739
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: 739
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: 739
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: 7,966
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: 7,966
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: 7,966
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: 787
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: 7,966
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: 13
Views: 629
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...
Forum: Coders. General 09 July 2021, 20:38
Replies: 13
Views: 629
Posted By phx
What is restricting you exactly?

What is restricting you exactly?
Forum: Coders. C/C++ 29 June 2021, 22:13
Replies: 107
Views: 5,290
Posted By phx
At least it is not necessary, as long as the...

At least it is not necessary, as long as the plugin is not compiled with small data.

Sounds as if you are quite certain that a TextEdit plugin must be reentrant? Is that really the case? I didn't...
Forum: Coders. C/C++ 29 June 2021, 14:51
Replies: 107
Views: 5,290
Posted By phx
:great Let's see if guy lateur can...

:great


Let's see if guy lateur can generate a working plugin now, with that knowledge.
Forum: Coders. C/C++ 29 June 2021, 14:45
Replies: 107
Views: 5,290
Posted By phx
Det var ikke så godt! ;) As TextEdit was...

Det var ikke så godt! ;)

As TextEdit was already released with OS3.2, I guess the interface will not change again and has to be documented with register arguments?
Forum: Coders. General 29 June 2021, 12:16
Replies: 13
Views: 955
Posted By phx
This is a simple copper list effect, by setting a...

This is a simple copper list effect, by setting a negative BPLxMOD and changing some colours. So less than half of the screen actually needs blitting.
Forum: Coders. C/C++ 29 June 2021, 11:04
Replies: 107
Views: 5,290
Posted By phx
Aaaarrrgh! Maybe this is a tiny detail which is...

Aaaarrrgh!
Maybe this is a tiny detail which is worth documenting for potential plugin authors? :p

There is no way you would expect that init() is called with register arguments. Also the example...
Forum: Coders. C/C++ 28 June 2021, 11:45
Replies: 107
Views: 5,290
Posted By phx
Nevertheless you are sure it was a Software...

Nevertheless you are sure it was a Software Failure #80000020?
This is very strange, and it implies that the init() function probably never returned without freezing the system. So you can forget...
Forum: Coders. C/C++ 27 June 2021, 14:12
Replies: 107
Views: 5,290
Posted By phx
Freezes? Wasn't it some kind of Guru before? ...

Freezes? Wasn't it some kind of Guru before?
Anyway, it is essential to find out whether init() is called at all or whether it even returns before the problem occurs.

As far as I understand...
Forum: Coders. Asm / Hardware 27 June 2021, 13:37
Replies: 21
Views: 1,504
Posted By phx
Only fine so far as you didn't notice the screams...

Only fine so far as you didn't notice the screams of innocent Chip RAM you were overwriting with your blits while moving forward. ;)

You have to allocate these words at the end of your bitmap...
Forum: Coders. Asm / Hardware 26 June 2021, 20:05
Replies: 21
Views: 1,504
Posted By phx
Exactly! And a few extra words on the bottom to...

Exactly! And a few extra words on the bottom to be able to scroll the whole map width.

There is always Georg Steger's legendary Scrolling Trick on Aminet, which everybody who wants to implement...
Forum: Coders. C/C++ 26 June 2021, 19:13
Replies: 107
Views: 5,290
Posted By phx
Although this is more a shortcoming of gcc's...

Although this is more a shortcoming of gcc's resident startup. It is possible to deal with __saveds in such executables, and it works with SAS/C and vbcc.
Forum: Coders. Asm / Hardware 26 June 2021, 17:38
Replies: 21
Views: 1,504
Posted By phx
No. That would waste a lot of Chip RAM. Just add...

No. That would waste a lot of Chip RAM. Just add the total number of words you would have to move the BPLxPT when scrolling to the rightmost position on the map.

Then you can save a lot of Chip...
Forum: Coders. Asm / Hardware 26 June 2021, 16:44
Replies: 21
Views: 1,504
Posted By phx
If your map is not endless you can just add...

If your map is not endless you can just add mapwidth - displaywidth words to the size of your bitmap. So you can continue scrolling without having to blit a second column or reset the pointers....
Forum: Coders. C/C++ 26 June 2021, 16:08
Replies: 107
Views: 5,290
Posted By phx
Looks like a real mystery then. I would be...

Looks like a real mystery then. I would be curious to debug that. :)
Maybe guy lateur comes up with some new information.
Forum: Coders. C/C++ 26 June 2021, 15:56
Replies: 107
Views: 5,290
Posted By phx
I realised that HighlightSetFormat() is a new...

I realised that HighlightSetFormat() is a new function of texteditor.library, so I thought it was safe. But when this call somehow ends in the original TextEdit context, then you are right!

And...
Forum: Coders. C/C++ 26 June 2021, 14:54
Replies: 107
Views: 5,290
Posted By phx
Thanks. Although I would have hoped that...

Thanks.
Although I would have hoped that TextEdit can still be built with the near model for best performance. There is probably just a __saveds missing somewhere?


But that doesn't matter, does...
Forum: Coders. C/C++ 26 June 2021, 12:01
Replies: 107
Views: 5,290
Posted By phx
True. But without any startup code setting up...

True. But without any startup code setting up SysBase I wouldn't expect you to be able to call either of them. In your example SysBase is initialised in openLibs(), which would be after AllocVec().
...
Showing results 1 to 40 of 1966

 
Forum Jump

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


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