![]() |
![]() |
#1 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
Workbench crash
Context : Amiga KS1.3 512/512
Hello, My Workbench used to work fine, but I have an error and I can't understand it. Any help ? ![]() ![]() Last edited by LeCaravage; 18 February 2023 at 19:08. |
![]() |
![]() |
#2 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,068
|
Did you try to type "why" and press return on the command prompt after the failure ?
|
![]() |
![]() |
#3 |
Norbert
Join Date: Jan 2022
Location: Poland
Posts: 137
|
Show us the startup-sequence
|
![]() |
![]() |
#4 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
Startup-Sequence :
c:SetPatch >NIL: ;patch system functions Addbuffers df0: 10 cd c: echo "A500/A2000 Workbench disk. Release 1.3.2 version 34.28*N" Sys:System/FastMemFirst ; move C00000 memory to last in list BindDrivers Assign Blitz2: Sys:Blitz Assign Blizlibs: sys:Blitz/Blitzlibs SetClock load ;load system time from real time clock (A1000 owners should ;replace the SetClock load with Date FF >NIL: -0 ;speed up Text resident CLI L:Shell-Seg SYSTEM pure add; activate Shell resident c:Execute pure mount newcon: ; failat 11 run execute s:StartupII ;This lets resident be used for rest of script wait >NIL: 5 mins ;wait for StartupII to complete (will signal when done) ; SYS:System/SetMap usa1 ;Activate the ()/* on keypad path ram: c: sys:utilities sys:system s: sys ![]() if exists s:user-startup execute s:user-startup endif LoadWB delay ;wait for inhibit to end before continuing endcli >NIL: StartupII : resident c:Resident pure resident c:List pure ;pre-load LIST and CD resident c:CD pure resident c:Mount pure ;the next 3 are loaded for speed during startup resident c:Assign pure resident c:Makedir pure ;make IF, ENDIF, ELSE, SKIP, ENDSKIP, and ECHO resident if ;you use scripts much, and can afford the ram. ;also make Failat, WAIT, and ENDCLI resident if you use IconX a lot makedir ram:t assign T: ram:t ;set up T: directory for scripts makedir ram:env ; set up ENV: directory assign ENV: ram:env makedir ram:clipboards ;set up CLIPS: assign assign CLIPS: ram:clipboards mount speak: ;just mounting doesn't take much ram at all mount aux: mount pipe: resident Mount remove ;if you have enough ram, keep these resident resident Assign remove ;by removing these lines resident Makedir remove ; break 1 C ;signal to other process its ok to finish user-startup : ;BEGIN DOpus ASSIGN DOpus: "WB13:Utils/Disk" ;END DOpus ; Following lines added by Personal Paint Assign >NIL: PPAINT: EXISTS If WARN Assign PPAINT: WB13:Utils/PPaint EndIf ; End of lines added by Personal Paint |
![]() |
![]() |
#5 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,020
|
Isn't error code 20 when the file is no longer executable?
I.e. its been corrupted likely, copy "addbuffers" from another source to restore it. |
![]() |
![]() |
#6 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
|
![]() |
![]() |
#7 |
Registered User
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
|
I see no error. Comment out addbuffers and see where that takes you.
echo "A500/A2000 Workbench disk. Release 1.3.2 version 34.28*N" And what's that *N at the end? |
![]() |
![]() |
#8 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,068
|
|
![]() |
![]() |
#9 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,068
|
Did the "why" command gave you any information ?
|
![]() |
![]() |
#10 |
Registered User
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
|
|
![]() |
![]() |
#11 | |
Registered User
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
|
Quote:
The standard AmigaDOS error codes are: OK (Code 0 ): Program has been executed successfully. WARN (Code 5 ): just a WARNING, for example with invalid parameters. ABORT (Code 8 ): CTRL-C - Aborted by user. ERROR (Code 10): non-critical error. FAIL (Code 20): CRITICAL error, for example not enough memory. |
|
![]() |
![]() |
#12 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
|
![]() |
![]() |
#13 |
Registered User
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
|
|
![]() |
![]() |
#14 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
|
![]() |
![]() |
#15 |
Registered User
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
|
Well, this one got me, I have no idea unfortunately.
Can you type "cd C:" at the prompt, does it take you to C: or does that fail too? |
![]() |
![]() |
#16 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
|
![]() |
![]() |
#17 |
Registered User
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
|
Very... maybe setpatch got updated and broke something?
Try commenting that out. |
![]() |
![]() |
#18 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
|
![]() |
![]() |
#19 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
Anyway @all thanks for your help. Learn a lot about WB and Dos.
Will resign myself to reinstall WB. |
![]() |
![]() |
#20 |
Registered User
Join Date: Jul 2019
Location: Poland
Posts: 308
|
When you type wrong number for Addbuffers it says for example:
addbuffers df0: foo Invalid char 'f' in number Your original error message is a corrupted version of such message, like output got altered by some escape characters or something. Is your installation a Windows directory? Maybe SS got converted to some other codepage (spaces not being ASCII spaces) or something... Did you edit it in some Windows text editor? Coding is supposed to be Unix (LF) ANSI Last edited by rutra80; 18 February 2023 at 22:14. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Workbench software failure crash when clicking on disks | JumpingJackson | support.OtherUAE | 2 | 02 July 2015 00:44 |
well i have update my Workbench to Classic Workbench | mcbone | Amiga scene | 0 | 02 May 2015 21:22 |
2.5.30 to 2.4.1 crash... | mjnurney | support.FS-UAE | 3 | 10 April 2015 13:04 |
1.0 Crash | Methanoid | support.WinUAE | 0 | 20 June 2005 23:08 |
crash?? | Unregistered | support.WinUAE | 2 | 31 May 2001 14:32 |
|
|