[futurebasic] Re: [FB] welcome to the pleasure dome - part 5

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2001 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Sat, 13 Oct 2001 10:44:25 -0400
>le 2001/10/13 9:51, Robert Covington à artlythere@... a écrit :
>
>> I think some final polish upload package somewhere guaranteeed to run out
>> of the box would be nice, and this isn't lazy talking. Things as complex as
>> this don't convert well across email I think.
>
>rc, this is untrue. from your mail it appears that you are not using the
>right .INCL file. alain redid this and i have indicated how to indentify it,
>and alain posted a url so that all can download it.
>
>please try with these, i'm sure that you'll be happier.
>
>:-j


What a disagreeable gnome.

You are only partially correct. I apparently was using the older version of
Alain's include. Cleanup in BBEdit is not recommended, a simple search and
replace in the FB Editor on the pasted in text was much easier. Search and
replace for [+] with Option L. Lastly, the = Word in the Enter proc needed
to be set a line above, which was the only compile error after all that.

However, it -still- crashes at any drag initiation here.

Are you sure that the calls used are not specific to higher OS's?

Here is how I can get the crash.

Window 2, edit field 2
type "Test"; Select "Test"

then attempt to drag it

Click is fine, move mouse, Boom.

Snips from the log...

  PowerPC unmapped memory exception at FFDBF5A4 NQDSetRectRgn+00060

  13-Oct-2001 10:33:47 AM (since boot = 20 minutes)
  Current application is "FB^3.Temp.Application"
  Machine = #58 (Performa6400), System $0810, sysu = $01008000
  ROM version $077D, $29F1, $0001 (ROMBase $FFC00000)
  VM is off
  NIL^ = $FFC10000
  Stack space used = +8597692
 Address FFDBF5A4 is in the ROM at NQDSetRectRgn+00060
 It is in the CFM fragment "NQD" at FFDB1700
 It is 0000DEA4 bytes from the start of the fragment
  and 0000B7D4 bytes into a non-writeable code section at FFDB3DD0
 PowerPC 603ev Registers
                         CR0  CR1  CR2  CR3  CR4  CR5  CR6  CR7
  PC  = FFDBF5A4     CR  1000 0010 0000 0000 0000 0010 0000 0100
  LR  = FFD5DAF4         <>=O XEVO
  CTR = FFDBF544
  MSR = 00000000         SOC Compare Count
  Int = 0            XER 001   00     00                     MQ  = 058BF644

  R0  = FFD5DAF4     R8  = 61A461A2      R16 = 00000000      R24 = FFFFC3FC
  SP  = 058BF578     R9  = 00000063      R17 = 00000000      R25 = 00000063
  TOC = 0018C32C     R10 = 00000063      R18 = 005E8730      R26 = FFFFC3FA
  R3  = FFC033AA     R11 = 0018D7DC      R19 = 00000000      R27 = 00000000
  R4  = 0000000A     R12 = 0018BED0      R20 = 00000000      R28 = 00000063
  R5  = 00000063     R13 = 058BF748      R21 = 00000000      R29 = FFFFC3FC
  R6  = FFFFC3FC     R14 = 05731380      R22 = FFC033AA      R30 = FFFFC3FA
  R7  = 00000063     R15 = 00000001      R23 = 00000063      R31 = 00000063
 Disassembling PowerPC code from FFDBF57C
  NQDSetRectRgn
     +00038 FFDBF57C   addi       r24,r6,0x0000                           |
3B060000
     +0003C FFDBF580   addi       r23,r7,0x0000                           |
3AE70000
     +00040 FFDBF584   bne        NQDSetRectRgn+00058        ; 0xFFDBF59C |
40820018
     +00044 FFDBF588   lmw        r22,0x0048(SP)                          |
BAC10048
     +00048 FFDBF58C   li         r8,-0x02C1                              |
3900FD3F
     +0004C FFDBF590   addic      SP,SP,0x0070                            |
30210070
     +00050 FFDBF594   sth        r8,0x0D6E(0)                            |
B1000D6E
     +00054 FFDBF598   blr                                                |
4E800020
     +00058 FFDBF59C   lwz        r8,0x0000(r22)                          |
81160000
     +0005C FFDBF5A0   li         r4,0x000A                               |
3880000A
     +00060 FFDBF5A4  *lha        r9,0x0000(r8)                           |
A9280000
     +00064 FFDBF5A8   subic.     r9,r9,0x000A                            |
3529FFF6
     +00068 FFDBF5AC   beq        NQDSetRectRgn+000A4        ; 0xFFDBF5E8 |
4182003C
     +0006C FFDBF5B0   bl         SetHandleSize              ; 0xFFDB9B9C |
4BFFA5ED
     +00070 FFDBF5B4   lwz        RTOC,0x0014(SP)                         |
80410014
     +00074 FFDBF5B8   lha        r9,MemErr(r0)                           |
A9200220
     +00078 FFDBF5BC   li         r10,0x000A                              |
3940000A
     +0007C FFDBF5C0   cmpwi      r9,0x0000                               |
2C090000
     +00080 FFDBF5C4   lwz        r8,0x0000(r22)                          |
81160000
     +00084 FFDBF5C8   beq        NQDSetRectRgn+0009C        ; 0xFFDBF5E0 |
41820018
  <snip>

   058BF948                68K   0089C72E 'proc BF7F 0002'+021DE
   058BF918    058BF914    68K   0089C670 'proc BF7F 0002'+02120
   058BF8E2    058BF8DE    68K   0089C496 'proc BF7F 0002'+01F46
   058BF8C8                PPC   FFD37AD4 EmToNatEndMoveParams+00014
   058BF890                68K   0089C670 'proc BF7F 0002'+02120
   058BF868                68K   0573112E
   058BF834    058BF830    68K   FFC75E12 _ActivatePalette+01012
   058BF830                68K   058BF83E
   058BF80E                68K   0573117E
   058BF808                PPC   FFD37AD4 EmToNatEndMoveParams+00014
   058BF800    058BF7F8    PPC   058A1DDC DRAG_TRACK_TEXT_PROC+0FFE4
   058BF7F4    058BF7F0    68K   FFC75F2A _ActivatePalette+0112A
   058BF7E8    058BF7E4    68K   FFC75E70 _ActivatePalette+01070
   058BF7C8                68K   0089C670 'proc BF7F 0002'+02120
   058BF760                68K   058BF7BE
   058BF748    058BF740    PPC   001DBA98 vCheckLoadAddrChecker+01BF8
   058BF738                PPC   0053BD90
   058BF730    058BF728    PPC   058A0FE8 DRAGTRACKTEXTPROC..+0FD40
   058BF714    058BF710    68K   007E5466 'WDEF 0040 154E'+00436
   058BF708    058BF700    PPC   FFD581BC SetZone+00028
   058BF6F0    058BF6E8    PPC   FFD5D07C ClipRect+0001C
   058BF6C8                PPC   001C4620 __SetZone+00020
   058BF6B0                68K   FFDE3ED2 NQDClipRect+00026
   058BF6A0    058BF698    PPC   FFDE3C0C NQDSetPort+00030
   058BF670    058BF668    PPC   FFD5DB28 RectRgn+00020
   058BF630    058BF628    PPC   FFDBF6C4 NQDRectRgn+00040
   058BF5F0    058BF5E8    PPC   FFD5DAF0 SetRectRgn+00038
   058BF5CC                68K   0089C670 'proc BF7F 0002'+02120
   058BF5A8    058BF5A0    PPC   FFD5676C FMSwapFont+0001C
 Displaying memory from sp
  058BF578  058B F5E8 0000 0000  0000 0000 0000 0000  *ãžË************
  058BF588  0000 0000 0000 0000  0000 0000 0000 0000  ****************
  058BF598  0000 0000 058B F8A8  058B F5E0 8200 0204  *****㯮*ãžýÇ***
  058BF5A8  FFD5 6770 0000 0000  0000 0000 0004 34D8  'gp**********4ÿ
  058BF5B8  0000 0000 0000 0000  0000 0000 0000 0004  ****************
  058BF5C8  0587 39A0 0089 C672  0000 3FA0 0000 0000  *á9Ý*âr**?Ý****
  058BF5D8  005E 8730 0000 0000  058B F794 0000 0010  *^á0*****ã—î****
  058BF5E8  058B F628 8200 0204  FFD5 DAF4 0019 1EA8  *ã–(Ç***'ŽÙ***®
 Displaying memory from 0
  00000000  FFC1 0000 FFC1 0000  0063 C3F6 0063 C3F8  ¡**¡***cˆ–*cˆ¯
  00000010  0063 C3FA 0063 C3FC  FFC0 33A8 FFC0 33AA  *cˆ™*cˆ¸¿3®¿3
 Closing log