English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 2149
Search took 0.25 seconds.
Search: Posts Made By: phx
Forum: Nostalgia & memories 18 May 2022, 13:57
Replies: 15
Views: 518
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: 15
Views: 518
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,116
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: 606
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: 28,304
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: 9
Views: 1,099
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,031
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: 35,151
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,116
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,116
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,116
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,116
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,116
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...
Forum: Coders. Asm / Hardware 04 May 2022, 01:08
Replies: 21
Views: 1,116
Posted By phx
If you want to do that, then there are simpler...

If you want to do that, then there are simpler executable formats with relocations than the AmigaOS hunk format.

For example you could generate Atari TOS executables instead, which have a much...
Forum: Coders. General 24 April 2022, 20:30
Replies: 36
Views: 4,276
Posted By phx
Memory flags in the field which specifies the...

Memory flags in the field which specifies the number of segments? Wow... I would have never expected that. Maybe time for an IRA update? ;)
Forum: Coders. General 24 April 2022, 12:08
Replies: 36
Views: 4,276
Posted By phx
In an executable, the memory flag are only...

In an executable, the memory flag are only recognized in HUNK_HEADER. So don't write them with HUNK_CODE.

frank@nerthus cat memattr.s
section code,code,$22222
moveq #0,d0
...
Forum: Coders. General 24 April 2022, 11:23
Replies: 36
Views: 4,276
Posted By phx
Unfortunately I cannot remember if I ever did...

Unfortunately I cannot remember if I ever did tests with blink, slink & Co and what the result was. But assemblers would be the first to support the extra-word for memory flags, otherwise you cannot...
Forum: Coders. General 24 April 2022, 01:24
Replies: 36
Views: 4,276
Posted By phx
Interesting. So, essentially, it only has a...

Interesting. So, essentially, it only has a meaning when a section uses an unknown hunk-type?

I assume for HUNK_CODE/DATA/BSS this bit (29) is still part of the section size, or is it masked out?
Forum: Coders. General 23 April 2022, 23:15
Replies: 36
Views: 4,276
Posted By phx
When the code fragment is meant for HUNK_HEADER,...

When the code fragment is meant for HUNK_HEADER, then it is looking good. Although I guess readUInt32() is probably a macro, not a function? Otherwise I wonder how you want to get the value into...
Forum: Coders. Asm / Hardware 23 April 2022, 11:50
Replies: 17
Views: 1,313
Posted By phx
Tak skal du have! :great That's the least I...

Tak skal du have! :great

That's the least I could do to make people aware that they are using a vasm-only directive.
Forum: Coders. Asm / Hardware 22 April 2022, 22:53
Replies: 17
Views: 1,313
Posted By phx
Correct. Unfortunately there are no Windows...

Correct.

Unfortunately there are no Windows executables for daily source snapshots. We only build those for official releases.

Yes. Or wait for the release. Or ask somebody to compile it. But...
Forum: Coders. Asm / Hardware 22 April 2022, 00:38
Replies: 17
Views: 1,313
Posted By phx
Hard to explain. A combination of enough new...

Hard to explain. A combination of enough new features or important bug fixes, and the feeling that it has been sufficiently tested.
Forum: Coders. Asm / Hardware 21 April 2022, 13:23
Replies: 17
Views: 1,313
Posted By phx
Done. assert <expr>[,<msg>] will be in...

Done.
assert <expr>[,<msg>] will be in tomorrow's daily source snapshot (and the next release).
Forum: Coders. Asm / Hardware 20 April 2022, 21:23
Replies: 17
Views: 1,313
Posted By phx
Yes. Usually there is nothing to optimize in pure...

Yes. Usually there is nothing to optimize in pure data. But directives to declare storage may use expressions depending on labels:

ds.b label2-label1
I guess I will add an assert to...
Forum: Coders. Asm / Hardware 20 April 2022, 20:37
Replies: 17
Views: 1,313
Posted By phx
Oh yes, IF2... Only works with two-pass...

Oh yes, IF2...
Only works with two-pass assemblers. vasm parses the source only once, but uses a variable number of passes until the optimization is perfect (can be hundreds of passes).

But it's...
Forum: Coders. Asm / Hardware 20 April 2022, 20:10
Replies: 17
Views: 1,313
Posted By phx
It could be added in a minute. Probably 2 or 3...

It could be added in a minute. Probably 2 or 3 lines of C code. The reason why it's not there is that I have never seen an Assert directive in common Amiga assemblers, like Devpac, etc., and I don't...
Forum: Coders. General 19 April 2022, 22:31
Replies: 5
Views: 1,676
Posted By phx
A language thing. In german "hinter" could also...

A language thing. In german "hinter" could also mean the positive direction. I'm always happy to receive feedback from native speakers to improve our documentation! Thanks. Fixed.

Yes.

...
Forum: Coders. General 19 April 2022, 21:03
Replies: 5
Views: 1,676
Posted By phx
That's because you forgot the ORG 0 at the...

That's because you forgot the ORG 0 at the beginning of the bootblock source.

Explanation: vasm has two modes. Absolute mode, when your code starts with an ORG directive. And relocatable mode,...
Forum: News 12 April 2022, 14:02
Replies: 311
Views: 24,162
Posted By phx
Interesting. Last time I checked, the gcc...

Interesting. Last time I checked, the gcc frontend calls "as" to assemble the compiler output from a temporary file, just like most compilers do. But maybe this changed with later versions or on...
Forum: Coders. Asm / Hardware 10 April 2022, 19:07
Replies: 31
Views: 2,070
Posted By phx
Ahh, now I got it. The key is that I thought the...

Ahh, now I got it. The key is that I thought the CPU drives the IPL lines. So the still active INT-line from the CIA will immediately reset the interrupt bit in Paula to 1, no matter how often I...
Forum: Coders. Asm / Hardware 10 April 2022, 17:25
Replies: 31
Views: 2,070
Posted By phx
Now I'm confused. I would say that the order of...

Now I'm confused. I would say that the order of writing to INTREQ and reading the CIA-ICR is not important, as long as both happens in your interrupt handler routine, with the current IPL still...
Forum: News 10 April 2022, 17:09
Replies: 311
Views: 24,162
Posted By phx
I doubt that. ProAsm is faster because it was...

I doubt that. ProAsm is faster because it was written in 68k assembler for AmigaOS only, and certainly uses a lot of assumptions and short cuts. vasm, on the other hand, is much more complex and can...
Forum: Coders. Asm / Hardware 06 April 2022, 21:31
Replies: 4
Views: 711
Posted By phx
Which assembler is VSC configured to use? Can...

Which assembler is VSC configured to use?
Can you post the error message and the source text lines in question?
Symbol case-sensitivity problem or non-standard characters?

A relocation error...
Forum: News 05 April 2022, 23:00
Replies: 311
Views: 24,162
Posted By phx
Sigh... :sad You can be sure that many Amiga...

Sigh... :sad

You can be sure that many Amiga coders do professional software development or work on large open source projects with modern tools. But is it so hard to understand that we choose to...
Forum: Coders. Asm / Hardware 05 April 2022, 15:29
Replies: 41
Views: 3,011
Posted By phx
Looks good. So debugging your blitter setup is...

Looks good. So debugging your blitter setup is the way to go.
Forum: Amiga scene 05 April 2022, 15:17
Replies: 33
Views: 2,649
Posted By phx
Well made! Congratulations! :great You're a...

Well made! Congratulations! :great
You're a games-coding machine!
Forum: Coders. Asm / Hardware 05 April 2022, 15:09
Replies: 41
Views: 3,011
Posted By phx
That's new to me. Is there any reason you...

That's new to me. Is there any reason you shouldn't read a normal read-only register, which fulfills the same purpose as another read-only register, just for the delay?
Forum: Coders. Asm / Hardware 05 April 2022, 15:02
Replies: 41
Views: 3,011
Posted By phx
Maybe the section's Chip-attribute is lost while...

Maybe the section's Chip-attribute is lost while linking? How do you generate or link the executable? I would use a debugger to determine the address of mainFont for example.

I just had a look on...
Forum: News 05 April 2022, 14:18
Replies: 311
Views: 24,162
Posted By phx
Thanks! :great I already wanted to write...

Thanks! :great

I already wanted to write something similar. Most of the discussion here is absolutely pointless and I wonder what your intentions are, being registered to an Amiga forum?

Amiga...
Forum: Coders. Asm / Hardware 03 April 2022, 23:10
Replies: 41
Views: 3,011
Posted By phx
But the music is playing flawlessly? Did you...

But the music is playing flawlessly? Did you check the correct player routine is called on a level 6 interrupt?

Sounds like there is something timing-critical in your VERTB-handler which cannot...
Showing results 1 to 40 of 2149

 
Forum Jump

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


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