Welcome, Guest. Please login or register.

Author Topic: Looking for good source examples of...  (Read 928 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Looking for good source examples of...
« on: May 24, 2005, 08:03:58 PM »
Hi,

A few things on the developer shopping list tonight, so if y'all will be kind enough to bear with me :-D

1) Safely patching system library functions with SetFunction(). I mean it looks easy enough, but I would happily take any advice on the subject

2) Any working examples of manual WarpOS context switches invoked using exception processing rather than the more usual RunPPC() / Run68K() method. They don't have to be C examples, asm will do :-)

3) A working PPC card that doesn't need reflashing every few weeks :lol:
int p; // A
 

Offline PiR

  • Full Member
  • ***
  • Join Date: Apr 2003
  • Posts: 148
    • Show only replies by PiR
Re: Loking for good source examples of...
« Reply #1 on: May 25, 2005, 07:25:01 PM »
3) Mine starts working, once it getts warm enough... :-)

At least for the time, when it freezes anyway and needs reboot.  :lol:

PiR
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: Loking for good source examples of...
« Reply #2 on: May 26, 2005, 03:27:39 PM »
Off topic slightly...

My card is fine, but every now and again, it just needs reflashing.

It's a curious cycle. Fine for weeks (or months) then it might need reflashing several times on successive days.

Stranger still, occasionally I can't reflash it with the final version I use (the last pre-grexx one) as sector 0 is locked, implying the old contents are still there.

The behaviour is similar to that you get when disabling the card by pressing the '2' key. However, to re-enable the card you need the CTRL-LAMIGA-RAMIGA combination for 10 seconds. My PC keyboard adaptor does not do this, signalling /KBRESET for no longer than 0.5 seconds.

I really need to wire up my front panel's reset button to the test pad on the motherboard that does /KBRESET. Lazy beggar that I am...
int p; // A
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Loking for good source examples of...
« Reply #3 on: May 26, 2005, 03:52:33 PM »
Quote
1) Safely patching system library functions with SetFunction(). I mean it looks easy enough, but I would happily take any advice on the subject

SnoopDOS is well behaving in this regard. You might want to take a look at SnoopDOS CVS:
snoopdos/patches.c
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: Looking for good source examples of...
« Reply #4 on: May 26, 2005, 04:20:22 PM »
Cheers :-D

-edit-

Now that I corrected the subject title, I expect there might be answers to the other parts too :lol:
int p; // A