English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 2189
Search took 0.18 seconds.
Search: Posts Made By: Leffmann
Forum: Coders. C/C++ Yesterday, 21:49
Replies: 6
Views: 121
Posted By Leffmann
The enum and typedef is fine, but the rest of the...

The enum and typedef is fine, but the rest of the program is completely broken; undefined types, usage of undeclared variables, function-calls that don't match the prototype etc.
Forum: Coders. General 14 October 2018, 16:57
Replies: 13
Views: 526
Posted By Leffmann
It's the same with VC, NEAR, ERROR, and ABSOLUTE...

It's the same with VC, NEAR, ERROR, and ABSOLUTE are already defined. But that stuff can just live in its own file somewhere, IMO that's the best solution when you have a few small system dependent...
Forum: support.Other 14 October 2018, 11:16
Replies: 7
Views: 144
Posted By Leffmann
This happens in Firefox if you've enabled its...

This happens in Firefox if you've enabled its built-in tracking protection.
Forum: Coders. General 14 October 2018, 11:11
Replies: 13
Views: 526
Posted By Leffmann
#define WIN32_LEAN_AND_MEAN #include...

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

char* get_workdir(void) {
static char dir[MAX_PATH];
GetCurrentDirectoryA(MAX_PATH, dir);
return dir;
}
Works like it should in XP and...
Forum: Coders. General 13 October 2018, 13:19
Replies: 13
Views: 526
Posted By Leffmann
Both getcwd and Microsoft's recommended...

Both getcwd and Microsoft's recommended alternative _getcwd are available to VC. Not sure about MingW.

GetCurrentDirectoryA() returns a char* to the absolute path, gives the absolute path with...
Forum: Coders. C/C++ 09 October 2018, 09:51
Replies: 11
Views: 411
Posted By Leffmann
What type is actor.image_timer? A line F...

What type is actor.image_timer? A line F exception could mean that there's some FPU code in there. The easiest way to find out is to look at the generated assembly.
Forum: Coders. C/C++ 07 October 2018, 15:49
Replies: 5
Views: 233
Posted By Leffmann
That's an illegal instruction exception. Try...

That's an illegal instruction exception. Try running it on your A1200, it may be that the library has inadvertently been built for 68020.
Forum: Retrogaming General Discussion 06 October 2018, 17:04
Replies: 35
Views: 1,209
Posted By Leffmann
Emerald Mine and the Ultima games.

Emerald Mine and the Ultima games.
Forum: News 02 October 2018, 16:01
Replies: 358
Views: 29,875
Posted By Leffmann
@Olaf Barthel Will the newly updated...

@Olaf Barthel

Will the newly updated SetPatch be made available for free, like older versions have in the past?
Forum: News 01 October 2018, 12:06
Replies: 358
Views: 29,875
Posted By Leffmann
What's the 2M RAM requirement about? Just a...

What's the 2M RAM requirement about? Just a recommendation rather than a requirement?

While not particularly useful, you can actually boot fully into KS+Workbench 3.1 with only 256K RAM.
Forum: Coders. Asm / Hardware 30 September 2018, 15:36
Replies: 16
Views: 435
Posted By Leffmann
There's no benefit in running 64-bit versions of...

There's no benefit in running 64-bit versions of the tools, but you can build them using the VS 64-bit native shell.

The printf format warning is safe to ignore.
Forum: Coders. Asm / Hardware 30 September 2018, 12:28
Replies: 16
Views: 435
Posted By Leffmann
If you want to build vasm quickly, open the VS...

If you want to build vasm quickly, open the VS native shell and run:

cd vasm
md obj_win32
nmake /f makefile.win32 CPU=m68k SYNTAX=madmac
Forum: support.Hardware 26 September 2018, 21:20
Replies: 16
Views: 480
Posted By Leffmann
The A1200 keyboard is like that, it's probably...

The A1200 keyboard is like that, it's probably the cheapest part of everything ever put into these computers. I think it has to do with the connection matrix inside the keyboard, where most of the...
Forum: Coders. Asm / Hardware 25 September 2018, 16:00
Replies: 20
Views: 858
Posted By Leffmann
Named parameters are so convenient to use, it's...

Named parameters are so convenient to use, it's much easier to remember than the order of the parameters. I think it would be a great thing to have in vasm.
Forum: Coders. Asm / Hardware 23 September 2018, 07:31
Replies: 49
Views: 2,264
Posted By Leffmann
If you had shown this on an A500 in 1987, people...

If you had shown this on an A500 in 1987, people might not have believed it. Very good demonstration of pushing the hardware to its limits!
Forum: Coders. Tutorials 22 September 2018, 22:05
Replies: 32
Views: 9,183
Posted By Leffmann
Up to 200 µs needed for some Cherry keyboards...

Up to 200 µs needed for some Cherry keyboards apparently.

Reading vhposr and waiting for 4 line changes should work best, you'll get a delay no less than 192 µs (probably closer to 200 with code...
Forum: Coders. Asm / Hardware 18 September 2018, 23:04
Replies: 9
Views: 555
Posted By Leffmann
Yeah I guess, if Devpac outputs a regular...

Yeah I guess, if Devpac outputs a regular AmigaDOS object file, but I don't see why vasm wouldn't work. The -Fbin switch does exactly what it's supposed to when I test on my machines. Everything...
Forum: Coders. Asm / Hardware 18 September 2018, 22:51
Replies: 6
Views: 440
Posted By Leffmann
What do your 32-bit factors look like, are they...

What do your 32-bit factors look like, are they evenly distributed over the whole 32-bit range? If there's a bias towards smaller values in the 16-bit range, then the overhead of a few comparisons...
Forum: News 18 September 2018, 17:52
Replies: 341
Views: 50,103
Posted By Leffmann
Will the new SetPatch be freely downloadable,...

Will the new SetPatch be freely downloadable, like older versions in the past?
Forum: Retrogaming General Discussion 18 September 2018, 17:46
Replies: 48
Views: 1,524
Posted By Leffmann
Never played either of them much, but I would...

Never played either of them much, but I would pick Lotus because it's actually playable.
Forum: support.Other 18 September 2018, 17:42
Replies: 12
Views: 505
Posted By Leffmann
4Mat is registered here on the EAB, he might know.

4Mat is registered here on the EAB, he might know.
Forum: Coders. Contest 18 September 2018, 17:41
Replies: 16
Views: 1,096
Posted By Leffmann
Found a bug: once I got past 400 or so points, it...

Found a bug: once I got past 400 or so points, it stopped doing collision detection.
Forum: Coders. Asm / Hardware 18 September 2018, 15:32
Replies: 7
Views: 616
Posted By Leffmann
It's a bit of a problem to get a truly random...

It's a bit of a problem to get a truly random seed on the Amiga.

Because task switching is often done pre-emptively at the vertical blanking, reading the vertical counter might give you the same...
Forum: request.Apps 18 September 2018, 15:25
Replies: 4
Views: 318
Posted By Leffmann
I think both Deluxe Paint and Personal Paint can...

I think both Deluxe Paint and Personal Paint can do this. In PP, you rearrange the palette as you want it, then choose Color -> Remap.
Forum: Coders. Asm / Hardware 18 September 2018, 15:21
Replies: 9
Views: 555
Posted By Leffmann
Are you mixing section and org statements, or use...

Are you mixing section and org statements, or use PC-relative addressing across sections? That would give you relative mode errors.

What does the nonsense code look like? If you use vasm's binary...
Forum: Nostalgia & memories 11 September 2018, 10:21
Replies: 26
Views: 1,530
Posted By Leffmann
What we really need is another term,...

What we really need is another term, "sandbox-like", to make the whole question of definition easier.
Forum: Nostalgia & memories 10 September 2018, 13:50
Replies: 26
Views: 1,530
Posted By Leffmann
I'm going to say Emerald Mine series.

I'm going to say Emerald Mine series.
Forum: project.Amiga Game Factory 10 September 2018, 13:47
Replies: 59
Views: 3,861
Posted By Leffmann
Nice one! It's similar to Sqrxz, but has much...

Nice one! It's similar to Sqrxz, but has much better puzzle and game mechanics.
Forum: Amiga scene 10 September 2018, 13:44
Replies: 7
Views: 705
Posted By Leffmann
What's that daughter board with the four chips?...

What's that daughter board with the four chips? The Kickstart ROM?
Forum: Coders. Asm / Hardware 07 September 2018, 11:55
Replies: 18
Views: 591
Posted By Leffmann
BSS space after code and data has been supported...

BSS space after code and data has been supported since 1.2 and will be uninitialized. On 2.0 and later it will be zero-filled.
Forum: Amiga scene 03 September 2018, 21:23
Replies: 119
Views: 19,551
Posted By Leffmann
It's not an object file. I'm guessing it's a...

It's not an object file. I'm guessing it's a 256-bit hash, or the output of some 256-bit block cipher, a (big) step up from ROT13.

I'm assuming it's Cloanto who have bought the domain. Who knows...
Forum: Retrogaming General Discussion 02 September 2018, 22:12
Replies: 3,856
Views: 596,048
Posted By Leffmann
Playing Black Mesa again, a remake of Half-Life 1...

Playing Black Mesa again, a remake of Half-Life 1 with improved sound and graphics.

It was a bit flimsy and unfinished last I played it, and it's still Early Access three years after release on...
Forum: Coders. Asm / Hardware 01 September 2018, 22:29
Replies: 539
Views: 16,160
Posted By Leffmann
https://xkcd.com/386/

https://xkcd.com/386/
Forum: Coders. General 31 August 2018, 18:30
Replies: 12
Views: 493
Posted By Leffmann
I don't think there's any sure answer to this, it...

I don't think there's any sure answer to this, it will vary not just from one algorithm to another, but with the exact implementation of it.

What I do is use a FILO queue to keep track of...
Forum: Amiga scene 27 August 2018, 22:16
Replies: 60
Views: 2,962
Posted By Leffmann
My guess is somewhere between 5000 and 10 000,...

My guess is somewhere between 5000 and 10 000, based on number of active users, and the totals on various communities.

Difficult to say whether it's growing, but some time back the number of...
Forum: Coders. System 26 August 2018, 16:09
Replies: 6
Views: 432
Posted By Leffmann
Try this: BPTR con =...

Try this:

BPTR con = Console("con:0/0/400/100", "a close/wait window", "close/wait");


BPTR Console(char* size, char* title, char* flags) {
char temp[200];
BPTR con;

strcpy(temp,...
Forum: Coders. System 26 August 2018, 12:31
Replies: 6
Views: 432
Posted By Leffmann
Why does it have to be a forward slash? Cosmetic...

Why does it have to be a forward slash? Cosmetic reasons?
Forum: Coders. System 23 August 2018, 19:01
Replies: 6
Views: 432
Posted By Leffmann
AFAIK the only way is to find the window and call...

AFAIK the only way is to find the window and call SetWindowTitles() to change it, and then you can put slashes in the title, and probably all other printable characters.
Forum: Coders. Asm / Hardware 21 August 2018, 16:57
Replies: 539
Views: 16,160
Posted By Leffmann
About the M68000 performance: my own tests showed...

About the M68000 performance: my own tests showed about 0.1 MIPS per MHz on average, with the peak performance being 0.25 MIPS per MHz.

To get the numbers I ran SAS/C in a slightly modified Vamos...
Forum: Coders. Asm / Hardware 20 August 2018, 16:46
Replies: 539
Views: 16,160
Posted By Leffmann
That interview is 9 years old. Basic memory...

That interview is 9 years old. Basic memory allocation means just extending the heap, but convenient memory allocation in malloc-style is also available (even if it's typically not the job of the...
Showing results 1 to 40 of 2189

 
Forum Jump

All times are GMT +2. The time now is 05:26.


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