English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1653
Search took 0.14 seconds.
Search: Posts Made By: phx
Forum: Coders. C/C++ 30 May 2020, 15:26
Replies: 7
Views: 375
Posted By phx
Sorry. Forget what I said! It only matters when...

Sorry. Forget what I said! It only matters when you call vlink directly.
When using the vc frontend it makes sure that -l libraries appear after the object files for the vlink-call. But it's a good...
Forum: Coders. C/C++ 29 May 2020, 18:35
Replies: 7
Views: 375
Posted By phx
Note, that the position of the library on the...

Note, that the position of the library on the command line matters. For example to override/replace functions from it. It is recommended to specify libraries last.
Forum: Coders. General 22 May 2020, 12:33
Replies: 16
Views: 1,225
Posted By phx
It might also be that the crash instruction is...

It might also be that the crash instruction is random, because a bug trashes memory or the stack. At this point I would follow daxb's early advice to test CubicIDE with Enforcer/MuForce. It will...
Forum: Coders. Asm / Hardware 21 May 2020, 13:38
Replies: 11
Views: 462
Posted By phx
Yes, maybe. As long as a path doesn't generate...

Yes, maybe. As long as a path doesn't generate strange errors on one OS.
Forum: Coders. Asm / Hardware 21 May 2020, 13:35
Replies: 11
Views: 462
Posted By phx
Ok, depending on whether vasm is compiled with...

Ok, depending on whether vasm is compiled with -DUNIX, -DAMIGA, -DATARI, -DMSDOS, etc. it defines one of these internal symbols: __UNIXFS __AMIGAFS __MSDOSFS
Otherwise no such symbol is defined. The...
Forum: Coders. Asm / Hardware 21 May 2020, 01:26
Replies: 10
Views: 550
Posted By phx
No. The destination modulo will be smaller of...

No. The destination modulo will be smaller of course. When your new BOB is two bytes wider, then the modulo, which is added to advance the D-pointer to the next bitmap-line, must be two bytes...
Forum: Coders. Asm / Hardware 20 May 2020, 17:27
Replies: 13
Views: 743
Posted By phx
Now there is. I added the new option -nomsg=<n>,...

Now there is. I added the new option -nomsg=<n>, which can suppress specific informational messages. Try tomorrow's source snapshot!
Forum: Coders. Asm / Hardware 20 May 2020, 17:02
Replies: 11
Views: 462
Posted By phx
No, not yet. There is also no code to determine...

No, not yet. There is also no code to determine the host OS in vasm. The only OS-dependant code (for automatic path-conversions) is selected by compiling vasm with an AMIGA, _WIN32, MSDOS or ATARI...
Forum: Coders. Asm / Hardware 19 May 2020, 18:07
Replies: 13
Views: 743
Posted By phx
When assembling in vasm default mode - none. You...

When assembling in vasm default mode - none. You can force an 8-bit branch with it, but usually it is better to leave the size-extension away an let the assembler find the best option. That's what an...
Forum: Coders. Asm / Hardware 19 May 2020, 11:23
Replies: 13
Views: 743
Posted By phx
Hard to believe. That would be a serious bug, but...

Hard to believe. That would be a serious bug, but I cannot reproduce it:

frank@miriel cat bsr1.s
code
bsr.s x
rts
frank@miriel cat bsr2.s
code
ds.b ...
Forum: Coders. Asm / Hardware 19 May 2020, 11:16
Replies: 13
Views: 743
Posted By phx
As far as I understand your own executable...

As far as I understand your own executable crashs, not vlink? Then chances are high that Antiriad is right.

If this is reproducible and the sprite data should be static, then it seems like the...
Forum: Coders. System 18 May 2020, 10:59
Replies: 3
Views: 292
Posted By phx
As bwldrbst already mentioned, the first question...

As bwldrbst already mentioned, the first question is if you just want the text on "the screen" (which could also be a Window on the screenm, or even a bitmap without using the OS) or do you need the...
Forum: Coders. C/C++ 16 May 2020, 22:14
Replies: 21
Views: 904
Posted By phx
Ok. So you need a real executable. But can you...

Ok. So you need a real executable. But can you pass parameters to it or start it multiple times? Otherwise its usefulness would be quite limited. ;)
Forum: Coders. C/C++ 16 May 2020, 12:14
Replies: 21
Views: 904
Posted By phx
Ok... so PLIST doesn't load a binary but the...

Ok... so PLIST doesn't load a binary but the first hunk from an executable file or object file? That's an important difference, because then I assume it will also process the relocations for you. ;)...
Forum: Coders. General 16 May 2020, 11:34
Replies: 5
Views: 555
Posted By phx
Ok. Fair enough. :) At least not before V36....

Ok. Fair enough. :)

At least not before V36. For Kickstart 1.x you could use some simple format string processing with RawDoFmt().

Yes. My best guess would also be that some memory was trashed...
Forum: Coders. Asm / Hardware 12 May 2020, 01:33
Replies: 6
Views: 535
Posted By phx
Any linker should automatically merge sections...

Any linker should automatically merge sections with the same type and name. Otherwise I would regard that as a bug.

Although for AmigaDOS hunks there is an exception: sections without a name or...
Forum: New to Emulation or Amiga scene 10 May 2020, 12:19
Replies: 95
Views: 20,503
Posted By phx
Nice! I wouldn't have expected that you can strip...

Nice! I wouldn't have expected that you can strip down an Amiga kernel that much nowadays. I remember NetBSD 1.x times, where the kernel fit on a single floppy disk and 16MB where even usable for X11.
Forum: Coders. General 09 May 2020, 21:28
Replies: 5
Views: 555
Posted By phx
What does "refuses to read" or "chokes" mean in...

What does "refuses to read" or "chokes" mean in detail? You can open the file and get a valid file handle, but then fread() or Read() is returning zero-bytes read and/or an error code (which)?

...
Forum: Coders. Asm / Hardware 06 May 2020, 11:24
Replies: 8
Views: 648
Posted By phx
Auscoder is right, you can set the default...

Auscoder is right, you can set the default include directory over the menu in Settings -> Assembler -> Control, or Right-Amiga-1. Or use the INCDIR keyword wenn calling genam via the command line.
...
Forum: Amiga scene 04 May 2020, 12:36
Replies: 526
Views: 52,164
Posted By phx
Indeed, that would be useless. We need a source...

Indeed, that would be useless. We need a source level debugger which supports SAS/C's LINE-debug hunks, which was widely used by many native Amiga compilers.

The best existing native debugger,...
Forum: Coders. Asm / Hardware 03 May 2020, 22:54
Replies: 23
Views: 1,286
Posted By phx
Didn't tst execute a read-modify-write cycle on...

Didn't tst execute a read-modify-write cycle on 68000? This could be another reason that Motorola didn't allow tst d(PC) before 68020. It would write to the text segment.

EDIT: Maybe I confused...
Forum: Coders. Asm / Hardware 03 May 2020, 01:29
Replies: 23
Views: 1,286
Posted By phx
The reference manual is using the new syntax:...

The reference manual is using the new syntax: (d,PC), which was introduced together with the 68020. The old 68000 syntax is d(PC), but both mean exactly the same.

Many assemblers support both...
Forum: project.Amiga Game Factory 03 May 2020, 01:14
Replies: 100
Views: 7,073
Posted By phx
Thanks! A pretty interesting development video....

Thanks! A pretty interesting development video. You have found some very good solutions. Also a game without scrolling can be an exciting challenge. ;)
Forum: Coders. C/C++ 28 April 2020, 23:19
Replies: 8
Views: 836
Posted By phx
Yes, this might work. But when I have to touch...

Yes, this might work. But when I have to touch vprof.c anyway I would rather go the safe route and add an option to let the user specify the format.
Forum: Coders. Asm / Hardware 28 April 2020, 23:17
Replies: 6
Views: 929
Posted By phx
This is intended. 32-bit values may also be...

This is intended. 32-bit values may also be specified as IEEE Single Precision floating point. So you can either write its hex-code or use a decimal point and let vasm convert.

It is even allowed...
Forum: Coders. C/C++ 26 April 2020, 23:51
Replies: 8
Views: 836
Posted By phx
Oh. I see the problem! The profiling output was...

Oh. I see the problem! The profiling output was generated by a 32-bit big-endian machine while you are probably running vprof natively on a 64-bit little-endian machine? That doesn't work.

It's my...
Forum: Coders. Tutorials 26 April 2020, 01:16
Replies: 43
Views: 2,937
Posted By phx
It's portable C99 using only standard clib...

It's portable C99 using only standard clib functions, so it will run on any system with a working C compiler.
Forum: Coders. C/C++ 26 April 2020, 01:11
Replies: 8
Views: 836
Posted By phx
It works similar to gcc profiling. When compiled...

It works similar to gcc profiling. When compiled with the -prof option the executable will write a file with profiling data on exit, called mon.out. These profiling data can be analyzed with the...
Forum: Coders. Blitz Basic 25 April 2020, 00:55
Replies: 17
Views: 1,021
Posted By phx
You didn't mention how you create those strings....

You didn't mention how you create those strings. But assuming you are generating the string from a number then Basic has already done similar division and multiplication operations.


No. You can...
Forum: Coders. Asm / Hardware 23 April 2020, 20:22
Replies: 6
Views: 929
Posted By phx
Yes, it is valid, as your expression became a FLT...

Yes, it is valid, as your expression became a FLT type.

Right. That would work for your specific case, but see below.

Exactly! 32, 64 and 96 bit data types are those which are encoded into...
Forum: Coders. Asm / Hardware 23 April 2020, 11:28
Replies: 6
Views: 929
Posted By phx
Should be in the documentation. You can disable...

Should be in the documentation. You can disable any warning by -nowarn=<n>. Optimization messages are only enabled in Devpac compatibility mode, because Devpac does the same. And you can disable...
Forum: Coders. Asm / Hardware 21 April 2020, 14:59
Replies: 11
Views: 834
Posted By phx
Probably the intention was that you define a more...

Probably the intention was that you define a more optimised version of FUNCDEF, using features of your actual assembler, e.g. with rsreset/rs. Although I doubt that this is so important,...
Forum: Coders. Asm / Hardware 21 April 2020, 10:58
Replies: 11
Views: 834
Posted By phx
FUNCDEF is not defined (commented out) in the...

FUNCDEF is not defined (commented out) in the official SDK. So either your SDK was modified or Macro68 comes with modified include files.
Forum: OT - General 18 April 2020, 20:41
Replies: 17
Views: 1,485
Posted By phx
Still playing football, although most friends...

Still playing football, although most friends stopped doing it years ago.
Jogging and inline skating, at least once per week.

During the summer I'm always looking for a good surf at the danish...
Forum: Retrogaming General Discussion 17 April 2020, 13:38
Replies: 142
Views: 9,383
Posted By phx
That's absolutely the best post in this thread! I...

That's absolutely the best post in this thread! I can only say that I completely agree with Steril707, meynaf and roondar.

Strange, that mostly coders share that same vision. It also means that...
Forum: project.Amiga Game Factory 17 April 2020, 13:17
Replies: 100
Views: 7,073
Posted By phx
You're right! It's easy to forget when you have...

You're right! It's easy to forget when you have only 31Khz monitors on your Amigas... ;)
Forum: project.Amiga Game Factory 17 April 2020, 11:08
Replies: 100
Views: 7,073
Posted By phx
Looking good! You are now nearly as far as I have...

Looking good! You are now nearly as far as I have been, 30 years ago. But your approach looks better, as it is based on the original and not on the ST-version, and you have already the better...
Forum: Coders. Asm / Hardware 16 April 2020, 01:06
Replies: 3
Views: 747
Posted By phx
I like it that your project uses a Makefile and...

I like it that your project uses a Makefile and is logically divided into several source texts. I prefer doing the same.

Roondar‘s comment about not preserving any registers in your functions...
Forum: Coders. C/C++ 15 April 2020, 14:25
Replies: 15
Views: 1,010
Posted By phx
Yes. Maybe debug.lib is the only one missing in...

Yes. Maybe debug.lib is the only one missing in the vbcc distribution.

I only talked about linker libraries, as you did in the post before. Of course you need the header files from the official...
Forum: Coders. C/C++ 15 April 2020, 00:22
Replies: 15
Views: 1,010
Posted By phx
Although the linker libs from the NDK might work...

Although the linker libs from the NDK might work there is usually no reason to use them. vbcc comes with all libraries you need.
Showing results 1 to 40 of 1653

 
Forum Jump

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


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