• Just looking around
    unholyeyebrows
    Posts: 9 from 2018/5/8
    OK, probably going a bit off-topic here, but the point of failure is when OpenWindowTagList is called from the Intuition Library to open the main window. This is failing and sending my programme down an abort path. The code being executed was generated by GadToolsBox which I used to design the GUI - see the snippet below. Does anyone with knowledge of how Morphos might be handling this call have any clues why it may be failing?

    Code:

    OpenWindowTagList EQU -606

    move.l d0,MainEditWindowH+4
    move.l _IntuitionBase,a6
    suba.l a0,a0
    lea.l MainEditWindowWindowTags,a1
    jsr OpenWindowTagList(a6)
    move.l d0,MainEditWindowWnd
    tst.l d0
    beq MainEditWindowWError ;* We are failing here on MorphOS but we pass on AmigaOS


    XDEF MainEditWindowWindowTags
    MainEditWindowWindowTags:
    DC.L $80000093,1
    MainEditWindowL:
    DC.L $80000064,0
    MainEditWindowT:
    DC.L $80000065,0
    MainEditWindowW:
    DC.L $80000066,0
    MainEditWindowH:
    DC.L $80000067,0
    DC.L $8000006A,$0040037E
    DC.L $8000006B,$0000123F
    DC.L $8000006E,MainEditWindowWTitle
    DC.L $8000006F,MainEditWindowSTitle
    DC.L $80000072,92
    DC.L $80000073,65
    DC.L $80000074,640
    DC.L $80000075,256
    DC.L $00000000

    MainEditWindowWTitle:
    DC.B 'Untitled',0
    CNOP 0,2

    MainEditWindowSTitle:
    DC.B 'TextEngine V5.2',0
    CNOP 0,2
  • »09.05.18 - 12:19
    Profile Visit Website