![]() |
![]() |
#1 |
Registered User
Join Date: May 2023
Location: World
Posts: 5
|
Suppressing/skipping C:Format confirmation
For context, we are the maintainers of the open source AmigaVision project, a script that will take a set of WHDL files and generates the ultimate Amiga game and demo scene setup. It started out as a project for MiSTer FPGA, but we have since added support for original hardware, Analogue Pocket and MiST FPGAs, as well as the beginnings of emulator support. (More in the link if you’re interested, including nerdy details on Pixel Aspect Ratios and Dynamic Crop)
As part of the script, we format a couple of PFS hard disk images, and we have managed to get the process to work without user input in general, but we still need the user to confirm that they want to do this when running C:Format. Does anyone know if there’s a hidden argument we could pass to skip this? (It’s certainly not documented, we looked!) Or maybe someone has disassembled the C:Format command and removed the check? Or are there tools on e.g. Aminet that could fulfill the same function? Any help and pointers appreciated! |
![]() |
![]() |
#2 |
Registered User
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 906
|
An alternative Format utility might have available arguments to pass conformation?
http://aminet.net/search?query=+disk+Format |
![]() |
![]() |
#3 |
Registered User
Join Date: May 2023
Location: World
Posts: 5
|
Yeah, we did look into most of those, but couldn’t find anything that would do what we wanted.
|
![]() |
![]() |
#4 |
Registered User
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 906
|
Format >:NIL Drive DF0: Name "Test" suppresses the requester but still requires a carriage return entered which might be done with some other switch or command...
|
![]() |
![]() |
#5 |
Registered User
Join Date: May 2023
Location: World
Posts: 5
|
Indeed, requiring input is the problem we are trying to work around.
|
![]() |
![]() |
#6 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,365
|
So basically what you want is a solution to skip the user pressing return to confirm the format ?
If so, create a dummy file in ram: that only contains single line feed, and use that to redirect input of the Format command. Here tested with rad:, it could format without confirmation : Code:
echo "" >ram:1 c:format drive rad: name toto quick <ram:1 |
![]() |
![]() |
#7 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,035
|
You don't need a file. <nil: will also suppress the confirmation.
|
![]() |
![]() |
#8 |
Registered User
Join Date: May 2023
Location: World
Posts: 5
|
Thanks! Should have remembered that one, have used it in the past
![]() |
![]() |
![]() |
#9 |
Registered User
Join Date: May 2023
Location: World
Posts: 5
|
For the record, the <ram:1 approach worked, the <NIL: did not — at least in this particular case.
|
![]() |
![]() |
#10 | |
Registered User
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 906
|
Quote:
![]() |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
skipping parts of a static copperlist... | Tigerskunk | Coders. Asm / Hardware | 13 | 27 October 2019 16:11 |
Amiga 500 - Frame skipping? | lesta_smsc | support.Hardware | 12 | 05 February 2019 10:10 |
CD32 video skipping | Djay | support.WinUAE | 4 | 04 October 2010 14:09 |
CD32 Video Skipping | Kitty | support.WinUAE | 18 | 29 December 2009 20:24 |
Systematic skipping of all interesting content? :) | Photon | AMR suggestions and feedback | 7 | 01 September 2009 17:05 |
|
|