mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-04-17 08:40:57 +00:00
Remove debug IRQ disable/enable from PiSCSI boot ROM
This somehow broke the interrupt handlers for a bunch of things, including the standard HDD installed version of Monkey Island II.
This commit is contained in:
@@ -39,6 +39,9 @@ void adjust_gayle_1200();
|
||||
#define POTGOR 0xDFF016
|
||||
#define SERDAT 0xDFF030
|
||||
|
||||
#define DMACON 0xDFF096
|
||||
#define DMACONR 0xDFF002
|
||||
|
||||
/* RAMSEY ADDRESSES */
|
||||
#define RAMSEY_REG 0xDE0003 /* just a nibble, it should return 0x08 for defaults with 16MB */
|
||||
#define RAMSEY_ID 0xDE0043 /* Either 0x0D or 0x0F (most recent version) */
|
||||
|
||||
Binary file not shown.
@@ -260,7 +260,7 @@ Init: ; After Diag patching, our romtag will point to this
|
||||
;
|
||||
align 2
|
||||
move.l a6,-(a7) ; Push A6 to stack
|
||||
move.w #$00B8,$dff09a ; Disable interrupts during init
|
||||
;move.w #$00B8,$dff09a ; Disable interrupts during init
|
||||
move.l #3,PiSCSIDebugMe
|
||||
move.l a3,PiSCSIAddr4
|
||||
|
||||
@@ -401,7 +401,7 @@ EndPartitions:
|
||||
move.l (a7)+,a6 ; Pop A6 from stack
|
||||
move.l #803,PiSCSIDebugMe
|
||||
|
||||
move.w #$80B8,$dff09a ; Re-enable interrupts
|
||||
;move.w #$80B8,$dff09a ; Re-enable interrupts
|
||||
move.l #804,PiSCSIDebugMe
|
||||
moveq.l #1,d0 ; indicate "success"
|
||||
move.l #805,PiSCSIDebugMe
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user