Willett Kempton wrote:
Attached is an update to ncurses.pas and associated programs.
Thanks for the ncurses update. I tried the "life" program but it doesn't seem to print instructions on the screen when pressing F1 on start. When I tried to quit "life" by force, a crash occurred (but only once, I can't reproduce it). It's a range check error in Getchq + 0x40.
**********
Host Name: g5.local Date/Time: 2006-02-07 11:49:26 +0100 OS Version: 10.3.9 (Build 7W98) Report Version: 2
Command: life Path: ./life Version: ??? (???) PID: 624 Thread: 0
Exception: EXC_BREAKPOINT (0x0006) Code[0]: 0x00000001 Code[1]: 0x0000f9ec
Thread 0 Crashed: 0 life 0x0000f9ec _p_EndRuntimeError + 0x60 (error.pas:903) 1 life 0x0000faf0 _p__rts_Error_S37_Strerror + 0 (error.pas:931) 2 life 0x0000dfac _p_IORangeCheckError + 0 (error.pas:626) 3 life 0x000035e8 _p__M0_S4_Getchq + 0x40 (crt.c:300) 4 life 0x00004168 _p__M0_S15_Getkey + 0x38 (crt.c:300) 5 life 0x000047d8 _p__M0_S18_Nextcommand + 0x88 (crt.c:300) 6 life 0x000054b0 _p__M0_S28_Getone + 0x74 (crt.c:300) 7 life 0x000056c0 _p__M0_S29_Getpositions + 0x78 (crt.c:300) 8 life 0x00005948 _p__M0_S30_Initgame + 0xec (crt.c:300) 9 life 0x00006708 _p__M0_main_program + 0x28 (crt.c:300) 10 life 0x00006b0c main + 0x50 (crt.c:300) 11 life 0x00001d84 _start + 0x188 (crt.c:267) 12 dyld 0x8fe1a278 _dyld_start + 0x64
PPC Thread State: srr0: 0x0000f9ec srr1: 0x0202d030 vrsave: 0x00000000 cr: 0x24000224 xer: 0x00000000 lr: 0x0000f9c8 ctr: 0x98d958b0 r0: 0x00000001 r1: 0xbfffef10 r2: 0x0003f994 r3: 0xffffffff r4: 0x00000003 r5: 0x00000028 r6: 0x0000002c r7: 0x00000c03 r8: 0x00000000 r9: 0x00000000 r10: 0x00000000 r11: 0xa8d92a78 r12: 0x98d958b0 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000 r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000 r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000 r24: 0x00000000 r25: 0x00000000 r26: 0x0000012c r27: 0xbfffef60 r28: 0x00039580 r29: 0xbfffef70 r30: 0xbfffef60 r31: 0x0000f994
Binary Images Description: 0x1000 - 0x3bfff life ./life 0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld 0x9278f000 - 0x927bafff libncurses.5.dylib /usr/lib/libncurses.5.dylib 0x93a50000 - 0x93a54fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x98d8e000 - 0x98eddfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
Regards,
Adriaan van Os