English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 18 February 2023, 18:50   #1
LeCaravage
Registered User
 
LeCaravage's Avatar
 
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.
LeCaravage is offline  
Old 18 February 2023, 19:13   #2
malko
Ex nihilo nihil
 
malko's Avatar
 
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 ?
malko is offline  
Old 18 February 2023, 19:27   #3
Nor Bert
Norbert
 
Nor Bert's Avatar
 
Join Date: Jan 2022
Location: Poland
Posts: 137
Show us the startup-sequence
Nor Bert is online now  
Old 18 February 2023, 20:35   #4
LeCaravage
Registered User
 
LeCaravage's Avatar
 
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: sysrefs add ;set path for Workbench
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
LeCaravage is offline  
Old 18 February 2023, 20:41   #5
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
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.
Galahad/FLT is offline  
Old 18 February 2023, 20:52   #6
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
Quote:
Originally Posted by Galahad/FLT View Post
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.
Just tried and doesn't work :'(

Btw, any way to reinstall WB without deleting all the user apps ?
LeCaravage is offline  
Old 18 February 2023, 20:55   #7
shelter
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?
shelter is offline  
Old 18 February 2023, 21:02   #8
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 5,068
Quote:
Originally Posted by shelter View Post
[...] echo "A500/A2000 Workbench disk. Release 1.3.2 version 34.28*N" And what's that *N at the end?
"*" is the "escape sequence" introduction character, so "*N" means : move cursor next line
malko is offline  
Old 18 February 2023, 21:06   #9
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 5,068
Did the "why" command gave you any information ?
malko is offline  
Old 18 February 2023, 21:06   #10
shelter
Registered User
 
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
Quote:
Originally Posted by malko View Post
"*" is the "escape sequence" introduction character, so "*N" means : move cursor next line
Oh I see, well it obviously doesn't come that far anyway.
shelter is offline  
Old 18 February 2023, 21:11   #11
shelter
Registered User
 
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
Quote:
Originally Posted by Galahad/FLT View Post
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.
I found this in another thread.
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.
shelter is offline  
Old 18 February 2023, 21:14   #12
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
It's like it doesn't found the commands in path C:

LeCaravage is offline  
Old 18 February 2023, 21:18   #13
shelter
Registered User
 
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
Quote:
Originally Posted by LeCaravage View Post
It's like it doesn't found the commands in path C:

If you type "assign" at the prompt, what do you get?
Or sys:c/assign
Or dir sys:
shelter is offline  
Old 18 February 2023, 21:23   #14
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
Somehow this pb gives me the opportunity to learn cool tips about Workbench system and Amiga Dos.

The C folder is not empty and here what I get when typing "assign" :


LeCaravage is offline  
Old 18 February 2023, 21:31   #15
shelter
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?
shelter is offline  
Old 18 February 2023, 21:37   #16
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
Quote:
Originally Posted by shelter View Post
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?
When I type "cd C:" it works. Very strange indeed.
LeCaravage is offline  
Old 18 February 2023, 21:40   #17
shelter
Registered User
 
Join Date: Nov 2022
Location: #Amigaland
Posts: 156
Very... maybe setpatch got updated and broke something?
Try commenting that out.
shelter is offline  
Old 18 February 2023, 21:48   #18
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
Quote:
Originally Posted by shelter View Post
Very... maybe setpatch got updated and broke something?
Try commenting that out.
Same error with setpatch deactivated.
LeCaravage is offline  
Old 18 February 2023, 21:56   #19
LeCaravage
Registered User
 
LeCaravage's Avatar
 
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.
LeCaravage is offline  
Old 18 February 2023, 22:01   #20
rutra80
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.
rutra80 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:49.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11039 seconds with 13 queries