English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1862
Search took 0.16 seconds.
Search: Posts Made By: phx
Forum: Coders. Asm / Hardware Yesterday, 13:56
Replies: 2
Views: 150
Posted By phx
How man scanlines? When I did my ptplayer...

How man scanlines?


When I did my ptplayer I calculated using the HRM that 496 CIA ticks should be sufficient for an Audio DMA to occur, even with the lowest playback frequencies.
In reality...
Forum: Coders. C/C++ 17 April 2021, 20:51
Replies: 23
Views: 1,610
Posted By phx
Linker libraries. For AmigaOS you will...

Linker libraries.

For AmigaOS you will always link statically (except for OS4.x in some cases).

Yes. The NDK usually provides amiga.lib and debug.lib. Although most Amiga compilers provide...
Forum: Coders. C/C++ 17 April 2021, 14:16
Replies: 23
Views: 1,610
Posted By phx
Not much different than compiling on your Amiga. ...

Not much different than compiling on your Amiga.

What do you mean by "libraries"? The linker libraries should be there. The AmigaOS shared libraries (xyz.library) are not needed. The compiler...
Forum: Coders. C/C++ 17 April 2021, 11:43
Replies: 8
Views: 468
Posted By phx
Yes. Link with -lauto (or -lautos for small...

Yes. Link with -lauto (or -lautos for small data).

Yes. These functions must have the name _INIT_<pri>_<name>. Where <pri> is a priority between 1 and 9. 1 is called first. <name> is an optional...
Forum: Coders. C/C++ 13 April 2021, 00:47
Replies: 8
Views: 468
Posted By phx
No. The file size must differ. Otherwise your...

No. The file size must differ. Otherwise your configuration is broken. Example:

frank@nerthus cat helloamiga.c
#include <proto/dos.h>
int main()
{
BPTR out = Output();
Write(out,"Hello...
Forum: Coders. General 12 April 2021, 17:53
Replies: 12
Views: 516
Posted By phx
6809

6809
Forum: Coders. C/C++ 12 April 2021, 17:45
Replies: 8
Views: 468
Posted By phx
When your program doesn't kill the OS I would try...

When your program doesn't kill the OS I would try a real AmigaOS debugger, which offers all you need. I'm using BDebug (Aminet, comes with the Barfly assembler), which handles symbols and...
Forum: Coders. Releases 11 April 2021, 23:11
Replies: 14
Views: 4,830
Posted By phx
There are still copies available? :) CD...

There are still copies available? :)

CD would be useless as the game starts out of the floppy disk's boot block using a track loader.
Forum: Coders. C/C++ 11 April 2021, 23:05
Replies: 8
Views: 468
Posted By phx
I never used FS-UAE, but may be the 'w' command. ...

I never used FS-UAE, but may be the 'w' command.

Never heard of those.

I have no idea. There might be an interface in WinUAE, which is used by prb28's great VSCode Amiga Assembly environment:...
Forum: Retrogaming General Discussion 04 April 2021, 18:10
Replies: 194
Views: 9,389
Posted By phx
Only two of the four timers. The CIA-A timers...

Only two of the four timers. The CIA-A timers cause a level-2 interrupt, while CIA-B is level-6, like the serial port of Paula.
EDIT: Wrong. Paula's RBF interrupt is just level-5.

Indeed.

...
Forum: Coders. Releases 04 April 2021, 13:25
Replies: 18
Views: 982
Posted By phx
Nice! Well structured and readable source.

Nice! Well structured and readable source.
Forum: Coders. Asm / Hardware 01 April 2021, 11:41
Replies: 8
Views: 470
Posted By phx
Exactly. Of course, you can also use REPTN...

Exactly. Of course, you can also use REPTN directly, when its value suits you. :)
EDIT: Within \<REPTN> of course...
Forum: Coders. Asm / Hardware 01 April 2021, 11:29
Replies: 8
Views: 470
Posted By phx
It can't. The text given as macro arguments is...

It can't. The text given as macro arguments is never interpreted in any way, but just pasted into the macro source text at the positions marked with \1, \2, etc...

So when you call the original...
Forum: Coders. Asm / Hardware 31 March 2021, 21:21
Replies: 8
Views: 470
Posted By phx
It is possible, although not in a very elegant...

It is possible, although not in a very elegant way. If you look into the mot-syntax documentation you see that the special macro argument \<symbolname> is supported (same syntax as Devpac?). It will...
Forum: Coders. C/C++ 28 March 2021, 20:09
Replies: 23
Views: 1,610
Posted By phx
And it introduced some new bugs. ;) BTW,...

And it introduced some new bugs. ;)

BTW, does anybody know if there is an official URL to download the free 3.9 NDK, which doesn't disappear soon?
amiga.com no longer works.
Forum: Coders. C/C++ 28 March 2021, 01:40
Replies: 23
Views: 1,610
Posted By phx
Read the initial post again and you may notice...

Read the initial post again and you may notice that he mentioned 3.1.
Forum: Coders. C/C++ 27 March 2021, 18:57
Replies: 23
Views: 1,610
Posted By phx
I'm not sure about the legal situation of the...

I'm not sure about the legal situation of the AmigaOS NDK, and investigating that kind of stuff makes me very tired, so I prefer to stay on the safe side and release vbcc without it.

You should...
Forum: Retrogaming General Discussion 26 March 2021, 21:49
Replies: 194
Views: 9,389
Posted By phx
6809. Like the Dragon.

6809. Like the Dragon.
Forum: Coders. General 24 March 2021, 11:12
Replies: 5
Views: 442
Posted By phx
The first vbcc versions to support MorphOS were...

The first vbcc versions to support MorphOS were from 2000, so there must have been a public SDK somewhere, as I have never been a MOS developer.

My main development system is a Pegasos2 running...
Forum: Coders. General 23 March 2021, 14:43
Replies: 5
Views: 442
Posted By phx
Are you sure there was a separate SDK for PowerUp...

Are you sure there was a separate SDK for PowerUp boards? IIRC there was only one MorphOS SDK.
Forum: Coders. Releases 22 March 2021, 21:52
Replies: 154
Views: 43,341
Posted By phx
Ok, I understand. This is the additional logic...

Ok, I understand. This is the additional logic needed in mt_init. But probably too special to make it part of the default ptplayer.

:great
Forum: Coders. Releases 22 March 2021, 15:31
Replies: 154
Views: 43,341
Posted By phx
Thanks for the confirmation! Nice. So all...

Thanks for the confirmation!

Nice. So all the latest modifications are confirmed working. Perhaps I can move towards an official release now.

Do you have portable source code to share?...
Forum: Coders. Blitz Basic 22 March 2021, 01:21
Replies: 107
Views: 22,952
Posted By phx
Theoretically it should work, as the code is...

Theoretically it should work, as the code is there. If it doesn't either you or me made a mistake. Maybe send me an example for reproduction.
Forum: Coders. Releases 21 March 2021, 14:12
Replies: 154
Views: 43,341
Posted By phx
I think I made a mistake and optimised that...

I think I made a mistake and optimised that feature away. ;)
According to the original PT2.3B source it should work without a note.

I got nothing to reproduce the problem, but maybe you want to...
Forum: Coders. Releases 21 March 2021, 01:44
Replies: 154
Views: 43,341
Posted By phx
From looking at the source I would say it cannot...

From looking at the source I would say it cannot work, because command 9 is only executed when a note was given with it. And unless I made a stupid mistake I should have copied that behaviour from...
Forum: Amiga scene 16 March 2021, 14:23
Replies: 480
Views: 31,066
Posted By phx
There were affordable VGA cards in 1988? ...

There were affordable VGA cards in 1988?

Seen with the eyes of a teenager in the late 80s the PC didn't exist at all (at least here in Germany), as we rarely hang around in offices at that time....
Forum: Coders. General 14 March 2021, 15:54
Replies: 25
Views: 3,841
Posted By phx
Sorry, just noticed that today. Yes, that's a...

Sorry, just noticed that today. Yes, that's a bug. Fixed in the V2.10beta source, which you can download here: http://sun.hasenbraten.de/~frank/TEST/ira_210beta.lha...
Forum: Coders. General 09 March 2021, 00:11
Replies: 199
Views: 7,690
Posted By phx
section CODE,code xref ___start ...

section CODE,code
xref ___start
___amistart:
move.l sp,savedSP
movem.l d0/a0/a6,-(sp)
jmp ___start

xdef ___exita
___exita:
move.l ...
Forum: Coders. General 09 March 2021, 00:06
Replies: 199
Views: 7,690
Posted By phx
The m68k 32-bit division algorithm is common...

The m68k 32-bit division algorithm is common knowledge. You should find it somewhere (based on Donald Knuth's Algorithm D?). Otherwise just use what I pasted and strip the comments.


Writing it...
Forum: Amiga scene 08 March 2021, 17:16
Replies: 480
Views: 31,066
Posted By phx
Absolutely! The A1000 defined the Amiga. It was...

Absolutely! The A1000 defined the Amiga. It was the dream machine we saw in magazines, but couldn't afford (at first). And I love its keyboard-storage feature!
Forum: Coders. General 08 March 2021, 16:09
Replies: 199
Views: 7,690
Posted By phx
Not a real problem. When you enable FPU-code,...

Not a real problem. When you enable FPU-code, then you should also enable 68020 anyway. The FPU coprocessor interface is not present for 68000 and 68010.

I didn't have a closer look into you...
Forum: Coders. General 08 March 2021, 14:59
Replies: 199
Views: 7,690
Posted By phx
Your code does a floating point IEEE double...

Your code does a floating point IEEE double precision comparison somewhere. As you probably didn't enable FPU-code generation in the compiler (which doesn't exist for plain 68000) you need soft-float...
Forum: Amiga scene 08 March 2021, 14:45
Replies: 50
Views: 3,398
Posted By phx
For me it was all about getting the original...

For me it was all about getting the original Amiga experience in the most comfortable way. It should be obvious that working with a hard disk, network card, graphics card, a fast CPU and lots of...
Forum: Coders. General 08 March 2021, 12:39
Replies: 199
Views: 7,690
Posted By phx
When __start() is a C function I would pass __d0,...

When __start() is a C function I would pass __d0, __a0, __a6 as arguments on the stack and don't waste static memory:

movem.l d0/a0/a6,-(sp)
jsr ___start
Then in C:

int...
Forum: Retrogaming General Discussion 07 March 2021, 17:31
Replies: 32
Views: 1,275
Posted By phx
Hmm.. I think I'm ambidextrous. Although I have a...

Hmm.. I think I'm ambidextrous. Although I have a small preference for writing with left and playing football with right.

I didn't play on arcade machines a lot, but I would always prefer to hold...
Forum: Coders. General 07 March 2021, 16:05
Replies: 199
Views: 7,690
Posted By phx
"UEFI-inspired" might be ok, although quite...

"UEFI-inspired" might be ok, although quite complex.

The idea of EFI is a bad one. It is driven by Intel/Microsoft and as such it is not focussed on being portable, but to restrict the computer...
Forum: Coders. General 06 March 2021, 15:35
Replies: 199
Views: 7,690
Posted By phx
Meynaf has probably more Atari exprience than me,...

Meynaf has probably more Atari exprience than me, but I seem to remember that the hardware mirrors the (first?) 8 bytes of the ROM at address 0, so the CPU find its reset vector there when switched...
Forum: Coders. General 06 March 2021, 15:29
Replies: 199
Views: 7,690
Posted By phx
Correct. So what you are trying to achieve...

Correct.

So what you are trying to achieve is to create executables, linked with PDPCLIB, that can run under both, AmigaOS and PDOS? Then all linked PDPCLIB functions must always include code to...
Forum: Coders. General 06 March 2021, 13:11
Replies: 199
Views: 7,690
Posted By phx
Yes. The 68k C-ABI defines that all arguments are...

Yes. The 68k C-ABI defines that all arguments are passed on the stack. Smaller types than "int" are extended. In the past, mostly before OS2.0 and in pre-C90 times, also 16-bit-int compilers were...
Forum: Coders. Blitz Basic 05 March 2021, 18:09
Replies: 6
Views: 663
Posted By phx
For what reason is that an ugly hack? It may be...

For what reason is that an ugly hack?
It may be not advisable if you don't manage to run your engine in 50fps. But that's all.
Showing results 1 to 40 of 1862

 
Forum Jump

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


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