English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1096
Search took 0.09 seconds.
Search: Posts Made By: phx
Forum: Amiga scene 19 May 2018, 14:00
Replies: 619
Views: 56,475
Posted By phx
Exactly. Don't start an Amiga game, if you expect...

Exactly. Don't start an Amiga game, if you expect money or acknowledgement! Do it for yourself. Have fun. And maybe a few others have it too.



Really? :shocked

IMHO, when a game targets...
Forum: Amiga scene 18 May 2018, 20:06
Replies: 619
Views: 56,475
Posted By phx
Absolutely. A stock A500 with 68000/7MHz should...

Absolutely. A stock A500 with 68000/7MHz should be the reference platform for homebrew developments. Although supporting all bigger Amigas is not forbidden, as long as it still works on the...
Forum: Coders. Asm / Hardware 14 May 2018, 01:13
Replies: 6
Views: 323
Posted By phx
Nearly unknown to most people is that OS3.0...

Nearly unknown to most people is that OS3.0 introduced a new relocation hunk called HUNK_RELRELOC32, which in fact enables resolving relative references between sections! It only works with 32-bit...
Forum: Coders. General 10 May 2018, 13:01
Replies: 24
Views: 1,069
Posted By phx
No, because there is an even better way: it's...

No, because there is an even better way: it's called linker-library!

Just put your routines, which you want to link on demand, in separate object files. Then put all these objects into a library -...
Forum: Coders. General 10 May 2018, 01:45
Replies: 24
Views: 1,069
Posted By phx
Most assemblers generate object files by default....

Most assemblers generate object files by default. Export symbols with XDEF. Import them with XREF. Then link all objects into the final executable:

linker a.o b.o c.o -o myprogram
Note that...
Forum: Coders. General 08 May 2018, 23:37
Replies: 24
Views: 1,069
Posted By phx
Including files which generate code or data is...

Including files which generate code or data is also not a nice practice, IMHO. Includes should only contain definitions (equates, macros). When you do that anyway, you have to be sure that there are...
Forum: Coders. Asm / Hardware 07 May 2018, 13:52
Replies: 6
Views: 305
Posted By phx
Right. It's not so trivial. I nearly forgot about...

Right. It's not so trivial. I nearly forgot about the implicit 1-bit, which is always there and also determines the exponent.

Ok. That's what I wanted to find out. Thanks.
Forum: Coders. Asm / Hardware 06 May 2018, 21:39
Replies: 6
Views: 305
Posted By phx
LOL Indeed. :) I know. But I was curious...

LOL
Indeed. :)

I know. But I was curious to hear other opinions.
Forum: Coders. Asm / Hardware 06 May 2018, 20:41
Replies: 6
Views: 305
Posted By phx
Thanks. Ok. So, from the 96 bits...

Thanks.

Ok. So, from the 96 bits representation I take first 53 bits of the mantissa and the exponent. Then, for the FADD, I take the remaining mantissa bits, and subtract 53 from the original...
Forum: Coders. Asm / Hardware 06 May 2018, 14:24
Replies: 6
Views: 305
Posted By phx
Load extended precision with .d operations

IIRC the 68060 has to emulate FMOVE.X #immediate,Fpn?

Let us assume I want to transfer an 80 bits extended precision constant (like Pi) into an FPU register without using the instruction above and...
Forum: Coders. Asm / Hardware 05 May 2018, 18:24
Replies: 15
Views: 943
Posted By phx
Apollo's annotation is valid, but there is so...

Apollo's annotation is valid, but there is so much more missing.

Did you establish an interrupt routine, which plays the music? Is the source complete? Then I don't see anything. Usually...
Forum: Coders. Asm / Hardware 02 May 2018, 00:42
Replies: 12
Views: 494
Posted By phx
You also have to change the display window size....

You also have to change the display window size. DIWSTRT is $2cxx = $2c and DIWSTOP is $2cxx = $12c, so you still have a display window from $2c to $12c with 256 lines.

It makes not much sense to...
Forum: Retrogaming General Discussion 28 April 2018, 16:10
Replies: 253
Views: 16,644
Posted By phx
Sounds a bit like the common problem most game...

Sounds a bit like the common problem most game have, which disable multitasking and/or take over the system. Probably the file system didn't get the time to update all blocks on the hard disk.
...
Forum: Coders. General 26 April 2018, 22:43
Replies: 19
Views: 4,633
Posted By phx
It always depends on what you want to do. ...

It always depends on what you want to do.

OS-friendly code: use timer.device or dos.library/Delay.
Take over the system: wait for raster-lines, VERTB-interrupts or use the CIA timers

In any...
Forum: Coders. General 26 April 2018, 22:37
Replies: 24
Views: 1,069
Posted By phx
amiga.lib is included in all official NDKs, and...

amiga.lib is included in all official NDKs, and also comes with most compilers, sometimes with slightly modified versions. But amiga.lib should always define symbols like _ciaa, _custom, etc.

It's...
Forum: Coders. General 25 April 2018, 01:34
Replies: 24
Views: 1,069
Posted By phx
The ReadJoypad.s from jst_6.0.zip on JOTD's home...

The ReadJoypad.s from jst_6.0.zip on JOTD's home page seems different, as line 70 and 71 don't reference _custom and _ciaa. So I don't know what you assembled.

BTW, did you notice that the...
Forum: Coders. Asm / Hardware 24 April 2018, 15:41
Replies: 8
Views: 358
Posted By phx
There are PC-relative binary players in the...

There are PC-relative binary players in the distribution archive, which you have to INCBIN in your source. There are also examples.

I didn't know AHX before, and it looks like a nice, C64-style,...
Forum: Coders. General 12 April 2018, 11:34
Replies: 13
Views: 824
Posted By phx
I'm not sure what you mean. The cross development...

I'm not sure what you mean. The cross development environment is usually a good shell (so Windows is no option for me) and a Makefile.

I wrote all the conversion tools myself (some are included in...
Forum: Nostalgia & memories 12 April 2018, 10:59
Replies: 130
Views: 38,288
Posted By phx
Part III and IV even provide an option to swap...

Part III and IV even provide an option to swap the meaning of the two buttons.
Forum: Coders. General 12 April 2018, 01:16
Replies: 13
Views: 824
Posted By phx
As it is based on vbcc/vasm I should mention that...

As it is based on vbcc/vasm I should mention that they improved a lot since 2015... ;)

To answer the original question: It's really not difficult to set up a cross assembler like vasm (which is...
Forum: Coders. Asm / Hardware 02 April 2018, 11:24
Replies: 19
Views: 594
Posted By phx
Yes, please tell us if it worked. The internal...

Yes, please tell us if it worked. The internal TDU is from 3.1. I don't know if it changed since 1.x.
Forum: Coders. Asm / Hardware 02 April 2018, 11:06
Replies: 19
Views: 594
Posted By phx
There is a solution for everything, if you dig...

There is a solution for everything, if you dig deep enough.

As you certainly know, the bootblock receives a trackdisk IoStdReq pointer in A1, which was used to load it. You just have to follow the...
Forum: Coders. Asm / Hardware 01 April 2018, 10:28
Replies: 19
Views: 594
Posted By phx
Trackloader? When I initialize my...

Trackloader?

When I initialize my trackloader, then I will check all available drives for disks and read block 0 from them (which also contains my trackloader directory). I can find out the drive...
Forum: Coders. C/C++ 01 April 2018, 10:00
Replies: 11
Views: 802
Posted By phx
Make sure to use the 1.3 NDK with the kick13...

Make sure to use the 1.3 NDK with the kick13 config and the 3.9 or 3.1 NDK with aos68k. Do not use the latest NDK for both!
Forum: Coders. Asm / Hardware 29 March 2018, 20:58
Replies: 8
Views: 652
Posted By phx
I don't know about AGA, but I did the same in an...

I don't know about AGA, but I did the same in an OCS project a few days ago. Did you forget to rearm the sprite 0 channel? Otherwise make sure the new pointer is loaded before the 0,0 control words...
Forum: Coders. Asm / Hardware 27 March 2018, 12:28
Replies: 21
Views: 1,127
Posted By phx
When you read 8 bits at most, wouldn't it be...

When you read 8 bits at most, wouldn't it be faster to change all longword operations into word-operations? You don't have to waste those extra cycles on an 68000, do you?

BTW, reading from a...
Forum: News 25 March 2018, 22:10
Replies: 49
Views: 4,968
Posted By phx
Including amiga.lib into auto.lib wastes disk...

Including amiga.lib into auto.lib wastes disk space with redundant data. And when using the assembler inlines from proto/xyz.h to call library functions you often don't have to link with amiga.lib at...
Forum: News 25 March 2018, 20:49
Replies: 49
Views: 4,968
Posted By phx
Not at all. Don't use the linker libraries from...

Not at all. Don't use the linker libraries from the NDK! vbcc's amiga.lib is a complete replacement.

And is there in any reason to call vlink directly? Usually this is done via the frontend "vc",...
Forum: Coders. C/C++ 24 March 2018, 22:46
Replies: 11
Views: 802
Posted By phx
Then you didn't compile the latest vbcc source....

Then you didn't compile the latest vbcc source. -no-cpp-warn was introduced in January 2017, long before the V0.9f release. You can download the V0.9f-patch1 source here:...
Forum: Coders. Asm / Hardware 21 March 2018, 11:41
Replies: 28
Views: 1,813
Posted By phx
Phew! :) Thanks for having a look!

Phew! :)
Thanks for having a look!
Forum: Amiga scene 18 March 2018, 17:29
Replies: 596
Views: 21,369
Posted By phx
Nothing without the 68k, the custom-chipset or...

Nothing without the 68k, the custom-chipset or the original OS will ever be an Amiga again.

The only reason for using an NG Amiga for me is a faster development machine for cross-compiling, which...
Forum: Coders. Asm / Hardware 13 March 2018, 13:12
Replies: 39
Views: 1,557
Posted By phx
LOL. Sorry, I forgot. :) But when it was a...

LOL. Sorry, I forgot. :)

But when it was a private email, then maybe others feel inspired now.
Forum: Coders. Asm / Hardware 13 March 2018, 12:17
Replies: 39
Views: 1,557
Posted By phx
How did you do that? Did you write your own...

How did you do that? Did you write your own hunk-format relocator?

Otherwise, there is a little known feature of vlink, which I used in all of my games to output relocation tables: you have to use...
Forum: Amiga scene 05 March 2018, 17:16
Replies: 177
Views: 5,790
Posted By phx
A big-endian CPU with one of the nicest...

A big-endian CPU with one of the nicest instruction sets to program.
An operating system which is easy to control and doesn't control you, doesn't collect telemetry data and respects your...
Forum: Coders. Asm / Hardware 04 March 2018, 12:52
Replies: 8
Views: 523
Posted By phx
??? The copper does not understand 68000 code. ...

???
The copper does not understand 68000 code.

When the HRM says it understands Move instructions, then it is refering to the Copper Move instruction, which is an even register in the first word...
Forum: Amiga scene 02 March 2018, 22:25
Replies: 63
Views: 1,779
Posted By phx
During the high-time of the Amiga, until the late...

During the high-time of the Amiga, until the late 90s, I had never seen a joystick with more than one button (no, I never owned a CD32) and all games played well on my Competition Pro.

In my...
Forum: Coders. General 27 February 2018, 00:42
Replies: 124
Views: 12,252
Posted By phx
Hey, I'm in the credits! Thanks. :) Keep on...

Hey, I'm in the credits! Thanks. :)

Keep on the good work! The game has progressed so far now that I am convinced you will finish it.
Forum: Coders. Asm / Hardware 26 February 2018, 16:57
Replies: 17
Views: 644
Posted By phx
The expression evaluation routine doesn't know...

The expression evaluation routine doesn't know anything about the instruction and it always works with the CPU's native target-address-type, which is 32 bits for M68k (would be 16 bits for 6502, for...
Forum: Coders. Asm / Hardware 19 February 2018, 16:47
Replies: 163
Views: 11,344
Posted By phx
The CIAs only connect to some control and status...

The CIAs only connect to some control and status lines, like step, head-selection, motor on/off, drive select, write-protect, etc. Paula reads and writes the actual track data (usually by DMA).
...
Forum: Coders. Asm / Hardware 14 February 2018, 19:00
Replies: 163
Views: 11,344
Posted By phx
0x4489 is used for synchronisation, so it would...

0x4489 is used for synchronisation, so it would not be useful when it has the same encoding as 0xA1. The synchronisation word should not appear in a normal data stream.
Showing results 1 to 40 of 1096

 
Forum Jump

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


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