English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1226
Search took 0.10 seconds.
Search: Posts Made By: phx
Forum: Coders. Asm / Hardware 13 December 2018, 00:51
Replies: 89
Views: 9,056
Posted By phx
Indeed, it helps a lot when reading V8 from VPOSR...

Indeed, it helps a lot when reading V8 from VPOSR later. :)

Also thanks to dissident for digging out the old article. I couldn't remember it, although I bought most issues of Amiga Magazin.

So...
Forum: Coders. Asm / Hardware 12 December 2018, 14:22
Replies: 89
Views: 9,056
Posted By phx
Yes. I rarely noticed, because I just worked with...

Yes. I rarely noticed, because I just worked with NTSC-sized CLIs. But you are right!

Thanks. But as you confirmed that this problem really existed it is probably best to do all checks yourself,...
Forum: Coders. Asm / Hardware 11 December 2018, 22:47
Replies: 89
Views: 9,056
Posted By phx
Is ExecBase.PowerSupplyFrequency always correct? ...

Is ExecBase.PowerSupplyFrequency always correct?

Ross mentioned that Kick 1.x sometimes reports a wrong frequency, and I remember that too. But I do not remember if it was wrong video or power...
Forum: Coders. Asm / Hardware 11 December 2018, 18:26
Replies: 89
Views: 9,056
Posted By phx
To find out whether the video is PAL or NTSC you...

To find out whether the video is PAL or NTSC you only have to look for the maximum raster line in VPOSR. But...

Yes. That complicates things. So you first have to determine PAL/NTSC video mode...
Forum: Amiga scene 10 December 2018, 13:30
Replies: 28
Views: 1,717
Posted By phx
A great artist like jojo73 really deserves a good...

A great artist like jojo73 really deserves a good programmer!
Forum: Coders. Tutorials 08 December 2018, 02:18
Replies: 111
Views: 3,850
Posted By phx
Indeed. You're right. So the only advantages...

Indeed. You're right.

So the only advantages by using DBcc are:
- it is still faster on the 68010 (DBcc-loop cache)
- it is shorter
Forum: Coders. Tutorials 08 December 2018, 00:43
Replies: 111
Views: 3,850
Posted By phx
I like doing strlen() with dbeq. It also takes...

I like doing strlen() with dbeq. It also takes advantage of the 68010 DBcc-cache. :)

moveq #-1,d0
.1: tst.b (a0)+
dbeq d0,.1
not.l d0


EDIT: Oh, just...
Forum: Amiga scene 08 December 2018, 00:31
Replies: 109
Views: 6,773
Posted By phx
Same here. The following command lists all...

Same here. The following command lists all current FB networks for adding them to your router's firewall:

# whois -h whois.radb.net -- '-i origin AS32934' | grep ^route:I did a small shell script...
Forum: Coders. Tutorials 06 December 2018, 23:20
Replies: 111
Views: 3,850
Posted By phx
Yes. V36 means OS2.0. You will find Amiga 500s...

Yes. V36 means OS2.0. You will find Amiga 500s with any type of ROM, from 1.2 to 3.1. 1.3 is probably the most frequent.


Certainly not true. Or I misunderstood you. There is "rol #x,Dn", "lsr...
Forum: support.Other 06 December 2018, 23:07
Replies: 4
Views: 187
Posted By phx
While a disassembler might be sufficient for that...

While a disassembler might be sufficient for that task, when you are willing to do some calculations (like PC-relative offsets and relocations) yourself, what you really need here is a reassembler.
Forum: Coders. Tutorials 06 December 2018, 17:29
Replies: 111
Views: 3,850
Posted By phx
No. All those exec.library functions shown there...

No. All those exec.library functions shown there are in the ROM and receive arguments in registers. CreateMsgPort() is also such a shared library function (offset -666), but without any argument...
Forum: Coders. Tutorials 06 December 2018, 15:11
Replies: 111
Views: 3,850
Posted By phx
Text() is just raw text font output on the...

Text() is just raw text font output on the bitmap. Either parse the control sequences yourself, or use CMD_WRITE from console.device. But it requires more than opening a window to make it a working...
Forum: Coders. Tutorials 06 December 2018, 15:06
Replies: 111
Views: 3,850
Posted By phx
Beware! This is OS4.x code, which is not the...

Beware! This is OS4.x code, which is not the intended target system, as far as I understood. For OS1/2/3 the code is simpler, as you don't have to deal with "Interfaces", but just open the libraries....
Forum: Coders. Tutorials 02 December 2018, 14:55
Replies: 111
Views: 3,850
Posted By phx
I would recommend reading the hardware reference...

I would recommend reading the hardware reference manual concerning 8520/652x-like I/O chips first, before programming them.

Reading the CIA's ICR (Interrupt Control Register) acknowledges the...
Forum: Coders. Tutorials 02 December 2018, 12:31
Replies: 111
Views: 3,850
Posted By phx
Or, with a higher chance of success: ...

Or, with a higher chance of success:

move.l level2_vector,a2
:)
Forum: Coders. Tutorials 01 December 2018, 17:20
Replies: 111
Views: 3,850
Posted By phx
Yes, I know I'm a bit late, but nobody posted a...

Yes, I know I'm a bit late, but nobody posted a real answer to this question yet, just the workaround with BASEREG. :)


What happened here is that vasm correctly identified "(tab,A6)" as a 16-bit...
Forum: project.aGTW 01 December 2018, 16:53
Replies: 52
Views: 16,412
Posted By phx
Never heard of it before. Looks nice. Reminds me...

Never heard of it before. Looks nice. Reminds me on Faery Tale.
Maybe ask the publisher of this video if he has a copy.
Forum: Coders. Asm / Hardware 27 November 2018, 12:45
Replies: 28
Views: 1,191
Posted By phx
As I understand the Blitter-IRQ flag is set...

As I understand the Blitter-IRQ flag is set manually here to get the Blitter Queue started? And you are doing it only once, or everytime you enqueue a new Blitter job? This could be a problem.

Not...
Forum: Coders. Asm / Hardware 27 November 2018, 02:32
Replies: 28
Views: 1,191
Posted By phx
To be honest, I'm probably too tired to see the...

To be honest, I'm probably too tired to see the race condition. :nervous

Acknowledging the Blitter interrupt will allow new Blitter interrupts to be registered. But there can't be any new...
Forum: Coders. C/C++ 25 November 2018, 02:19
Replies: 7
Views: 436
Posted By phx
No. You can't. Amiga ist not Unix. All processes...

No. You can't. Amiga ist not Unix. All processes share the same memory and memory allocations may happen at many different locations.
Forum: Coders. Tutorials 24 November 2018, 11:44
Replies: 4
Views: 476
Posted By phx
The latest version, V5.1, which was used in Trap...

The latest version, V5.1, which was used in Trap Runner, is available on Aminet: ftp://ftp.aminet.net/mus/play/ptplayer.lha
Forum: Coders. Asm / Hardware 21 November 2018, 18:50
Replies: 6
Views: 483
Posted By phx
The problem here is what the error message says:...

The problem here is what the error message says: When you don't use ORG for absolute code and let vasm create a relocatable AmigaDOS executable instead, you have to make sure that all...
Forum: Coders. Tutorials 20 November 2018, 21:50
Replies: 4
Views: 476
Posted By phx
Looks like a great article. Unfortunately my...

Looks like a great article. Unfortunately my fading school-french makes it tiresome to read. But I still knew what "cliquez-ici" means and downloaded the source, which has some english comments.
Oh,...
Forum: Coders. Asm / Hardware 20 November 2018, 21:05
Replies: 6
Views: 483
Posted By phx
LOAD and JUMPPTR only make sense when running an...

LOAD and JUMPPTR only make sense when running an assembler natively on the Amiga. But vasm is a portable cross-assembler, so they are disabled. The effect of the LOAD directive would be to write the...
Forum: project.Amiga Game Factory 15 November 2018, 19:18
Replies: 69
Views: 5,911
Posted By phx
No, I don't think so.

No, I don't think so.
Forum: project.Amiga Game Factory 15 November 2018, 15:04
Replies: 69
Views: 5,911
Posted By phx
All the menu, story, loading, etc. graphics are...

All the menu, story, loading, etc. graphics are reworked now, and I had a chance to see them yesterday. It is a noticeable improvement, without changing the original style.

Now "only" the tiles...
Forum: Coders. Asm / Hardware 12 November 2018, 15:20
Replies: 18
Views: 855
Posted By phx
Yes, Ross' loader will be fine. Just had a look...

Yes, Ross' loader will be fine. Just had a look at it again. It's PC-relative, well-commented and doesn't do busy-loops. Try it!
But make sure to OFS-format your disk.
Forum: project.Amiga Game Factory 09 November 2018, 16:40
Replies: 69
Views: 5,911
Posted By phx
I already talked with StingRay many weeks ago,...

I already talked with StingRay many weeks ago, and he even has the game's source text. I also asked him not to publish the passwords and to wait until the final release was done.

The graphician is...
Forum: Coders. Asm / Hardware 08 November 2018, 13:50
Replies: 18
Views: 855
Posted By phx
Just one question: when you already have working...

Just one question: when you already have working low-level disk routines without using the OS, why do you have to read files in AmigaDOS filesystem format? You can do you own format, which would be...
Forum: Coders. Asm / Hardware 26 October 2018, 12:10
Replies: 51
Views: 1,954
Posted By phx
Not sometimes. Always! Do never assume one...

Not sometimes. Always!

Do never assume one of these registers is unchanged after an OS-call (or after calling a C-function), unless clearly documented in the official Autodocs. For example, one of...
Forum: Coders. Asm / Hardware 23 October 2018, 23:45
Replies: 51
Views: 1,954
Posted By phx
Ah...ok - now as I reread your sentence. But it...

Ah...ok - now as I reread your sentence. But it could easily be misunderstood.
Forum: Coders. Asm / Hardware 23 October 2018, 23:41
Replies: 51
Views: 1,954
Posted By phx
Er... no! :) d2-d7 and a2-a7 are guaranteed to...

Er... no! :)
d2-d7 and a2-a7 are guaranteed to be preserved by all OS-calls.
Forum: Coders. Asm / Hardware 23 October 2018, 23:39
Replies: 51
Views: 1,954
Posted By phx
The usual ABI for most 68k operating systems...

The usual ABI for most 68k operating systems implies that d0, d1, a0, a1 are scratch registers, which are not restored after function calls (Atari TOS also trashes d2 and a2, IIRC). This is true for...
Forum: Coders. General 23 October 2018, 23:28
Replies: 18
Views: 723
Posted By phx
When you are really that low on additional buffer...

When you are really that low on additional buffer space then you should decrunch while loading, as roondar already pointed out.

As you wrote you use your own trackloader, this should be no major...
Forum: Coders. C/C++ 20 October 2018, 16:18
Replies: 10
Views: 620
Posted By phx
I guess you didn't include <proto/exec.h> and...

I guess you didn't include <proto/exec.h> and <proto/expansion.h>, but just <clib/...> from the Commodore headers, so function calls are not inlined but done via stub routines from amiga.lib.

You...
Forum: Coders. C/C++ 18 October 2018, 13:08
Replies: 10
Views: 620
Posted By phx
The problem is Commodore's exec/types.h and...

The problem is Commodore's exec/types.h and stdlib.h both define NULL. But unidentically. exec/types.h assigns 0L, while the standard headers use (void *)0, which is better because it causes an error...
Forum: Coders. C/C++ 16 October 2018, 22:51
Replies: 10
Views: 620
Posted By phx
As far as I can see your are using AmigaOS...

As far as I can see your are using AmigaOS typedefs (like ULONG) and AmigaOS system calls, without including any AmigaOS header files.

The errors are due to ULONG being undefined. It is defined in...
Forum: Coders. Contest 15 October 2018, 22:03
Replies: 19
Views: 1,888
Posted By phx
Wow! Do we see a release of River Raid before...

Wow! Do we see a release of River Raid before Bridge Strike? ;)

I love River Raid. I made a version of it myself, around 1988/89, but it was only half-finished (as most of my games during that...
Forum: Coders. General 15 October 2018, 21:57
Replies: 13
Views: 926
Posted By phx
Thanks all! Yes, I should include as few as...

Thanks all!
Yes, I should include as few as possible of the vasm headers into my new osdep.c.


Usually I take vasm's MAXPATHLEN, which is 1024.
Forum: project.Amiga Game Factory 15 October 2018, 21:50
Replies: 69
Views: 5,911
Posted By phx
It's quite minimalistic. You can do register and...

It's quite minimalistic. You can do register and memory dumps. I didn't want to take too much space from my games.
Showing results 1 to 40 of 1226

 
Forum Jump

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


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