Author Topic: PIF (Resolved)  (Read 1105 times)

0 Members and 1 Guest are viewing this topic.

Offline RadeonUser

  • PJ64 Dever
  • Full Member
  • *****
  • Posts: 249
  • Karma: +1/-0
  • SuperFly Deving Guy
PIF (Resolved)
« on: August 15, 2011, 04:50:11 pm »
I've been trying to become more familiar with PIF this past week.
PIF is what handles the controls, mempak, rumble pak, copy protection for banjo tooie and jet force gemini, and the cart's own internal eeprom.

The reason I am looking at this is because it seems some games error without reason.
For example Chameleon Twist does not work with the mempak plugged in.
Thankfully there does exist a permanent cheat to get past this problem but I feel it should be solved in the core of possible.
There are other games that error but don't seem to have problems, for example FIFA64.
Another one is All Star Baseball 99.

Honestly I don't know if a rewrite would fix these games or just cause more problems but it's what I'm currently looking at.
I'm quite limited though as I don't have a real N64 to compare or take values from.
So I've been trying to beg/copy/borrow/steal code from other emulators and reading up on LaC's documentation to try and get an understanding of what PIF is supposed to do.

I should have a build out by this weekend with some changes that, hopefully, do not break anything.
« Last Edit: January 10, 2012, 09:45:47 pm by Gent »

Offline nekokabu

  • PJ64 Dever
  • Jr. Member
  • *****
  • Posts: 94
  • Karma: +1/-0
« Reply #1 on: August 22, 2011, 01:14:24 pm »

X-Scale has reversed PIF

N64 PIF/CIC-NUS-6105 Algorithm Finally Reversed

Offline Gent

  • PJ64 Dever
  • Hero Member
  • *****
  • Posts: 505
  • Karma: +100/-0
  • SuperFly Deving Guy
    • Project64 Website
« Reply #2 on: August 24, 2011, 05:00:47 pm »
yes Radeon has had this incorporated for quite awhile now and is in the latest build and some previous ones :)
System 1 Specs:

OS:Windows 7 Professional 64Bit
CPU:Intel® Core™2 Quad Processor Q8400, 2.66 GHz, 1333 MHz FSB
System RAM:8GB Ddr2 Ram
Video:ATI Radeon HD 7470 PCI-E Graphics Card 1Gb
Sound:Creative Labs SB0460 X-fi Fatality Sound Blaster

System 2 Specs:

OS:Windows 7 Professional 64Bit
CPU:AMD Intel Quad Core i7 860 @ 2.80GHz Lynnfield 45nm Technology
System RAM:16.0GB Dual-Channel DDR3 @ 664MHz (9-9-9-24)
Video Card:512MB NVIDIA GeForce 310 Graphics
Sound Card:Realtek High Definition Audio

System 3 Specs:

OS:Windows 7 Professional 64Bit
CPU:AMD Essentials E1-2100 Accelerated Processor clock speed : 1.0 GHz
System RAM:Crucial 16GB  DDR3 RAM (1,333 MHz)
Video Card:AMD E1-2100 APU with AMD Radeon™ HD 8210 Graphics
Sound Card:Realtek ALC269Q-VB5-GR