English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 2176
Search took 0.19 seconds.
Search: Posts Made By: phx
Forum: Coders. Asm / Hardware Yesterday, 20:08
Replies: 27
Views: 2,311
Posted By phx
Thanks for testing. vlink doesn't remove...

Thanks for testing.


vlink doesn't remove empty sections automatically. You need option -gc-empty for it.

BTW, I just implemented -wfail into vlink, as requested.
Forum: Coders. Asm / Hardware 22 June 2022, 19:15
Replies: 27
Views: 2,311
Posted By phx
Fixing it is not much more work than describing...

Fixing it is not much more work than describing the current sad state. So I prefered to improve the situation. ;)

Solution: a few kinds of atoms may be worth to save in an intermediate container,...
Forum: Coders. Asm / Hardware 22 June 2022, 09:58
Replies: 27
Views: 2,311
Posted By phx
It's not great, but to be expected. An assert...

It's not great, but to be expected. An assert directive creates an "atom" of the type ASSERT, similar to DATA, INSTRUCTION, LABEL or OPTS atoms. In vasm a section is a list of atoms, which will be...
Forum: Coders. C/C++ 21 June 2022, 17:36
Replies: 10
Views: 610
Posted By phx
Then there is no reason it could ever happen. And...

Then there is no reason it could ever happen. And it should be easy to isolate the problem with some test code doing fopen/fread/fclose.

Is it some strange file system? Or standard FFS?
Note,...
Forum: Coders. Asm / Hardware 18 June 2022, 22:20
Replies: 2
Views: 400
Posted By phx
Only possible for 4 sprites to share the same...

Only possible for 4 sprites to share the same three colors. You define them as attached sprites, but move them separately from their companion sprite. Then sprite 0, 2, 4 and 6 will use COLOR17, 18...
Forum: Coders. Asm / Hardware 18 June 2022, 11:02
Replies: 20
Views: 1,340
Posted By phx
Be careful with MMU tables, when taking over the...

Be careful with MMU tables, when taking over the system. Especially some 060 boards may have a ROM which enables the MMU early, even before running the boot block!

These MMU tables will always be...
Forum: Coders. General 15 June 2022, 14:44
Replies: 3
Views: 422
Posted By phx
In its current form certainly not. For a start...

In its current form certainly not.
For a start it would need to handle the same command line options as GenAm. And then I'm not sure if the Devpac-UI expects any fixed format for the output of error...
Forum: Coders. System 12 June 2022, 14:06
Replies: 10
Views: 809
Posted By phx
On first sight I didn't find them in the linked...

On first sight I didn't find them in the linked github repository, but you are probably talking about the macros from exec/initializers.h? Or did he make his own?

I doubt that a linker library...
Forum: Coders. Asm / Hardware 09 June 2022, 00:59
Replies: 224
Views: 222,109
Posted By phx
Interesting. I wonder if something like that is...

Interesting. I wonder if something like that is also possible for more than 32 bit shifts?
Maybe jotd wants to replace LSR by ASR, unless he wants an unsigned shift.
Forum: Coders. Asm / Hardware 09 June 2022, 00:47
Replies: 224
Views: 222,109
Posted By phx
Indeed, I overlooked that. Then they are not...

Indeed, I overlooked that. Then they are not comparable.

Missed that too. Usually the lower register is the MSW in 64-bit register pairs. I like big-endian. :)


I extracted it from vclib,...
Forum: Coders. Asm / Hardware 08 June 2022, 22:18
Replies: 224
Views: 222,109
Posted By phx
This is a standard 64-bit shift-right operation,...

This is a standard 64-bit shift-right operation, which you find in any m68k C-compiler's clib.
For example:

tst.w d3
beq .2
moveq #32,d2
sub.l d3,d2
...
Forum: Coders. Asm / Hardware 08 June 2022, 20:09
Replies: 19
Views: 681
Posted By phx
Yes. If you generate an object file (-Fhunk) and...

Yes. If you generate an object file (-Fhunk) and link it with vlink, without -Z option, then it will happen automatically.

Otherwise, if you let vasm generate the executable (-Fhunkexe), then you...
Forum: Coders. Asm / Hardware 08 June 2022, 16:17
Replies: 19
Views: 681
Posted By phx
Correct. No. You are definitely allowed to...

Correct.

No. You are definitely allowed to reference the BSS-part of a code/data-bss section. It is absolutely legal, allocated memory.

A reason not to allow relocations in this region is...
Forum: Coders. Asm / Hardware 08 June 2022, 14:52
Replies: 19
Views: 681
Posted By phx
That would be a serious bug, but as far as I can...

That would be a serious bug, but as far as I can see the last reloc entries are at offset 0x9DC.


Maybe multiple sections increase the chance for loading in a low- or highly-fragmented memory...
Forum: Coders. Asm / Hardware 08 June 2022, 12:12
Replies: 8
Views: 737
Posted By phx
Perhaps. My intention was to make the section...

Perhaps. My intention was to make the section names appear as natural as possible, when there are executables with only a single code, data or bss section (which is the most common case). So I start...
Forum: Coders. Asm / Hardware 08 June 2022, 11:52
Replies: 19
Views: 681
Posted By phx
Explanation: The default behaviour of vasm and...

Explanation: The default behaviour of vasm and vlink is to generate programs for AmigaOS2.0+. Which means that vlink will always remove trailing zero-bytes (which have no relocation attached), while...
Forum: Retrogaming General Discussion 07 June 2022, 12:49
Replies: 97
Views: 6,557
Posted By phx
The STe fixed a few disadvantages and the Falcon...

The STe fixed a few disadvantages and the Falcon had really great hardware, but still the OS was so much behind AmigaOS!
Also the X68000 was a great machine, but its OS… not so much. :)
Forum: Coders. Asm / Hardware 06 June 2022, 14:07
Replies: 8
Views: 737
Posted By phx
You're absolutely right! The memory flags should...

You're absolutely right! The memory flags should be included into the auto-generated name, because this is the only way a linker script could see them.

The solution, which I just committed...
Forum: Coders. Asm / Hardware 05 June 2022, 23:40
Replies: 8
Views: 737
Posted By phx
It is. Although with some restrictions. You...

It is. Although with some restrictions.

You can use vlink to convert from one format into another indeed, similar as linking different object file formats is no problem. But there is not so much...
Forum: Coders. System 05 June 2022, 01:29
Replies: 15
Views: 717
Posted By phx
It would certainly be fine, when DOS is...

It would certainly be fine, when DOS is initialised in the end. But hop's last example just shows that the boot block returns to the OS with his private function in a0. It is unknown if this routine...
Forum: Coders. System 04 June 2022, 18:36
Replies: 15
Views: 717
Posted By phx
This is important. The OS does not expect any...

This is important. The OS does not expect any function pointer in A0, but a function which initialises dos.library, so the system can complete the boot. If you return from the boot block you must...
Forum: Coders. General 01 June 2022, 20:50
Replies: 62
Views: 12,593
Posted By phx
Oh, indeed! There was a bug in the automatic...

Oh, indeed! There was a bug in the automatic ROMTag detection, when the Init-vector is NULL. Fixed. The current beta source is here:
http://sun.hasenbraten.de/~frank/TEST/ira_210beta.lha

Thanks...
Forum: Coders. General 01 June 2022, 17:30
Replies: 62
Views: 12,593
Posted By phx
Last official release (V2.09) on Aminet? Do you...

Last official release (V2.09) on Aminet? Do you have the ROM file and a config file for reproduction? Also the command line options used.
Forum: Coders. Releases 29 May 2022, 19:18
Replies: 167
Views: 68,014
Posted By phx
I already replied to Lorenzo's mail and the...

I already replied to Lorenzo's mail and the answer is that you cannot rely on ptplayer not to touch any of a channel's registers, even when no music is played on it. (This could be improved in...
Forum: Coders. General 27 May 2022, 02:02
Replies: 42
Views: 5,460
Posted By phx
Maybe it's just me, but I think you both agree in...

Maybe it's just me, but I think you both agree in confirming the same fact: There are no memory flags in the size-longword, following the HUNK_CODE/DATA/BSS id in executable files. :)

Only with...
Forum: Coders. Asm / Hardware 24 May 2022, 18:02
Replies: 12
Views: 970
Posted By phx
It would be the same speed as the Kickstart...

It would be the same speed as the Kickstart "ROM", once loaded into the A1000's WOM. But is it really slower than the A500's ROM? Never heard that before... :shocked
Forum: Coders. Asm / Hardware 24 May 2022, 15:51
Replies: 27
Views: 2,311
Posted By phx
Although you could also write IF...

Although you could also write IF RootHunk_SIZEOF==8 in this example, so there would be no need for ASSERT. :)
Forum: Nostalgia & memories 18 May 2022, 13:57
Replies: 24
Views: 1,901
Posted By phx
Good opportunity to get my A1000 out of the...

Good opportunity to get my A1000 out of the closet again and open it, as long as we have nice weather for a photo.
Unfortunately I noticed that I must have replaced Denise at some point. The 8362R8...
Forum: Nostalgia & memories 18 May 2022, 11:18
Replies: 24
Views: 1,901
Posted By phx
I have a german PAL Amiga 1000 with Piggyback...

I have a german PAL Amiga 1000 with Piggyback Board and american keyboard, which has an older Denise (Daphne?) without Extra Halfbrite. But there is a Commodore branding on it.
Forum: Coders. Asm / Hardware 15 May 2022, 18:29
Replies: 21
Views: 1,697
Posted By phx
:great Indeed. I guess the server crashed...

:great

Indeed. I guess the server crashed last night. Will have to restart it tomorrow, when I'm in the office again.

The default script for "rawseg" is in vlink's t_rawseg.c. Here it is:
...
Forum: Coders. Asm / Hardware 14 May 2022, 13:02
Replies: 3
Views: 895
Posted By phx
asl.b #1,d1 could be optimized to add.b d1,d1...

asl.b #1,d1 could be optimized to add.b d1,d1 (although the assembler would probably do that).

IIRC, these kind of two-byte DBcc loops have an advantage on the 68010, because they are executed...
Forum: Amiga scene 14 May 2022, 12:51
Replies: 118
Views: 29,121
Posted By phx
Just noticed this project now! Graphics and music...

Just noticed this project now! Graphics and music are impressive. I like it very much and I'm really looking forward to see the final version some day! :great

The only negative aspect for me...
Forum: Coders. C/C++ 11 May 2022, 18:47
Replies: 10
Views: 1,411
Posted By phx
Sorry, missed that. Before, __stack was...

Sorry, missed that.


Before, __stack was defined in a library-object, which is only linked to the output file when it resolves any reference. As __stack was already resolved from an object file,...
Forum: Retrogaming General Discussion 09 May 2022, 14:45
Replies: 22
Views: 1,200
Posted By phx
I have mixed experiences with High Density disks...

I have mixed experiences with High Density disks in Amiga DD floppy disk drives. In the past it was usually no problem to use them instead. But I have the feeling that they are less reliable to store...
Forum: News 08 May 2022, 13:29
Replies: 167
Views: 36,279
Posted By phx
There have been cheat codes in the game since the...

There have been cheat codes in the game since the first release. One for unlimited lives and one to exit the current level. The source text has been available for nearly a decade. So just look for...
Forum: Coders. Asm / Hardware 06 May 2022, 00:16
Replies: 21
Views: 1,697
Posted By phx
No. This is absolutely necessary self...

No. This is absolutely necessary self modification. ;)

Yes, of course! For 68020+ you should always flush the data cache to memory and invalidate the instruction cache. No matter if doing the...
Forum: Coders. Asm / Hardware 05 May 2022, 21:06
Replies: 21
Views: 1,697
Posted By phx
The relocator would be at the beginning of the...

The relocator would be at the beginning of the program and use PC-relative addressing modes. And if lea __end(pc),a0 doesn't work, because your program is larger than 32K, you can still store the...
Forum: Coders. Asm / Hardware 05 May 2022, 16:51
Replies: 21
Views: 1,697
Posted By phx
Your envisioned procedure looks completely fine! ...

Your envisioned procedure looks completely fine!


It's not becoming clear where you want to access __end. Point 5 seems to me as if you want to access it from within the source code of main.asm....
Forum: Coders. Asm / Hardware 05 May 2022, 15:57
Replies: 21
Views: 1,697
Posted By phx
Maybe bad wording of a non-native speaker again....

Maybe bad wording of a non-native speaker again. It just means that the default linker script automatically defines the symbol __end, which marks the address after your last byte. When you do the...
Forum: Coders. Asm / Hardware 05 May 2022, 13:50
Replies: 21
Views: 1,697
Posted By phx
Fear not! With rawbin the default linker script...

Fear not! With rawbin the default linker script should usually suffice (rawseg is another topic). vlink -brawbin1 -q myobj.o is all it needs for a first test.

The only difference is that...
Showing results 1 to 40 of 2176

 
Forum Jump

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


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