English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 2031
Search took 0.22 seconds.
Search: Posts Made By: phx
Forum: Retrogaming General Discussion 05 December 2021, 21:41
Replies: 9
Views: 323
Posted By phx
Huh? There may be reasons for multiple buttons,...

Huh? There may be reasons for multiple buttons, for example in a Brawler game, but certainly not for jumping and firing. Most precise jumping can be done with joystick-up as you don't have to...
Forum: Coders. Asm / Hardware 22 November 2021, 11:56
Replies: 23
Views: 1,581
Posted By phx
He mentioned that he has taken over the system....

He mentioned that he has taken over the system. Probably he even uses some trackloader for the code. So you have to do relocation yourself to support different Fast RAM expansions. At least this is...
Forum: Nostalgia & memories 20 November 2021, 18:04
Replies: 20
Views: 1,061
Posted By phx
I keep all the old disks for nostalgia reasons as...

I keep all the old disks for nostalgia reasons as well.
And also for new projects. How else would you test new games on your real hardware? I never saw a need for Gotek and I certainly wouldn't want...
Forum: Coders. Asm / Hardware 20 November 2021, 15:21
Replies: 23
Views: 1,581
Posted By phx
Maybe you cannot even call Supervisor() after a...

Maybe you cannot even call Supervisor() after a complete system takeover. At least it is not advisable. Or did you leave the OS structure intact?
BTW, CacheClearU() doesn't help when you intend to...
Forum: Coders. Blitz Basic 16 November 2021, 02:16
Replies: 16
Views: 1,298
Posted By phx
Hmm... :confused I don't see any reason to...

Hmm... :confused

I don't see any reason to make it an executable file, but there is also no reason why it shouldn't assemble.

I have no experience with Blitz Basic, so I don't know what kind...
Forum: Coders. Blitz Basic 15 November 2021, 21:05
Replies: 16
Views: 1,298
Posted By phx
Yes, there are some new features in it. ...

Yes, there are some new features in it.

There shouldn't be any PhxAss-dependency in the source.
Blitz Basic requires object files in a.out format, not hunk-format?
Forum: Retrogaming General Discussion 11 November 2021, 16:21
Replies: 81
Views: 4,372
Posted By phx
It's interesting that the dominant home computing...

It's interesting that the dominant home computing system during the 80s and 90s was always also based on the country you're living it. In Germany the Speccy was nearly non-existent.

In Britain the...
Forum: Coders. Blitz Basic 11 November 2021, 12:27
Replies: 16
Views: 1,298
Posted By phx
Ok, as expected VBR is just assumed to be NULL....

Ok, as expected VBR is just assumed to be NULL. The following preamble was added by idrougge to the _mt_install_cia function in ptplayer.asm for Blitz support:

movem.l a3-a6,-(sp)
...
Forum: Retrogaming General Discussion 09 November 2021, 17:45
Replies: 81
Views: 4,372
Posted By phx
Not sure whether the 68008 qualifies as an 8-bit...

Not sure whether the 68008 qualifies as an 8-bit CPU. ;)

The best 8-bit CPU for me is the 6809. But unfortunately it was always implemented with mediocre hardware (gaming-wise).
Forum: Coders. C/C++ 08 November 2021, 23:20
Replies: 12
Views: 1,181
Posted By phx
:great

:great
Forum: Coders. General 07 November 2021, 02:21
Replies: 16
Views: 959
Posted By phx
As I already mentioned, GNU-as doesn't understand...

As I already mentioned, GNU-as doesn't understand Motorola-syntax directives.

Without the section directives everything is written into the .text section. Not necessarily what you want.

This....
Forum: Coders. General 05 November 2021, 12:33
Replies: 16
Views: 959
Posted By phx
Full compatibility doesn't work. AFAIK, later gcc...

Full compatibility doesn't work. AFAIK, later gcc versions can emit most instructions and adressing modes following the Motorola syntax (except for differences like "mov", "movm" or "jra"), but the...
Forum: Coders. Scripting 31 October 2021, 12:20
Replies: 9
Views: 979
Posted By phx
Yes, that's possible, and I should have mentioned...

Yes, that's possible, and I should have mentioned it. When your current user name on the Amiga doesn't match the login-name on the Pi you have to specify it.

As there is no concept of user names...
Forum: Coders. C/C++ 29 October 2021, 20:09
Replies: 12
Views: 1,181
Posted By phx
Correct. It generates assembler inlines to...

Correct.

It generates assembler inlines to call the library functions directly, without going over the stub routines from the linker library. vbcc generally puts these inline-headers into the...
Forum: Coders. C/C++ 29 October 2021, 19:50
Replies: 12
Views: 1,181
Posted By phx
Nice site, although I was unable to find any...

Nice site, although I was unable to find any information about the format of the Aztec-C lb library-tool.
Forum: Coders. Blitz Basic 29 October 2021, 19:44
Replies: 16
Views: 1,298
Posted By phx
It haven't seen the Blitz Basic layer for...

It haven't seen the Blitz Basic layer for ptplayer, but I would guarantee that the player itself works with any VBR.

At the beginning you have to call _mt_install_cia with the VBR in a0 and a...
Forum: Coders. C/C++ 27 October 2021, 13:26
Replies: 12
Views: 1,181
Posted By phx
Linker library with stub functions: fd2pragma...

Linker library with stub functions:
fd2pragma special 12 to vlibos3: hunkname CODE regex.fdProto header file:
fd2pragma special 38 to vincludeos3:proto regex.fdHeader file with vbcc assembler...
Forum: Coders. C/C++ 27 October 2021, 11:28
Replies: 12
Views: 1,181
Posted By phx
Looks like this is a linker library in Aztec-C...

Looks like this is a linker library in Aztec-C "lb" format. Only the Aztec linker might be able to use it.
(Is there a description of that format somewhere?)

This is one solution. Although there...
Forum: Coders. Scripting 25 October 2021, 12:40
Replies: 9
Views: 979
Posted By phx
Ok. Let's assume your openSSH for AmigaOS is more...

Ok. Let's assume your openSSH for AmigaOS is more or less complete (I didn't try it).

Use ssh-keygen to generate a private/public key pair. RSA with 2048 bits will be sufficient as you are using...
Forum: Coders. General 24 October 2021, 21:30
Replies: 10
Views: 1,060
Posted By phx
The archive you downloaded only contains the...

The archive you downloaded only contains the binary. You should really get the documentation as well:
http://sun.hasenbraten.de/vasm/release/vasm.pdf

The command and options depend on what you...
Forum: Coders. Scripting 24 October 2021, 18:53
Replies: 9
Views: 979
Posted By phx
What is "open SSH"? Does it have an option to use...

What is "open SSH"? Does it have an option to use identity files (-i on Unix SSH)?

The usual approach would be to create a public/private key pair, store the public key in .ssh/authorized_keys...
Forum: Coders. Asm / Hardware 24 October 2021, 18:28
Replies: 3
Views: 926
Posted By phx
Usually the linker, or assembler, will set it...

Usually the linker, or assembler, will set it when writing an executable file. But I don't know your build environment.
If that didn't work you can still make it executable after you copied the file...
Forum: Coders. General 24 October 2021, 14:42
Replies: 10
Views: 1,060
Posted By phx
Binaries (including Windows) are here: ...

Binaries (including Windows) are here:
http://sun.hasenbraten.de/vasm/index.php?view=binrel

Although I would always recommend to build from source.
Forum: Coders. Asm / Hardware 22 October 2021, 23:55
Replies: 3
Views: 926
Posted By phx
Nice little game for two players! I like this...

Nice little game for two players! I like this type of game. Will there be asteroids? ;)

BTW, the executable only starts under Kickstat 1.x, because you probably forgot to set the Executable flag....
Forum: Coders. General 22 October 2021, 23:44
Replies: 3
Views: 660
Posted By phx
As Deimos said, you will usually link against...

As Deimos said, you will usually link against amiga.lib (-lamiga) when calling AmigaOS functions. You also want to #include <proto/exec.h>, so the compiler does not have to rely on stub functions...
Forum: Coders. C/C++ 21 October 2021, 16:46
Replies: 12
Views: 1,429
Posted By phx
You are certainly right. As long as the code...

You are certainly right. As long as the code generator does not rely on the stack arguments (for optimizing subsequent calls) it is probably ok.

I agree that an ABI using two or three data and...
Forum: Coders. Asm / Hardware 21 October 2021, 13:43
Replies: 59
Views: 4,951
Posted By phx
When operating on address registers the...

When operating on address registers the word-operand is always 32-bit sign extended first.
Forum: Coders. Asm / Hardware 21 October 2021, 12:20
Replies: 117
Views: 35,853
Posted By phx
If you ever manage to write an Amiga game, which...

If you ever manage to write an Amiga game, which I doubt, please let us know.
I'm looking forward to give it a verdict on LemonAmiga which it deserves!
Forum: Coders. C/C++ 21 October 2021, 12:08
Replies: 12
Views: 1,429
Posted By phx
Oh. I see. (Does ANSI/ISO-C allow moving...

Oh. I see. (Does ANSI/ISO-C allow moving arguments on the stack?)

I don't really like that, though. As far as I understand now, sc.lib is probably build with PARMS=both for all functions to keep...
Forum: Coders. C/C++ 19 October 2021, 20:09
Replies: 12
Views: 1,429
Posted By phx
Indeed, that's a nice trick, which I also used...

Indeed, that's a nice trick, which I also used for some functions. But it can only be done when all arguments fit into the __regargs registers. Otherwise the stack-offsets differ. And there shouldn't...
Forum: Coders. C/C++ 19 October 2021, 12:43
Replies: 12
Views: 1,429
Posted By phx
AFAIK SAS/C can mix Fastcall- and Standard-ABI...

AFAIK SAS/C can mix Fastcall- and Standard-ABI functions and object files in a single linker library - like clib?

This would lead to another question: Let's take the varargs function printf. It...
Forum: Coders. C/C++ 09 October 2021, 13:01
Replies: 12
Views: 1,429
Posted By phx
Thanks a lot! That's all I need to know! ...

Thanks a lot! That's all I need to know!

Looks like vbcc's -fastcall option is already very compatible. So I only need some time to add all the Fastcall-ABI functions to vclib.


You have some...
Forum: Coders. C/C++ 08 October 2021, 18:47
Replies: 12
Views: 1,429
Posted By phx
SAS/C Fastcall-ABI (__regargs)

I'm looking for an exact specification of SAS/C's Fastcall ABI.

All I'm sure about is that the first two integer arguments are passed in d0, d1 while the first two pointers are passed in a0, a1....
Forum: Amiga scene 07 October 2021, 14:42
Replies: 252
Views: 31,201
Posted By phx
Don't do any complex calculations. You want to...

Don't do any complex calculations. You want to use tables as much as possible for performance reasons. I thought you had a look into the Solid Gold sources? ;)

Like this:

; Horizontal scroll...
Forum: Coders. General 06 October 2021, 18:25
Replies: 57
Views: 10,395
Posted By phx
I understand your problem now. With that debugger...

I understand your problem now. With that debugger you have a program which supports multiple CPUs and therefore also has parts with opcodes for them.
Difficult, because IRA currently has no means to...
Forum: Coders. General 05 October 2021, 18:13
Replies: 49
Views: 6,049
Posted By phx
vlink is certainly maintained, but its maintainer...

vlink is certainly maintained, but its maintainer felt no sufficient urge to implement ALVs, although he already did that in PhxLnk. Personally I prefer to shuffle the object modules around to make...
Forum: Amiga websites reviews 04 October 2021, 17:00
Replies: 5
Views: 1,410
Posted By phx
LOL Sorry. Every few weeks my server...

LOL
Sorry.

Every few weeks my server freezes and it may take some hours before I notice. There are certainly some issues in that NetBSD/sandpoint kernel, running on a 266MHz 8241 PPC (QNAP...
Forum: Coders. General 03 October 2021, 19:50
Replies: 57
Views: 10,395
Posted By phx
Please do. Works here: frank@nerthus cat...

Please do. Works here:

frank@nerthus cat movec.s
mc68040
movec msp,d0
rts
frank@nerthus vasmm68k_mot -quiet -Fhunkexe -o movec movec.s
frank@nerthus ira -m68040...
Forum: Coders. General 03 October 2021, 00:08
Replies: 49
Views: 6,049
Posted By phx
Agreed. The format of a HUNK_DEBUG block is...

Agreed. The format of a HUNK_DEBUG block is completely free and you can create any complex debugging structures in them. Nothing is impossible.

An assembler alone is not enough. Unfortunately you...
Forum: Coders. General 02 October 2021, 23:44
Replies: 57
Views: 10,395
Posted By phx
It certainly does. Unfortunately FPU opcodes were...

It certainly does. Unfortunately FPU opcodes were not implemented until today.

As far as I know MSP and ISP only exist on 020, 030 and 040.
Showing results 1 to 40 of 2031

 
Forum Jump

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


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