Skip to content

Commit 382e088

Browse files
committed
UniCorn 2Gb + V4 as default for boradmodel
1 parent b6f5022 commit 382e088

File tree

2 files changed

+26
-14
lines changed

2 files changed

+26
-14
lines changed

arch/m68k-amiga/boot/rom_init.S

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,23 +96,34 @@ arosbootstrap_init:
9696

9797
/* set AttnFlags AFB_ADDR32 */
9898
or.w #0x2000,%a4@(2)
99-
99+
100100
#if VAMPIRECARDSERIES==4
101101
//V4 version
102102
move.l #0x01800000,%a0 // Reserve 8MB for ApolloFloppy
103-
move.l #0x80000000,%a1 // UniCorn 2Gb
103+
move.l #0x40000000,%a1 // SA 1Gb
104104
move.l #0x00100000,%d0
105105
jsr __MemoryTest
106106
#else
107-
move.l #0x08000000,%a0
108-
move.l #0x20000000,%a1
109-
move.l #0x00100000,%d0
110-
jsr __MemoryTest
111107

112-
move.l #0x01000000,%a0
113-
move.l #0x08000000,%a1
114-
move.l #0x00100000,%d0
115-
jsr __MemoryTest
108+
#if VAMPIRECARDSERIES==8
109+
//V4 version
110+
move.l #0x01800000,%a0 // Reserve 8MB for ApolloFloppy
111+
move.l #0x80000000,%a1 // UniCorn 2Gb
112+
move.l #0x00100000,%d0
113+
jsr __MemoryTest
114+
115+
#else
116+
move.l #0x08000000,%a0
117+
move.l #0x20000000,%a1
118+
move.l #0x00100000,%d0
119+
jsr __MemoryTest
120+
121+
move.l #0x01000000,%a0
122+
move.l #0x08000000,%a1
123+
move.l #0x00100000,%d0
124+
jsr __MemoryTest
125+
#endif
126+
116127
#endif
117128

118129

arch/m68k-amiga/hidd/sagagfx/sagagfx_init.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ static int SAGAGfx_Init(LIBBASETYPEPTR LIBBASE)
110110
case VREG_BOARD_V4_V500:
111111
case VREG_BOARD_V4_V1200:
112112
case VREG_BOARD_V4_V600:
113-
case VREG_BOARD_V4_UNI:
113+
case VREG_BOARD_V4_UNI:
114+
default:
114115
// SAGA V4 METHODS
115116
xsd->SAGAGfx_GetPixFmt = SAGAHW_V4_GetPixFmt;
116117
xsd->SAGAGfx_GetModeID = SAGAHW_V4_GetModeID;
@@ -126,9 +127,9 @@ static int SAGAGfx_Init(LIBBASETYPEPTR LIBBASE)
126127
xsd->SAGAGfx_SetSpritePosition = SAGAHW_V4_SetSpritePosition;
127128
break;
128129

129-
default:
130-
return(FALSE);
131-
break;
130+
//default:
131+
// return(FALSE);
132+
// break;
132133
}
133134

134135
/* Create a memory pool */

0 commit comments

Comments
 (0)