Search found 67 matches

by alfkil
Sun Nov 13, 2022 2:12 pm
Forum: General Developer Support
Topic: IPrefsObjects
Replies: 1
Views: 23049

Re: IPrefsObjects

It was apparently due to a faulty USB mass storage device. Problem solved.
by alfkil
Thu Nov 10, 2022 12:54 pm
Forum: General Developer Support
Topic: PIPE: issue
Replies: 7
Views: 29621

Re: PIPE: issue

@salass00

That is good to know. Thanks! I will modify the code accordingly.

For now, I have solved the original problem of the thread. It happened, because there was a hidden call to newlib from inside the debug hook. Or at least removing the newlib call changed the behavior to not crashing.
by alfkil
Thu Nov 10, 2022 12:23 pm
Forum: General Developer Support
Topic: IPrefsObjects
Replies: 1
Views: 23049

IPrefsObjects

I have created this class :

#include <proto/application.h>
#include <string>
#include <iostream>

using namespace std;
class Config {
private:
struct Library *ApplicationBase = NULL;
struct ApplicationIFace *IApplication = NULL;
struct PrefsObjectsIFace *IPrefsObjects = NULL;
private ...
by alfkil
Thu Nov 10, 2022 12:20 pm
Forum: General Developer Support
Topic: PIPE: issue
Replies: 7
Views: 29621

Re: PIPE: issue

@colinw

Ok, so the strdup() is redundant. Good to know!

@salass00

If I understand this correctly, then DupFileHandle() at the NP_Input tag is the way to go? Or I am not able to specficy NP_Arguments and NP_Input simultaneously? This is a little confusing. I can remove either one of them, but it ...
by alfkil
Thu Nov 03, 2022 6:16 pm
Forum: General Developer Support
Topic: PIPE: issue
Replies: 7
Views: 29621

Re: PIPE: issue

@billyfish

Thanks! It is definitely a good thing to safeguard these variables. I have inserted a strdup. Sadly it didn't solve the problem. :(
by alfkil
Wed Nov 02, 2022 4:22 pm
Forum: General Developer Support
Topic: PIPE: issue
Replies: 7
Views: 29621

PIPE: issue

When working with Spotless (the debugger), I am running into a problem with the PIPE: device.

The problem arises, when I load Spotless into Spotless (self-debugging). Upon Start (IExec->RestartTask()) the child will crash on this line :

fd[1] = IDOS->Open ("PIPE:/UNIQUE/NOBLOCK", MODE_NEWFILE ...
by alfkil
Fri Mar 15, 2019 1:52 pm
Forum: Platform: AmigaOne X1000 - Linux Only
Topic: Linux X1000 newbie
Replies: 51
Views: 36387

Re: Linux X1000 newbie

@xeno74

So this one would do it?

https://www.elgiganten.dk/product/pc-tablets/hukommelseskort-og-usb-stick/SDFIT3USB32GB/sandisk-ultra-fit-usb-stick-32-gb-usb-3-0?gclid=CjwKCAjwmq3kBRB_EiwAJkNDpw5_MHTRiSTpzbQKgBfoFOh4rNaXu26PvGa5xz8g_7D2UOktZmZjOxoCfHsQAvD_BwE&gclsrc=aw.ds

Do I need anything else ...
by alfkil
Wed Mar 13, 2019 3:28 pm
Forum: Platform: AmigaOne X1000 - Linux Only
Topic: Linux X1000 newbie
Replies: 51
Views: 36387

Re: Linux X1000 newbie

@xeno74

rootdelay=5 doesn't solve the issue.
by alfkil
Tue Mar 12, 2019 4:54 pm
Forum: Platform: AmigaOne X1000 - Linux Only
Topic: Linux X1000 newbie
Replies: 51
Views: 36387

Re: Linux X1000 newbie

@xeno74

I managed to boot the usb from kernel 4.19, copied the kernel_modules for 5.0, and now the keyboard and mouse work right out of the box.

5.0 seems to boot slightly more consistently than 4.19.

5.0 has problems booting from usb. It doesn't recognize root=/dev/sdb2.
by alfkil
Tue Mar 12, 2019 3:36 pm
Forum: Platform: AmigaOne X1000 - Linux Only
Topic: Linux X1000 newbie
Replies: 51
Views: 36387

Re: Linux X1000 newbie

@xeno74

Could it be an issue with the /lib/modules files? I have problems copying the 5.0 specific files to my root partition because I can't boot from usb.