I'm experimenting with interrupts using Jackson's ucLinux port and I'm asking me how did you find out that the hardware registers 0xbc300000 and 0xbc300010 are used to mask the interrupts (I'm referring to http://forums.ps2dev.org/viewtopic.php? ... c&start=90, crazyc's post)?
I'm trying to enable just UART1, which, I suppose, is the interrupt triggered by the joypad. I did some tests and got the following:
Code: Select all
Test on 0xbc300000
0x80000000		Ok
0x40000000		Stopped at boot
0x20000000		Ok
0x10000000		Ok
	
0x08000000		Ok
0x04000000		Ok
0x02000000		Ok
0x01000000		Ok
		
0x00800000		Stopped at boot, worked the second boot
0x00400000		Switched psp off, worked the second boot (strange sounds from umd drive)
0x00200000		Ok
0x00100000		Ok
		
0x00080000		Boot ok, but console unresponsive, 2nd try stopped at boot, 3rd try stopped at boot, 4th try 
						(first accessing memory stick) boot ok but console unresponsive
0x00040000		Ok
0x00020000		Ok
0x00010000		Ok
		
0x00008000		Ok
0x00004000		Ok
0x00002000		Ok
0x00001000		Ok
		
0x00000800		Ok
0x00000400		Ok
0x00000200		Ok
0x00000100		Ok
		
0x00000080		Stop after loading mem stick driver, led remains red; same after 2nd try
0x00000040		Ok
0x00000020		Stopped at boot, same at second try
0x00000010		Unknown IRQ: pend=00000400 st0=00000010 st1=00000000 (after fb driver loaded), same in 2nd try
		
0x00000008		Ok
0x00000004		Ok
0x00000002		Ok
0x00000001		Ok
Thx
