Search found 43 matches

by gonegahgah
Wed Jan 16, 2019 2:00 am
Forum: Platform: Classic
Topic: Installs 98% OS4.1FE on Cloanto A4000PC Emulator
Replies: 3
Views: 1536

Installs 98% OS4.1FE on Cloanto A4000PC Emulator

I'm having trouble completing my install. I guess I should start with the file checksum... 6cbcad9f27e77f156e255702cc540000 for ClassicInstallCD-53.71.iso.lha I downloaded it today. Is that what it should be? That lha file decompresses to 564850688 bytes for ClassicInstallCD-53.71.iso I also had a c...
by gonegahgah
Tue Sep 10, 2013 3:40 am
Forum: SDK Support
Topic: DoGadgetMethod() not talking to my object
Replies: 11
Views: 11587

Re: DoGadgetMethod() not talking to my object

Thanks Solie, I didn't think to look back to the wiki.
I can confirm that DoGadgetMethod() doesn't seem to talk to my zone.window objects at the moment - just seems to ignore them completely - unless I adapt the class onto gadgetclass.
Then it works correctly.
by gonegahgah
Mon Sep 09, 2013 11:50 am
Forum: SDK Support
Topic: DoGadgetMethod() not talking to my object
Replies: 11
Views: 11587

Re: DoGadgetMethod() not talking to my object

Hi Simon, The main purpose of DoGadgetMethod() is to create a GInfo structure and place that into the Msg isn't it? I'm guessing that perhaps other code could have also been put in to DoGadgetMethod() to handle standard functions on legacy gadgets maybe? That would certainly hamper making it more ge...
by gonegahgah
Mon Sep 09, 2013 11:23 am
Forum: SDK Support
Topic: DoGadgetMethod() not talking to my object
Replies: 11
Views: 11587

Re: DoGadgetMethod() not talking to my object

Hi thomas, I'm implementing a zone.class and move.class and derivatives and thought I may as well conform with the system convention of utilising GInfo for objects that are interacted with. I could go all the way and base all the zone.class classes upon gadget class but the gadget structure isn't ne...
by gonegahgah
Mon Sep 09, 2013 12:00 am
Forum: SDK Support
Topic: DoGadgetMethod() not talking to my object
Replies: 11
Views: 11587

Re: DoGadgetMethod() not talking to my object

I've done that now and it works... So I think you are absolutely correct. Hmm, but I don't want to have a gadgetclass wedged into my class that does nothing except make DoGadgetMethod() work! Is there a reason why there has to be a gadgetclass present? If there isn't; may I submit this as a bug? Alt...
by gonegahgah
Sun Sep 08, 2013 11:33 pm
Forum: General Developer Support
Topic: 16bit values in IDoMethod()
Replies: 8
Views: 3780

Re: 16bit values in IDoMethod()

Cool. I'll probably avoid using that then.
by gonegahgah
Sun Sep 08, 2013 11:31 pm
Forum: SDK Support
Topic: DoGadgetMethod() not talking to my object
Replies: 11
Views: 11587

Re: DoGadgetMethod() not talking to my object

Cool, I know about the negative offset of rootclass aspect. I am curious how it decides it is dealing with a gadget. The only other thing I can see that it might test for is GTYP_CUSTOMGADGET - to make sure it is a BOOPSI gadget instead of a legacy gadget. I'm curious why it would need to exclude no...
by gonegahgah
Sun Sep 08, 2013 9:34 pm
Forum: General Developer Support
Topic: 16bit values in IDoMethod()
Replies: 8
Views: 3780

Re: 16bit values in IDoMethod()

Thanks again salass.

That looks like it would work.

Even though their are no plans in the direction, I thought I read somewhere that we have to be careful with ended-ness when we code.
Does that solution present any problems in that respect or is it perfectly alternate future safe?
by gonegahgah
Sun Sep 08, 2013 9:28 pm
Forum: SDK Support
Topic: DoGadgetMethod() not talking to my object
Replies: 11
Views: 11587

Re: DoGadgetMethod() not talking to my object

Hi salass. I was wondering something along similar lines but how would DoGadgetMethod() know what type of class you are providing it with? The only flag I can see is CLF_INLIST. In the SDK docs it says: "You should use this function for BOOPSI gadgets , or for 'models' which propogate information to...
by gonegahgah
Sun Sep 08, 2013 2:12 pm
Forum: General Developer Support
Topic: 16bit values in IDoMethod()
Replies: 8
Views: 3780

Re: 16bit values in IDoMethod()

You can do it, but they have to occupy a full 32-bit longword for each arg, even if the high 16 bits are all zero. Just wondering... When printf (and its many equivalents) pass arguments on the stack, do they align them all to 32 bit? I know they use %d and %ld to differentiate. Would they need to ...