diff options
-rw-r--r-- | SysStart.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -8,6 +8,7 @@ ** -------------------- ** ** ** ** 24-Feb-91 CHW Created this file from Start.S ** +** 29-Jun-20 CHW Aufgeräumt, öffnet jetzt Screen damit's mit UAE läuft ** ** ** ****************************************************************************/ @@ -43,7 +44,7 @@ extern struct Custom far volatile custom; extern void __asm __far InitExec( register __d0 LONG, register __d1 LONG, - register __d2 LONG, register __d3 LONG, register __d4 LONG, + register __d2 LONG, register __d3 LONG, register __a0 void *,register __a1 void *, register __a2 void *,register __a3 void *); @@ -58,10 +59,10 @@ struct UBYTE *chipbase; /* Startadresse des CHIP-RAMs für Exec */ -LONG chipsize; /* Grösse des CHIP-RAMs für Exec */ +ULONG chipsize; /* Grösse des CHIP-RAMs für Exec */ UBYTE *fastbase; /* Startadresse des FAST-RAMs für Exec */ -LONG fastsize; /* Grösse des FAST-RAMs für Exec */ +ULONG fastsize; /* Grösse des FAST-RAMs für Exec */ struct Screen *screen; /* Wir öffnen einen Customscreen um Picasso- oder UAE-Screenmodes abzuschalten */ @@ -174,7 +175,7 @@ LONG Main(LONG arglen, char *argline) taskpri = *argv.PriPtr; - if (!(screen = OpenScreenTags(NULL, SA_Depth, 1, SA_Quiet, TRUE, SA_Type, CUSTOMSCREEN, TAG_DONE))) + if (!(screen = OpenScreenTags(NULL, SA_Width,320, SA_Height,200, SA_Depth,1, SA_Type,CUSTOMSCREEN, TAG_DONE))) { Puts("Can't open screen!"); ExitRoutine(); @@ -183,11 +184,11 @@ LONG Main(LONG arglen, char *argline) if (chipbase = AllocMem(chipsize, MEMF_CHIP|MEMF_CLEAR)) { - printf("Chip RAM: $%08lx (%ldK)\n", chipbase, chipsize >> 10); + printf("Chip RAM: $%08lx (%luK)\n", chipbase, chipsize >> 10); if (fastbase = AllocMem(fastsize, MEMF_FAST|MEMF_CLEAR)) { - printf("Fast RAM: $%08lx (%ldK)\n", fastbase, fastsize >> 10); + printf("Fast RAM: $%08lx (%luK)\n", fastbase, fastsize >> 10); } else { @@ -215,8 +216,7 @@ LONG Main(LONG arglen, char *argline) InitExec( attnflags, /* D0 */ sysbplcon0, /* D1 */ vblankfreq, /* D2 */ - 0, /* D3 : Product-Code */ - (LONG)module, /* D4 : MainPrg-Name */ + (LONG)module, /* D3 : MainPrg-Name */ chipbase, /* A0 : CHIP-Startadresse */ chipbase+chipsize, /* A1 : CHIP-Grösse */ fastbase, /* A2 : FAST-Startadresse */ @@ -227,7 +227,7 @@ LONG Main(LONG arglen, char *argline) /* not reached */ } - else printf("Can't get %ldK CHIP RAM!\n",chipsize/1024); + else printf("Can't get %luK CHIP RAM!\n",chipsize/1024); return RETURN_WARN; |