17 August 2022, 21:19 | #1 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
Suppress System Request Prompts
I know this is going to sound like a crazy question but I'll try and explain where I'm coming from.
As my game is a bit chipram hungry I use add21k to get me a little extra back, which as I understand removes some of the Workbench bitplanes. My game is across three disks and I use LVOLock + LVOCurrentDir to request different disks to be inserted, relying on Workbench to do the background work. However when I tried my game on real hardware, the game crashed at the Insert Disk # prompt (not a full crash but my copper list got corrupted), when I removed add21k from the startup the problem has went away. My theory is, that the system request prompts are not aware that the bitplanes have been removed and taking the screen shot below, and looking in ram I can see that the OS has made a copy of the bitmap data that is under the system request prompt - probably in order to restore it, that bitmap data has stomped all over my game code. So my question is, is it possible to surpress these graphical prompts in workbench somehow? |
17 August 2022, 21:37 | #2 | |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,104
|
Quote:
So maybe something like this (untested): Code:
move.l $4.w,a6 sub.l a1,a1 jsr -294(a6) ; FindTask move.l d0,a0 move.l #-1,184(a0) ;pr_WindowPtr |
|
17 August 2022, 21:53 | #3 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,474
|
http://eab.abime.net/showpost.php?p=...3&postcount=26
Pay attention to Add21k, there are different versions and in many configurations they create problems (video corruption and possible crashes). EDIT: if I remember correctly there is a proper tool, compatible with KS2.0+ and which does not create video corruption. It's called WBDepth and it's in one of the Fish Disks. It has also been used in some commercial games with slightly different names ("WB2", "PAL", "addsomething",..). But the function is always the same: lower the number of bitplanes and free up some memory. Last edited by ross; 17 August 2022 at 22:51. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
System Request startup Message | pneron | support.Other | 6 | 11 November 2020 00:24 |
Filter system request | rutra80 | support.WinUAE | 5 | 16 June 2020 14:32 |
how to suppress dopus5 lister from auto open? | madlax | support.Other | 4 | 08 May 2019 16:13 |
WinUAE Command Line Prompts | Runey | support.WinUAE | 18 | 03 February 2008 10:48 |
Request: System close/restore | Ray Norrish | Coders. General | 2 | 26 May 2006 13:05 |
|
|