English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1697
Search took 0.15 seconds.
Search: Posts Made By: phx
Forum: Coders. C/C++ Yesterday, 20:25
Replies: 7
Views: 295
Posted By phx
You should better not write -lvc there. There is...

You should better not write -lvc there. There is also no need for it.


As long as you don't give the -nostdlib option the frontend will always link with vc.lib automatically, after all other...
Forum: News Yesterday, 11:34
Replies: 55
Views: 2,646
Posted By phx
Just discovered that now. Well done! Looks highly...

Just discovered that now. Well done! Looks highly professional and absolutely in the style of the late Amiga era. Graphics are superb! Thanks for releasing such a gem! :great
Forum: Coders. C/C++ Yesterday, 11:26
Replies: 7
Views: 295
Posted By phx
open(), read() and write() are not part of the...

open(), read() and write() are not part of the ISO-C standard, so you cannot expect them to be in a C library, and really portable C code would not use them.

These are Unix system calls and...
Forum: Nostalgia & memories 30 July 2020, 17:28
Replies: 15
Views: 813
Posted By phx
This might have been the same magazine where I...

This might have been the same magazine where I learned about the Amiga (Happy Computer or 64er?). But I bought it and read the whole article! ;)

I saw it for real the first time in 1986, when we...
Forum: Coders. Blitz Basic 29 July 2020, 16:34
Replies: 98
Views: 13,957
Posted By phx
Usually you should be able to specify a fixed...

Usually you should be able to specify a fixed channel number when starting an effect. But I'm still confused about your statement that it didn't work for you to play an effect on a fixed channel of 0...
Forum: Coders. Asm / Hardware 28 July 2020, 17:48
Replies: 13
Views: 850
Posted By phx
Sure. It depends on your startup-code to call...

Sure. It depends on your startup-code to call the constructors and handle their return-code. The linker only provides you with the symbol __CTOR_LIST__ (and __DTOR_LIST__) to reference the...
Forum: Coders. Blitz Basic 28 July 2020, 15:44
Replies: 98
Views: 13,957
Posted By phx
Hmmm. I just had a look at the source code again,...

Hmmm. I just had a look at the source code again, and it seems that the mask set by mt_musicmask() is just a "hint" which channels should better not be used for effects. But when the player only sees...
Forum: Coders. Asm / Hardware 27 July 2020, 11:16
Replies: 4
Views: 292
Posted By phx
Fixed. Errors during expression evalulation...

Fixed. Errors during expression evalulation should not show up before the final pass!

Please try tomorrow's daily source snapshot or wait for the next release.
Forum: Coders. Asm / Hardware 27 July 2020, 01:48
Replies: 4
Views: 292
Posted By phx
The symbols franco and ciccio are unknown during...

The symbols franco and ciccio are unknown during the first pass, so they evaluate to zero.
I would call it a bug. Never noticed that before. Thanks for reporting! Division by zero errors shouldn't...
Forum: project.Amiga Game Factory 27 July 2020, 00:02
Replies: 36
Views: 6,083
Posted By phx
Yes! It's not dead! :great

Yes! It's not dead! :great
Forum: Coders. Blitz Basic 26 July 2020, 02:03
Replies: 98
Views: 13,957
Posted By phx
Bit 0 is channel 0, so it should have been %0111.

Bit 0 is channel 0, so it should have been %0111.
Forum: Coders. Asm / Hardware 25 July 2020, 22:25
Replies: 13
Views: 850
Posted By phx
Ok. So the include directive would be comparable...

Ok. So the include directive would be comparable to an xref.


Don't be so sure about it. ;)
Linkers support automatic constructor/destructor handling. For example vlink recognises vbcc-style...
Forum: Coders. Asm / Hardware 25 July 2020, 16:01
Replies: 13
Views: 850
Posted By phx
Because you have to construct something with...

Because you have to construct something with includes, conditional assembly and macros in your source texts which the linker can do automatically. It would also improve readability.


True, but I...
Forum: Coders. Asm / Hardware 25 July 2020, 12:25
Replies: 13
Views: 850
Posted By phx
The only advantage in such an approach is that...

The only advantage in such an approach is that the assembler sees all code at once and might do some optimizations which the linker cannot do. But it's also a bit complicated and messy.

When you...
Forum: Coders. Releases 25 July 2020, 12:03
Replies: 101
Views: 31,293
Posted By phx
In fact I already thought about doing an...

In fact I already thought about doing an OS-friendly version of the player. This would also involve allocating the audio channels from audio.device, for example. But I never needed that myself and...
Forum: Coders. System 25 July 2020, 01:32
Replies: 1
Views: 292
Posted By phx
Which include files? What are you missing? ...

Which include files? What are you missing?


First of all I wouldn‘t copy any 3rd party headers into vbcc's standard include directory. Better use the -I option or use "assign vincludeos3: add" if...
Forum: Coders. Releases 23 July 2020, 16:53
Replies: 101
Views: 31,293
Posted By phx
I wrote this player for games and demos which...

I wrote this player for games and demos which take over the hardware and do not use the OS.

The CIA-B timers used by ptplayer are not used by AmigaOS. And mt_remove_cia() restores everything,...
Forum: Coders. Asm / Hardware 15 July 2020, 11:05
Replies: 5
Views: 529
Posted By phx
Meynaf makes an important point. d0 is the index...

Meynaf makes an important point. d0 is the index register! So when you write 0(d0) it is really (0,za0,d0.w). The address register is assumed as a0 and suppressed. The size of the index register...
Forum: OT - Technical 11 July 2020, 14:06
Replies: 8
Views: 617
Posted By phx
We might look into it. Are the GEOS C-headers...

We might look into it. Are the GEOS C-headers publically available, or covered by a problematic license?
I just saw that there is GEOS support for cc65 via a linker library called GEOSLib. We would...
Forum: Retrogaming General Discussion 11 July 2020, 10:19
Replies: 21
Views: 979
Posted By phx
Dozens of Competiton Pro with one button. Why do...

Dozens of Competiton Pro with one button. Why do you need more? It's an Amiga, where games can be played intuitively without learning button-assignments. ;)
Forum: OT - Technical 10 July 2020, 20:31
Replies: 8
Views: 617
Posted By phx
It's never too late for a fan of retro-computing....

It's never too late for a fan of retro-computing. ;)

Yes. I saw the later model in school. We had a couple of PET 8032 around 1983/84.

:great
Forum: OT - Technical 10 July 2020, 15:44
Replies: 8
Views: 617
Posted By phx
Probably. If you have some knowledge about the...

Probably. If you have some knowledge about the Oric operating system (e.g. locations of ROM-routines for character-in and character-out, etc.) and are willing to test, please contact Volker.
Forum: Retrogaming General Discussion 10 July 2020, 15:29
Replies: 23
Views: 842
Posted By phx
Be proud! Same here (although I used various...

Be proud! Same here (although I used various Amiga models).

Not sure what this thread should achieve. Do you want to develop a PC retro-game and want to know how many buttons to support?
Forum: OT - Technical 10 July 2020, 11:45
Replies: 8
Views: 617
Posted By phx
vbcc for 6502 and 6809

This is completely Amiga-unrelated, so I post it here. But I know many people who are reading here used an 8-bit machine with 6502 or 6809 in the past. Maybe this is interesting:

The 6502 backend...
Forum: Coders. General 07 July 2020, 16:30
Replies: 20
Views: 904
Posted By phx
Yes. I don't know any assembler which would do...

Yes. I don't know any assembler which would do so.

Which is exactly the reason I won't implement that (although Antiriad seems to suggest it). :)
The main source directory should be the only one...
Forum: Coders. General 07 July 2020, 13:28
Replies: 20
Views: 904
Posted By phx
Exactly. The current work directory, or source...

Exactly. The current work directory, or source directory, has priority over all other include paths. That's what you would expect and that's how all assemblers work (also PhxAss and vasm).

The...
Forum: Coders. General 05 July 2020, 21:21
Replies: 20
Views: 904
Posted By phx
True. But you can find these reasons for both...

True. But you can find these reasons for both variants.

Depends on the completeness of your substitute, I guess. I'm not sure what you want to say.

Unfortunately there is still no option to...
Forum: Coders. General 05 July 2020, 00:45
Replies: 20
Views: 904
Posted By phx
The base directory may contain some general...

The base directory may contain some general files, and the sub-directories the specialised ones, which still include files from the base.

As you said yourself you will always find situations where...
Forum: Coders. General 04 July 2020, 20:00
Replies: 20
Views: 904
Posted By phx
Yes. Most likely. Correct. The assembler...

Yes. Most likely.

Correct. The assembler should not change your CWD.

As I mentioned in the last reply PhxAss unfortunately only looks in the CWD when you specified a relative path. So you would...
Forum: Coders. General 04 July 2020, 18:46
Replies: 20
Views: 904
Posted By phx
An absolute path is unambigious and references...

An absolute path is unambigious and references one specific file. This will always work.

Usually you don't want absolute paths in your source, because you might want to assemble it on a different...
Forum: Coders. General 04 July 2020, 16:30
Replies: 20
Views: 904
Posted By phx
Yes, order may be important. That was also the...

Yes, order may be important. That was also the bug in the last release. Then I fixed it by reading from the "compile-directory" only, which means "cwd/pathto" in this case. But today I noticed that I...
Forum: Coders. General 04 July 2020, 16:00
Replies: 20
Views: 904
Posted By phx
Include file path priorities for assemblers

Let's assume your shell is in the current work directory, called "cwd". When I assemble a source text in "cwd/pathto/source.asm", from where would you expect that an include-file referenced by
...
Forum: Amiga scene 03 July 2020, 14:10
Replies: 1,220
Views: 89,145
Posted By phx
Right. Same here. I remember I played Doom (2, I...

Right. Same here. I remember I played Doom (2, I think) once or twice on my father's 486, and it was impressive. But it was not a game I absolutely wanted to play. Even more impression on me did the...
Forum: Coders. C/C++ 23 June 2020, 22:07
Replies: 14
Views: 758
Posted By phx
Seems like $VBCC is correct, otherwise the...

Seems like $VBCC is correct, otherwise the compiler wouldn't find proto/socket.h. But I would check if there are any system headers installed at $NDK_INC. As not even exec/types.h is found, probably...
Forum: Coders. C/C++ 23 June 2020, 14:06
Replies: 14
Views: 758
Posted By phx
Strange. Then where does stuff like sockaddr_in...

Strange. Then where does stuff like sockaddr_in or AF_INET come from? :)

I guess that proto/socket.h includes clib/socket_protos.h, which is usually from your installed TCP/IP stack. This will...
Forum: Coders. C/C++ 23 June 2020, 11:06
Replies: 14
Views: 758
Posted By phx
I have no experience with Roadshow yet, but when...

I have no experience with Roadshow yet, but when I compiled with AmiTCP in the past there was always a big problem that it contains standard headers like stdio.h, which would replace vbcc's stdio.h....
Forum: Coders. Releases 16 June 2020, 22:50
Replies: 42
Views: 15,574
Posted By phx
Leffmann has recent MSVC++ vbcc 0.9g project...

Leffmann has recent MSVC++ vbcc 0.9g project files here: https://github.com/Leffmann/vbcc-windows
But there are no compiled binaries for download. I can't help you with it, but somebody certainly...
Forum: Coders. General 07 June 2020, 21:26
Replies: 3
Views: 644
Posted By phx
There is more. Either link with -lamiga,...

There is more.


Either link with -lamiga, as Hedeon pointed out, or include <proto/exec.h> for faster inline system calls. But it doesn't hurt to link with amiga.lib in any case.

Either link...
Forum: Coders. Asm / Hardware 07 June 2020, 21:01
Replies: 6
Views: 712
Posted By phx
Hmm. You saw what I did in Trap Runner, because I...

Hmm. You saw what I did in Trap Runner, because I like to have an overview which symbols I imported from which modules. This is also the reason I implemented that warning - to make it easy to find...
Forum: Nostalgia & memories 06 June 2020, 20:28
Replies: 176
Views: 18,116
Posted By phx
It was unavoidable. Being on the typical...

It was unavoidable. Being on the typical Commodore upgrade path (VIC-20 in 1983 and C-64 in 1984) I was fascinated by the first reports about the Amiga 1000 in magazines. Then I saw it for the first...
Showing results 1 to 40 of 1697

 
Forum Jump

All times are GMT +2. The time now is 18:31.


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